[talk-ph] OSM, planet.pm (perl module installing), planetosm-excerpt-area.pl in Mac OS X

Noli Sicad nsicad at gmail.com
Fri Jul 1 04:32:37 BST 2011


Maning,

> For this process, just use osmosis:
> http://wiki.openstreetmap.org/wiki/Osmosis

OK. This is easier option.

> You can even use a polygon instead of a simple -bbox:
> http://wiki.openstreetmap.org/wiki/Polygon

Now, how I figure out the right polygon for Victoria for this bbox?

 -39.4,140.2,       -33.7,151.5

from planetosm-excerpt-area.pl -bbox -39.4,140.2,-33.7,151.5
australia.osm > VIC.osm


Given this example for Australia
http://wiki.openstreetmap.org/wiki/Polygon#Getting_polygon_files
~~~~~
australia_v
1
     0.1446763E+03    -0.3825659E+02
     0.1446693E+03    -0.3826255E+02
     0.1446627E+03    -0.3825661E+02
     0.1446763E+03    -0.3824465E+02
     0.1446813E+03    -0.3824343E+02
     0.1446824E+03    -0.3824484E+02
     0.1446826E+03    -0.3825356E+02
     0.1446876E+03    -0.3825210E+02
     0.1446919E+03    -0.3824719E+02
     0.1447006E+03    -0.3824723E+02
     0.1447042E+03    -0.3825078E+02
     0.1446758E+03    -0.3826229E+02
     0.1446693E+03    -0.3826255E+02
END
!2
     0.1422483E+03    -0.3839481E+02
     0.1422436E+03    -0.3839315E+02
     0.1422496E+03    -0.3839070E+02
     0.1422543E+03    -0.3839025E+02
     0.1422574E+03    -0.3839155E+02
     0.1422467E+03    -0.3840065E+02
     0.1422433E+03    -0.3840048E+02
     0.1422420E+03    -0.3839857E+02
     0.1422436E+03    -0.3839315E+02
END
END

~~~~~~~~~~~~~~~~~~~~~~~~~

What would be the right polygon for Victoria?

Noli



More information about the talk-ph mailing list