[mapserver-users] zoom to place by name

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Tue Jan 31 00:17:23 EST 2012


Hi,

Have a look at Nominatim. Perhaps it would be possible to add the zoom to boundaries support to it. Ask developers what'd the think about enhancing the Nominatim database to store also the bounding boxes of the places.
http://nominatim.openstreetmap.org/
http://wiki.openstreetmap.org/wiki/Nominatim

-Jukka Rahkonen-

Mr. Puneet Kishor wrote:

> a'ite, this question is neither mapserver-specific nor OL-specific (two technologies that I am using gung-ho right now), but both would be involved in developing something that I describe below --

> you know, how in Google Maps you can type pretty much any location's name, and if it finds a match in its database, Google Maps zooms to the boundary of that location. For example, if I type

>         http://maps.google.com/maps?q=Zurich,+Switzerland

> or

>       http://maps.google.com/maps?q=Dane+County,+WI

> or

>       http://maps.google.com/maps?q=New+York+City

> the map zooms to the bounds of that location. This is what I want to develop, for the entire world. I guess the starting point would be the geonomes database, except, if I understand correctly, geonames does not have the bounds of locations. Instead, it has only the centroids of locations.

> A better way might be something like the following --

> I am using Google Maps as my base layer anyway. Could I somehow submit a search through my application to the Google Maps base layer, return the bounds and zoom to that?

> Thoughts? Suggestions?

--
Puneet Kishor_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


More information about the mapserver-users mailing list