Geospatial Data

Nodes

The node is the basic element of the OSM geomodel, consisting of only one point and has parameters such as: longitude, latitude and identifier.

To get information about specific node, you can use the node command, which can find nodes by ID.

You can use following parameters in the command:

Parameter Description
id Node ID.
    # SWITCHING TO THE GEO CONTEXT
- geo:
    provider: osm
    do:
    # Find node by ID
    - node:
        id: 67253662
        do:
Time Level Message
2018-05-29 21:41:39:382 info Stopped by exit command
2018-05-29 21:41:39:356 debug Page content: ...
2018-05-29 21:41:37:385 info Retrieving page (POST/JSON): https://lz4.overpass-api.de/api/interpreter
2018-05-29 21:41:37:376 debug Node ID: 67253662
2018-05-29 21:41:37:367 debug Getting geo information about node
2018-05-29 21:41:37:358 debug Setting up geo provider: osm
2018-05-29 21:41:37:350 info Starting scrape
2018-05-29 21:41:37:325 debug Setting up default proxy
2018-05-29 21:41:37:315 debug Setting up surf
2018-05-29 21:41:37:283 info Starting digger: 1 [2158]
            <html>
<head></head>
<body>
<body_safe>
<elements>
<changeset>55420427</changeset>
<id>67253662</id>
<lat>38.1112268</lat>
<lon>13.3524434</lon>
<tags>
    <capital>4</capital>
    <gfoss_id>6894</gfoss_id>
    <is_in>Palermo, Sicilia, Italy</is_in>
    <is_in_continent>Europe</is_in_continent>
    <is_in_country>Italy</is_in_country>
    <is_in_country_code>IT</is_in_country_code>
    <name>Palermo</name>
    <name_ar>باليرمو</name_ar>
    <name_ca>Palerm</name_ca>
    <name_de>Palermo</name_de>
    <name_el>Παλέρμο</name_el>
    <name_es>Palermo</name_es>
    <name_fa>پالرمو</name_fa>
    <name_fi>Palermo</name_fi>
    <name_fr>Palerme</name_fr>
    <name_he>פלרמו</name_he>
    <name_it>Palermo</name_it>
    <name_kn>ಪಲೇರ್ಮೋ</name_kn>
    <name_la>Panormus</name_la>
    <name_lt>Palermas</name_lt>
    <name_pl>Palermo</name_pl>
    <name_pt>Palermo</name_pt>
    <name_ru>Палермо</name_ru>
    <name_scn>Palermu</name_scn>
    <name_uk>Палермо</name_uk>
    <name_zh>巴勒莫</name_zh>
    <old_name_el>Πάνορμος</old_name_el>
    <place>city</place>
    <population>686722</population>
    <rank>20</rank>
    <safe_source>geodati.gfoss.it</safe_source>
    <wikidata>Q2656</wikidata>
    <wikipedia>it:Palermo</wikipedia>
</tags>
<timestamp>2018-01-14T01:57:17Z</timestamp>
<type>node</type>
<uid>6757296</uid>
<user>gionax</user>
<version>33</version>
</elements>
<generator>Overpass API 0.7.55.2 3ab0d275</generator>
<osm3s>
<copyright>The data included in this document is from www.openstreetmap.org.
                The data is made available under ODbL.</copyright>
<timestamp_osm_base>2018-05-29T18:41:02Z</timestamp_osm_base>
</osm3s>
<version>0.6</version>
</body_safe>
</body>
</html>
        

In next chapter we learn how to get shapes for relations.