[OSM-dev] Segment-free OSM database and API

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Mon Jan 8 07:20:39 GMT 2007


On Sunday 07 January 2007 23:30, Martijn van Oosterhout wrote:
> On 1/6/07, Ludwig Max Brinckmann <ludwigbrinckmann at gmail.com> wrote:
> > For those looking for a quick and dirty fix to the problem, I have hacked
> > an XSL file that will convert a OSM.xml file to another OSM.xml file
> > where ways with non-contiguous segments are broken up into a way per
> > segment.
> >
> > It can be used to pre-process an OSM xml file to remove jumbled ways
> > without affecting processing steps that come after as the xml structure
> > does not change and all attributes are retained.
>
> It would be cool if comething like this could be programmed into JOSM.
> I've already gone so far as to write perl script to reorder ways for
> me.

You can then attach this file to josm as an external script. This way you can 
then select parts of your editing area and send it with a mouseclick to the 
script and the result will replace the old content.




More information about the dev mailing list