NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hello everyone again.

I would like to know how its possible to use the overpass api of OSM to get all tags of one node (by searching the id of the node) and display in a html file.

Thank you for all the help.

Francisco Costa

asked 19 Apr '16, 11:09

FrancisCosta's gravatar image

FrancisCosta
0121213
accept rate: 0%


Take a look at this page, especially the custom and popup stuff:

http://overpass-api.de/output_formats.html

So you can have a link like http://overpass-api.de/api/interpreter?data=[out:popup];node%2818994998%29;out; and it will display a simple html page.

I think a lot of the time caching the result of a query on a server will be a better approach.

permanent link

answered 19 Apr '16, 17:09

maxerickson's gravatar image

maxerickson
12.7k1083176
accept rate: 32%

edited 19 Apr '16, 19:21

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×202
×191
×54

question asked: 19 Apr '16, 11:09

question was seen: 3,521 times

last updated: 19 Apr '16, 19:21

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum