[OSM-dev] editing OSM-files with Java
simon at poole.ch
Tue Jun 7 19:58:08 UTC 2016
There is a longish thread somewhere on the German forum on the topic (no
idea if JAVA was involved) where somebody did exactly that (create and
prune "virtual ways" over areas in a prototype implementation). it would
be 1-2 years back so might need some hunting to find.
Am 07.06.2016 um 15:29 schrieb Jakob Miksch:
> Dear list members,
> I want to edit OSM-files with Java.
> I would like to add virtual ways to highway areas in order to allow a
> routing engine to compute routes through such areas. Example:
> So, basically many new nodes and ways will be added and the boundary
> of the area will receive more nodes.
> For input and output both the ".osm" and ".osm.pbf" format should be
> Moreover the solution should also work for big datasets (country,
> continent or even planet).
> Since just a small share of all features (highway areas make up a
> share of ~1% of all highway features) would be changed, it would
> probably make sense just to edit the OSM-file. Writing the whole
> OSM-data to another file might take more time than necessary.
> I already found the "osm4j" library which sounds quite promising
> Do you think this plan sounds feasible, do you have any suggestions
> for the implementation?
> Best wishes,
> dev mailing list
> dev at openstreetmap.org
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dev