Skip to content

switch to org.locationtech.jts - #1230

Closed
ChristophKaser wants to merge 1 commit into
graphhopper:masterfrom
ChristophKaser:org_locationtech_jts
Closed

ChristophKaser wants to merge 1 commit into
graphhopper:masterfrom
ChristophKaser:org_locationtech_jts

Conversation

@ChristophKaser

@ChristophKaser ChristophKaser commented Nov 22, 2017 •

Copy link
Copy Markdown
Contributor

Related to #1039

I changed the dependency on com.vividsolutions.jts to org.locationtech.jts, because it does not use the LGPL, which makes it easier to deploy on android devices (it is really hard to use LGPL-libraries correctly in android due to the way all libraries are combined in the APK)

(because com.vividsolutions.jts uses the LGPL instead of  EBDL)
@ChristophKaser

Copy link
Copy Markdown
Contributor Author

Sorry, I forgot I had removed some modules in my build that had test failures with the new library. I will try to fix those failures and open a new pull request.

@ChristophKaser

Copy link
Copy Markdown
Contributor Author

Unfortunately for now, it is not possible to upgrade reader-json, because it has a dependency on bedatadriven/jackson-datatype-jts, which still uses the old com.vividsolutions.jts-library. It think it is necessary to fork jackson-datatype-jts (or directly include the necessary code in reader-json), or wait for the maintainer of jackson-datatype-jts.

@karussell

karussell commented Nov 22, 2017 •

Copy link
Copy Markdown
Member

Cool, this was fast (as jts was released just a few days ago) - thanks a bunch! And really cool that you already pinged the jackson-datatype-jts maintainer here: bedatadriven/jackson-datatype-jts#17 :) !

@karussell

Copy link
Copy Markdown
Member

BTW: If the maintainer does not respond this year or so then we'll fork :). Probably then the best would be to have it in this repo, hmmh.

@karussell

Copy link
Copy Markdown
Member

It looks like we have to fork it ... https://github.com/graphhopper/jackson-datatype-jts ... but when I try to change to the new dependency I get:

Could not resolve dependencies for project com.bedatadriven:jackson-datatype-jts:jar:2.5-SNAPSHOT: Could not find artifact org.locationtech.jts:jts:jar:1.15.0 in central (https://repo.maven.apache.org/maven2)

even with mvn clean install -U and despite maven central should have it!? What am I doing wrong :) ?

@karussell

Copy link
Copy Markdown
Member

@karussell

Copy link
Copy Markdown
Member

Have published a new release under com.graphhopper:jackson-datatype-jts:jar:0.10-2.5 see:

https://github.com/graphhopper/jackson-datatype-jts/releases/tag/0.10-2.5

Will be available on maven in the next hour probably.

@karussell

Copy link
Copy Markdown
Member

Something went wrong. Released it again as com.graphhopper.external:jackson-datatype-jts:jar:0.10-2.5-1

https://github.com/graphhopper/jackson-datatype-jts/releases/tag/0.10-2.5-1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants