[Openstreetmap] How to be more efficient inserting tracks?

Immanuel Scholz immanuel.scholz at gmx.de
Mon Oct 24 09:23:14 BST 2005


G'morning,

> I uploaded some GPX tracks and played a little with the Java map
> editor on the web.
> The major troubles i found are:
>
> - The applet is slow on my 2.4 GHz box (Linux, Firefox, SUN Jre)

Maybe a problem of memory? How much RAM do you have?

How much memory do you allow your Java task to have?
There was an issue with maximum heap memory and java. For stand alone
applications you can increase the memory an java application can access by
passing -Xmx2048MB as command line parameter (increase up to 2GB).
I don't know whether this is still a problem for newer Java versions or
how to do this for applets..


> - If I have some GPX that are already edited and cleaned, can I
> upload them directly without the upload and edit steps?

I push hard to release a JOSM version this week (I am off for holiday the
whole next month). With this you will be able to upload whole gpx files to
the server.


> - Is possible to display segments between dots of uploaded tracks
> during map editing? I have several tracks recorded on roads with
> several roundabouts, sometimes dots resemble simply sparse dots
> instead of a track...

Again, may I advertise JOSM? ;-). There is a preferences setting of doing
things like this:

If you import your raw gps data as gpx and have track segment information
from your GPS device, you can just display these segments. If you don't
get track segment information from your GPS device but a list of points,
you can force drawing of lines, assuming that the points in the dataset
loaded is in the correct order.

However, there seems no way of drawing lines between gps points obtained
from the OSM server, since they come in arbitrary order without line
information.


Ciao, Imi.






More information about the talk mailing list