[OSM-talk] POI by coordinates

Ævar Arnfjörð Bjarmason avarab at gmail.com
Thu Oct 16 03:42:01 BST 2008


On Thu, Oct 16, 2008 at 1:36 AM, Ryszard Mikke <Ryszard at korwin-mikke.pl> wrote:
> the situation is: I've got a POI in the area where I'm only in summer.
> I've marked in somewhere in Google Maps and now I want to mark it in OSM.
> The problem is, the whole area is poorly marked in OSM, there is even
> a national road not marked. So I can't just go and draw the point.
> I need to put it at the same coordinates as in Google Maps.
>
> Tried to put it in GPX and import, but only tracks are imported,
> not waypoints. Pity, cause I've made an effort to remove everything
> else from GPX...
>
> So, how can I put the point at known coordinates?
> Maybe using some other editor than Potlatch?

Sadly none of the popular editors has a decent way to do this, you can
display coordinates for a specific mouse location through a key
combination in potlatch while JOSM gives you a constantly updated
coordinate position that follows the mouse cursor so you can get a
pretty decent approximation visually, but neither has something like a
dialog where you can create a point at explicitly input coordinates.

You can do this quite decently indirectly however, one way would be to
create a GPX file with a coordinate pair with an associated name and
load that into your favorite editor, for example:

  <?xml version="1.0" encoding="UTF-8"?>
  <gpx>
    <wpt lat="64.123629676" lon="-21.886269590">
      <name>Test</name>
    </wpt>
  </gpx>

Or you could upload your points directly through the API, see [1] for
an example.

1. http://wiki.openstreetmap.org/index.php/Using_curl_to_upload_data




More information about the talk mailing list