Jump to content

සැකිල්ල:OSM/doc

විකිපීඩියා වෙතින්

Use for consistent linking to OpenStreetMap, particularly for grouped relationship illustrated a route, or place.

Getting data id from OSM

[සංස්කරණය]

OSM data consists of nodes (points), ways (lines) and relations (group of points or ways). Each of these data types have a unique id which can be used to reference the particular data. You can find the id of the data you are looking for by either using nominatim or the OSM data explorer.

Using nominatim

[සංස්කරණය]
  1. Goto http://nominatim.openstreetmap.org/
  2. Search
  3. From the search results on the left, click the details link

Using OSM data explorer

[සංස්කරණය]
  1. Goto http://osm.org
  2. Browse and zoom to the area which has the data
  3. Expand the map options tab ( blue '+' on the top right of the map and click on 'data')
  4. A list of objects in the map area should load on the right, select any feature from the map or list and click the detals link to get the id
Use Output
{{OSM|relation=164711}} 164711
{{OSM|n|746952719}} 746952719 OSM/doc on OpenStreetMap
{{OSM|r|1247233}} 1247233 (x a j h) OSM/doc on OpenStreetMap

Specify the object type and id in the template. n=node, w=way, r=relationship


"https://si.wikipedia.org/w/index.php?title=සැකිල්ල:OSM/doc&oldid=708575" වෙතින් සම්ප්‍රවේශනය කෙරිණි