Menu

#5 jts 1.15 upgrade

1.o.b3
unread
nobody
None
5
2020-04-06
2018-05-29
jive
No

Good afternoon pyuill:

I am reaching out to you from the GeoTools project where we are trying to coordinate an upgrade to JTS 1.15. The JTS project has joined the eclipse foundation, no longer managed by a private company. As such the package name changes from com.vividsolutions.jts to org.locationtech.jts.

Your project is used by some of our community and we would like to ask if you would be willing to make a new release using the new JTS library?

There are update instructions (mostly a sed command to serach and replace), and the library is now available on maven central.

The other reason we are coordianting an upgrade is to be usable for java "jigsaw" module system, we expect our community to start the transition between Java 18.9 release in September, and the end-of-life of Java 8 early next year.

Please let me know if you have any questions, or if we can be of any assistence.

Discussion

  • Peter Yuill

    Peter Yuill - 2018-05-30

    Will schedule a JTS update within the next two weeks and will also look into a modularised release before September.
    Regards, Peter

     
  • jive

    jive - 2018-05-30

    Thanks Peter, we appricate the support.

    For modularized release ... if it helps:

    1) adding a couple entries to your manifest.mf is all that is needed for the vast majority of projects. The advantage is this approach works allowing you to build with Java 8 and be used on both Java 8 and Java 10 projects. We did this for JTS here: https://github.com/locationtech/jts/pull/274

    2) I have not seen any consistent approach to publishing both java 8 and java 10 onward jars...

    • some use an artifact naming convention: si-units-java8 vs si-units
    • maven central shows some using a java8 classifier :P
     
  • Jim Hughes

    Jim Hughes - 2018-06-21

    Hi Peter, I'm visiting Jody and may be able to help with this ticket. Have you worked on an update already? If not, how can I help?

     
  • jive

    jive - 2018-06-22

    Here is a diff to ugprade to JTS 15.0, also available as a github repo (https://github.com/jodygarnett/hatbox)

     

    Last edit: jive 2018-06-22
  • jive

    jive - 2018-06-28

    We have noticed one issue with JTS 1.15.0 (to do with the new copy method which we recommend instead of clone). I am checking if hatbox uses geometry clone, ... it does not.

    Updating to JTS 1.15.1.

    Peter are you any closer to issuing a release?

     

    Last edit: jive 2018-07-05
  • jive

    jive - 2020-04-06

    I have collected some PRs on github and made another beta release at the request of the geotools community.

    https://github.com/jodygarnett/hatbox/releases/tag/1.0.b11

    I was sure to add a readme, license, etc to the repository pointing back here.

     

Log in to post a comment.