[OSM-dev] JOSM including new deleted items in the saved OSM file

Joerg Ostertag (OSM Munich/Germany) openstreetmap at ostertag.name
Sun Sep 3 15:40:27 BST 2006


On Sunday 03 September 2006 16:25, Etienne wrote:
> It is by design that items that have not yet been added to OSM use negative
> ids.  It is also by design that anything deleted will have  an
> action="delete" attribute.
>
> The current version of Osmarender does not take account of the
> action="delete" attribute and so continues to render the line even though
> you think you have deleted it.
>
> I encountered this problem recently and had already developed a patch for
> it:
>
>  Change line 169 of Osmarender.xsl to the following:
>
>   <xsl:variable name='allElements'
> select='$data/osm/*[not(@action="delete")]' />

Could you please update the SVN Version too.

Thanks

Joerg




More information about the dev mailing list