[OSM-newbies] Uploading Park Boundaries

Hilton Long seldom.seen at verizon.net
Fri Oct 3 11:21:24 BST 2008




I've extracted a boundary definition for Capitol Reef National Park from
Tiger line files, 2006.  It's in gpx format, and shows as a continous,
closed line with numerous vertices.  I'm new to OSM, but I think this should
show up as an area feature if I could figure out a way to import it.
Unfortunately, I can't. 

This is really frustrating, because I see an area indicating the boundaries
of Zion National Park just east of Saint George, UT, USA. 

OSM rejects my gpx upload because it doesn't have time stamps.
JOSM opens the the gpx file, but only shows points.
Is there a way to get JOSM to open shape files, or to convert the gpx files
to ways, the way the slippy map does when it likes the gpx I upload?

Thanks, 

Hilton




------------------------------

Message: 8
Date: Thu, 2 Oct 2008 10:13:40 +0200
From: xbenschix at googlemail.com
Subject: Re: [OSM-newbies] Can't figure out how to upload a park
	boundary to	OSM
To: newbies at openstreetmap.org
Message-ID:
	<d55929af0810020113n4ef486b5s9e6f36d3262a457c at mail.gmail.com>
Content-Type: text/plain; charset=ISO-8859-1

hi,

you can just use an simple editor to open your gpx file.
than you maybe see waypoint in this way:

<trkpt lat="50.7501400" lon="10.8057205">
        <ele>427.4433594</ele>
      </trkpt>

just use the editors "search & replace" function:

search for "</ele>"
replace it with "</ele><time>2008-09-06T12:00:00Z</time>"

do it for the whole file and than try to upload it to OSM.
if you don't have an <ele> tag then use

search for "</trkpt>"
replace with "<time>2008-09-06T12:00:00Z</time></trkpt>"

hope i can helped.

ben

Ben,
Thanks for the tip, but it only half way worked.  I was able to get the
server to accept the gpx file, and I got the trace onto the map, but when I
clicked the "Track" button, nothing changed.  The only way I could get my
area onto the map, was by tracing over the track to create a way to enclose
the area.

Is there some sort of size limitation on the trace upload ( the park
boundary was about 100 miles long), or was it a problem with the point time
stamp?  I added the same time stamp to every point.

Thanks in advance,

Hilton







More information about the newbies mailing list