Re: Ready for JDK 9 ?

2017-08-08 Thread Vincent Privat
Hello Muneer, I have created incident 9050418 for point 2. Best regards, Vincent 2017-08-08 13:03 GMT+02:00 Muneer Kolarkunnu : > Hi Vincent, > > > > Regarding the points in the below email: > > (2) Can you please raise an incident for this? > > (3) I added

Re: Ready for JDK 9 ?

2017-08-08 Thread Vincent Privat
Hello Rory, Just in time ! We announced the JDK9 full compatibility less than 2 days ago: https://josm.openstreetmap.de/ticket/11924 The compatibility effort was significant, but shared with the whole Java ecosystem (as we created bug reports to Ant, Groovy, EqualsVerifier, Geotools,

Re: Order in JOSM files

2017-08-08 Thread Jochen Topf
On Tue, Aug 08, 2017 at 11:32:45AM +0200, Dirk Stöcker wrote: > On Tue, 8 Aug 2017, Jochen Topf wrote: > > > I would urge you to keep the order because that makes many things much > > more efficient. For instance checking whether a file contains an object > > twice is trivial when there is a

Re: Order in JOSM files

2017-08-08 Thread Dirk Stöcker
On Tue, 8 Aug 2017, Jochen Topf wrote: I would urge you to keep the order because that makes many things much more efficient. For instance checking whether a file contains an object twice is trivial when there is a known order but very expensive without. My code for assembling multipolygons

Ready for JDK 9 ?

2017-08-08 Thread Rory O'Donnell
Hi Vincent, Thank you very much for all your testing of JDK 9 during its development! Such contributions have significantly helped shape and improve JDK 9. Now that we have reached the JDK 9 Final Release Candidate phase [1] , I would like to ask if your project can be considered to be

Re: Order in JOSM files

2017-08-08 Thread Vincent Privat
Hello, I rely on the ordering too. This is a prerequisite to provide readable patches to boundaries.osm, see: https://josm.openstreetmap.de/ticket/14833 https://josm.openstreetmap.de/ticket/15036 The other prerequisite is to keep stable ids. I have a working patch in #14833 but not yet submitted

Re: Order in JOSM files

2017-08-08 Thread Jochen Topf
On Tue, Aug 08, 2017 at 10:51:36AM +0200, Simon Poole wrote: > And another data point: the implementation in Vespucci does not sort by > id (not only in theory, the output is really not ordered, which doesn't > cause issues with JOSM). > > Or put differently: if that becomes a requirement, it

Re: Order in JOSM files

2017-08-08 Thread Jochen Topf
On Tue, Aug 08, 2017 at 10:43:22AM +0200, Dirk Stöcker wrote: > On Tue, 8 Aug 2017, Jochen Topf wrote: > > > When JOSM saves OSM files it uses a particular order: First nodes, then > > ways, then relations as usual. For each object type it first writes out > > objects with negative IDs (ie

Re: Order in JOSM files

2017-08-08 Thread Simon Poole
And another data point: the implementation in Vespucci does not sort by id (not only in theory, the output is really not ordered, which doesn't cause issues with JOSM). Or put differently: if that becomes a requirement, it would be a good idea to versionize the format (which naturally wouldn't

Re: Order in JOSM files

2017-08-08 Thread Dirk Stöcker
On Tue, 8 Aug 2017, Jochen Topf wrote: When JOSM saves OSM files it uses a particular order: First nodes, then ways, then relations as usual. For each object type it first writes out objects with negative IDs (ie objects that are not uploaded yet), then objects with positive IDs, both are

Order in JOSM files

2017-08-08 Thread Jochen Topf
Hi! When JOSM saves OSM files it uses a particular order: First nodes, then ways, then relations as usual. For each object type it first writes out objects with negative IDs (ie objects that are not uploaded yet), then objects with positive IDs, both are ordered by absolute value. Is this