[osmosis-dev] Remove entities in a bounding box leave other intact

Frederik Ramm frederik at remote.org
Mon Jan 16 19:03:34 GMT 2012


Hi,

On 01/16/2012 07:37 PM, Jaume Figueras i Jové wrote:
> I've been looking different Osmosis options but I have no idea on how to
> do this processing.

You can use the --bp task and define a polygon with an exclamation mark 
before the polygon ID to cut something out, see 
http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format

Example:

test
1
      0.0000000E+00     0.00000000E+00
      1.0000000E+01     0.00000000E+00
      1.0000000E+01     1.00000000E+01
      0.0000000E+01     1.00000000E+01
      0.0000000E+00     0.00000000E+00
END
!2   0.2000000E+01     0.20000000E+01
      0.8000000E+01     0.20000000E+01
      0.8000000E+01     0.80000000E+01
      0.2000000E+01     0.80000000E+01
      0.2000000E+01     0.20000000E+01
END
END

Bye
Frederk

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the osmosis-dev mailing list