[OSM-talk] Making a Way Error in JOSM
TM
tm at 8k.se
Tue Dec 5 17:52:13 GMT 2006
(CC'ing this back to the list. Seems I missed the list when I replied to
Philip. My mistake.)
Philip Mark Donaghy wrote:
> Hi TM, thanks for your response...
>
> On 12/5/06, TM <tm at 8k.se> wrote:
>> Well, it sure looks like a timeout. And that's just as well. You are
>> actually uploading n nodes and n-1 segments in addition to your created
>> way (where n is the number of points in the GPX file/s loaded). The
>> convert to data layer feature was implemented (I presume) as a time
>> saving measure for long stretches of highway where one could not be
>> bothered to create nodes and connect them manually. For urban areas it's
>> actually pretty useless as it creates an awful lot of nodes and
>> segments. And -- I'm not sure I understand you correctly here -- if you
>> do that to the raw GPX points in an area... Then each point becomes a
>> node, and the segments will probably run back and forth across the map
>> as the nodes are ordered by their timestamps... And then all those nodes
>> and segments will be uploaded and inserted into the database. That will
>> be a mess. So, please don't do that.
>>
>> The way to do it is something like...
>>
>> 1 Load GPX into JOSM and download OSM data for that area to see roads
>> and stuff which has already been mapped
>> 2 Create nodes along the traced route
>> 3 Connect these with segments
>> (This is actually what JOSM does when you select "convert to data
>> layer". But you don't want to create quite as many nodes and segments.)
>> 4 Create ways from segments which have some common properties (name,
>> ref, highway type, oneway etc.) and assign tags accordingly
>> 5 Upload your data
>
> Perfect quickstart guide. I read quite a few pages and didn't see this.
>
It's supposed to be there. Somewhere. Haven't kept up with the docs/wiki
lately, but...
>>
>> This should be described somewhere, but it keeps coming up here so... I
>> don't know.
>
> Yes the Editing pages on the wiki just describe editor tools there are
> some tips and tricks that are useful. I am new to the gps world and
> open street map.
>
> The tips and tricks tell you to set your gps to one second intervals.
> Sounds good. You are telling us to not use the nodes from the gps but
> to create new ones. I doubt that anyone does this or am I wrong. Seems
> you could use some of them. And for accuracy one would want to add
> more for curved roads.
Actually, I think most of us do it this way. Guess we must have started
before someone messed up the docs. :-)
Yes, to get reasonably accurate curves, the nodes need to be closer than
for a straight road. And in order to track curved roads properly we need
a resolution of 1 p/s in the GPX file (unless you are collecting tracks
on foot). And, as the tracks get really dense at low speeds, automatic
conversion becomes counterproductive. For instance, a residential
street (say, 400 m) would be represented as 100 nodes, rather than the
two or three which would be sufficient.
The tracks should be considered merely as a reference for plotting the
actual nodes and segments on. (Except, as I said, for long stretches of
highway. And even then the tracks should probably be filtered first.
There are several scripts which simplify GPX files by filtering out
points which make up a straight line etc.)
> I will continue to work with your advice.
Well, then I can't see how you could go wrong. :-)
>
> Philip
>
>>
>> / TM
>>
>>
>> Philip Mark Donaghy wrote:
>> > Hello, I'm using the latest JOSM editor and I download all osm data
>> > and raw gpx data that I uploaded recently.
>> >
>> > I convert the GPS layer to the Data layer by clicking on it and
>> > selecting Convert to data layer.
>> >
>> > I select the points and segments that I want to edit.
>> >
>> > Then I click on Add a new way to the Data.
>> >
>> > I give it two property called created_by and name with a values
>> > Donaghy and Rue Lavidan.
>> >
>> > Then I click on Upload data.
>> >
>> > The confirmation message appears. I click OK.
>> >
>> > The upload Node dialog appears. I wait.
>> >
>> > An error message appears. Error while parsing: An error occured:
>> >
>> > The stack trace indicates a server timeout. Is this common, or user
>> error?
>> >
>> > upload to: http://www.openstreetmap.org/api/0.3/node/0
>> > got return: 200 with id 21458980
>> > upload to: http://www.openstreetmap.org/api/0.3/node/0
>> > java.lang.RuntimeException: connect timed out
>> > at
>> org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.j
>> > ava:76)
>> > at
>> org.openstreetmap.josm.actions.UploadAction$1.realRun(UploadAction.ja
>> > va:77)
>> > at
>> org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.
>> > java:74)
>> > at
>> java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
>> > )
>> > at
>> java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
>> > at java.lang.Thread.run(Unknown Source)
>> >
>> >
>>
>>
>
>
More information about the talk
mailing list