wiki:Help/Action/OpenLocation

Version 14 (modified by skyper, 11 years ago) ( diff )

syntax unification, structure update and fixes

This page is incomplete. Some data sources are not explained, yet.

File > Open Location

Dialog

source:trunk/images/openlocation.png Keyboard shortcut: Ctrl+L

Load OSM data from an URL either in the current data layer or in a new data layer.

The following dialog is displayed:

You can enter the URL where to download data from and click Download URL.

Separate Layer

You can control whether the data is loaded into the current or in a new layer:

  • if Separate Layer is selected, the data is loaded in a new layer
  • if Separate Layer is not selected, the data is loaded in the current data layer

If there isn't a data layer yet, a new data layer is always created.

Data sources

OSM API

Current version

The OSM web server is the main data source you can use here. For instance, if you know the object id of a node, way, or relation you can load the respective object with one of the following URLs:

  • for a node the URL is http://api.openstreetmap.org/api/0.6/node/123456789 (replace 123456789 with the node id)
  • for a way the URL is http://api.openstreetmap.org/api/0.6/way/123456789 (replace 123456789 with the way id)
  • for a relation the URL is http://api.openstreetmap.org/api/0.6/relation/123456789 (replace 123456789 with the relation id)

Older versions of objects

You can also load older versions of an object

  • for a node the URL is http://api.openstreetmap.org/api/0.6/node/<node id>/123 (replace 123 with the version number)
  • for a way the URL is http://api.openstreetmap.org/api/0.6/way/<way id>/123 (replace 123 with the version number)
  • for a relation the URL is http://api.openstreetmap.org/api/0.6/relation/<relation id>/123 (replace 123 with the version number)

XAPI

TODO: XAPI servers

GPS

Overpass API

See also


Back to Menu File
Back to Main Help

Attachments (2)

Download all attachments as: .zip

Note: See TracWiki for help on using the wiki.