Since nobody suggested tag changes, I'll use it as is. Ogr2osm doesn't seem to output correct API0.6 files, so I had to run<br>sed 's/visible="true"/visible="true" version="1"/g' < protarea.osm > protareafixed.osm<br>
to get a file that Osmosis would accept. Then I used Osmosis to break the protected areas file into 8 degree wide slices. They are still a little large (03 is the largest at 26MB), but more manageable than the full national file of 76MB. The slices are done to correspond with the NTS tile system, with a slice covering from the southernmost extent of Canada up to the North Pole, for each major NTS tile number. For example, protarea06.osm has the protected areas in NTS tiles 62, 63, ..., 69. Get the files from<br>
<a href="http://www.mediafire.com/?sharekey=d74d77d04bb845901ba3d19099489ef0ca4c8a9c2e12b667c4068d34252967f47349ab05b07cdd7c970bc265689849e1">http://www.mediafire.com/?sharekey=d74d77d04bb845901ba3d19099489ef0ca4c8a9c2e12b667c4068d34252967f47349ab05b07cdd7c970bc265689849e1</a><br>
<div class="gmail_quote"><br>Adam<br><br>On Tue, Jul 20, 2010 at 2:54 PM, Adam Dunn <span dir="ltr"><<a href="mailto:dunnadam@gmail.com">dunnadam@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Let's say for example that you have the protected areas shp file downloaded from the geogratis website, and let's also say you have ogr2osm installed on your computer. You could potentially download the attached file, and place it in a folder called "translations" inside the same folder that the shapefile is unzipped to. You could then possibly run the following command:<br>
ogr2osm.py -t nrcan_protected protarea.shp<br>You could then, hypothetically, suggest any changes to the tagging.<br><snip><br><font color="#888888"><br>Adam</font></blockquote></div><br>