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

I need to get info about region that i chose like it work in "openstreetmap.org". But i don't want to download all base of country, i need to use fidler data about a regions. Can i use some tools in my site to get ready queri from OSM in JS.

asked 03 Mar '15, 13:05

One_of_coder's gravatar image

One_of_coder
26112
accept rate: 0%

1

Could you explain in a little more detail what it is that you'd actually like to do? It looks like you may think that "openstreetmap.org" is just a web site - it's not. Try reading these, and some of the links from them:

http://www.openstreetmap.org/about

http://wiki.osm.org/wiki/Main_Page

The chances are that you can either download the data that you want, or query a web service externally from openstreetmap.org to get the data that you're interested in. However, we can't help you unless you use a few more words explaining your goal.

(03 Mar '15, 13:11) SomeoneElse ♦

I hawe a web site where i need to anilyze a teretorii in radius. I want to gat info about a buildings in this radius in some XML file or any als way, but i dont want to download a base with info about all buildings in country (files with expansion .osm). On site i use leaflet API to work with map.

(03 Mar '15, 14:01) One_of_coder

Overpass Turbo might be able to help you. You can specific certain objects/tags, and certain regions.

permanent link

answered 03 Mar '15, 15:05

rorym's gravatar image

rorym
5.4k1449100
accept rate: 11%

2

I'm guessing raw Overpass more than turbo, but other than that yes:

http://wiki.osm.org/wiki/Overpass_API

(03 Mar '15, 15:39) SomeoneElse ♦

May be i don't anderstand, but how can i take this request to my site? I just need to get info into my site about some region without using base, in online mode.

(04 Mar '15, 16:26) One_of_coder

I would suggest the following:

After reading everything about overpass-api and overpass-turbo in the OSM wiki, try to create a simple query for a small area that delivers the data you need, for example only buildings. Try to create that query in overpass-turbo, maybe the wizard mode is helpful there.

When you succeeded in that, tell us your query there, and we can help you how to integrate in your website.

(04 Mar '15, 17:43) stephan75
1

@One_of_coder Overpass API can return JSON which your website should be able to parse.

@stephan75 "Reading everything" is slightly exaggerated :)

(05 Mar '15, 08:12) scai ♦

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:

×535
×230
×147
×31
×2

question asked: 03 Mar '15, 13:05

question was seen: 4,057 times

last updated: 05 Mar '15, 08:12

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