This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

Bounding box values

0

Hii, I would like to get the bounding box values using for given address and save it in to php variables

asked 19 Jun '15, 14:05

krishkona's gravatar image

krishkona
8224
accept rate: 0%

The previous question from this user may be relevant for context:

https://help.openstreetmap.org/questions/43620/boundingbox

(19 Jun '15, 14:06) SomeoneElse ♦

One Answer:

2

When you have one (or it seems like more) addresses and you want a lat/lon value pair as result (what is ONE single position and NOT a bounding box) you need something like a geocoding solution. All OSM based solutions for that purpose are listet at Search Engines in the OSM wiki.

You should also search for "bulk geocoding" on this FAQ site ... there are some topics already.

answered 19 Jun '15, 16:54

stephan75's gravatar image

stephan75
12.6k556210
accept rate: 6%

Hii stephen , Are the bounding box values give the boundary points of particular location

(19 Jun '15, 17:05) krishkona

dear krishkona,

once again: a location is NOT a bounding box!

A bounding box is more like an area!

A location is like a single point, with a value pair of x and y coordinates.

So can you please rephrase your last question, and maybe give a concrete example?

What have you tried so far with the geocoder services mentioned above???

(21 Jun '15, 11:09) stephan75

Source code available on GitHub .