[ I file-system-checking forgot to hit 'reply all' yet again.
Apologies for the spam. ]


On Sun, Apr 18, 2010 at 5:12 PM, Thomas Cort <[email protected]> wrote:
> Hi,
>
> I'm developing a program that extracts Canadian points of interest
> from the planet.osm file. Is there a library, documented algorithm,
> example code, etc for a function which determines whether or not a
> point is within Canada?
>
> Thanks!
> -Thomas

You can preprocess the planet.osm using Osmosis to remove everything
outside of Canada. See:

http://wiki.openstreetmap.org/wiki/Osmosis
http://wiki.openstreetmap.org/wiki/Osmosis/Polygon_Filter_File_Format

--
Victor Bielawski

_______________________________________________
Talk-ca mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/talk-ca

Reply via email to