[Talk-ca] NRN - PEI
William Lachance
wrlach at gmail.com
Wed Jun 24 19:04:02 BST 2009
2009/6/24 Robert Shand <bob at shand.org.uk>:
> HI Everyone,
>
> I've been looking at the NRN import for PEI. I've hit a bit of a
> stumbling block. I've imported Canada.osm into PostGIS database all
> good.
>
> I'm not at the stage where I want to run Road Matcher against the NRN
> data and the PEI data.
>
> At first I was using JOSM to download the PEI OSM data by giving it a
> URL like http://www.openstreetmap.org/?lat=46.48&lon=-63.227&zoom=9&layers=B000FTT
>
> That appears to just download the roads that are specified at that
> zoom level. What's the easiest way to get the latest OSM roads for
> just PEI so that I can run roadmatcher.
>
> Can I export the data from the Canada.osm that I have loaded? Anyone
> have any details on how to do this?
I'm not sure why you're not getting a full set of roads from
OpenStreetMap using that query, but regardless I believe the canonical
way of doing this is using the Osmosis tool to extract the specific
region you're interested in from a larger openstreetmap file (such as
canada.osm).
Osmosis is here: http://wiki.openstreetmap.org/index.php/Osmosis
Here's a bounding polygon for PEI:
ftp://maproom.dlt.psu.edu/pr_edwrd_is2pts.txt.
There's explicit instructions on how to use Osmosis on the above page.
--
William Lachance
wrlach at gmail.com
More information about the Talk-ca
mailing list