<br><br><div class="gmail_quote">On Fri, Jul 2, 2010 at 11:01 AM, Erik G. Burrows <span dir="ltr"><<a href="mailto:erik@erikburrows.com">erik@erikburrows.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<br>
These areas are made publicly available through several US government<br>
agencies, including the US Forest Service, Bureau of Land Management,<br>
National Park Service, etc. The "National Atlas" site makes all of the<br>
Wilderness Areas available for download as a single shapefile:<br>
<br>
<a href="http://www.nationalatlas.gov/mld/wildrnp.html" target="_blank">http://www.nationalatlas.gov/mld/wildrnp.html</a><br>
<br>
(There is also a ton of other great information available for download at<br>
this site.)<br>
<br></blockquote><div>some data is very low resolution and shouldn't be imported if there is a chance to get highres data from other sources</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">

<br><br>
I think there will need to be a substantial amount of manual work done to<br>
ensure no data duplication occurs, and some cleanup of enclosing boundary<br>
areas, so the process I'm planning on using is fairly manual:<br>
<br></blockquote><div>yes, this is a lot of manual work and can't be fully automated.</div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
1. Convert the National Atlas shapefile into KML using ogr2ogr.*<br>
  *The intermediate step through KML format is necessary because gpsbabel<br>
below needs 3-D coordinates on input, but this shapefile is 2-D. The KML<br>
file allows for manual (perl script) addition of a zero-value<br>
z-coordinate.<br>
<br>
2. Convert the KML file into OSM format using gpsbabel.<br>
<br>
3. Use JOSM to add each area to the OSM database manually by copying areas<br>
from the shapefile-derived layer to the downloaded OSM layer for that<br>
region.<br>
<br>
Some metadata is lost in this process, such as the area state, state FIPS<br>
code, managing agency, unique ID and URL to <a href="http://wilderness.net" target="_blank">wilderness.net</a>. In order to<br>
restore this data, I plan to either create a patch for gpsbabel to tunnel<br>
this metadata through, or create a perl script to copy this data from the<br>
KML file to the OSM file.<br>
<br></blockquote><div><br></div><div>I recommend shp2osm which can do all this in one shot. </div><div>there is a perl version, the Java version from Ian Dees and also a beta of ogr2osm.</div><div>all can convert in one step and preserve the attributes.  </div>
<div>I have used mainly the Java version because it has a flexible interface for attribute translation.</div><div>ogr2osm is nice when you have touching areas and need to convert to advanced multipolygons with relations. </div>
<div> </div></div>