I was looking at MapQuest's Nominatim service, and it seems like they have a non-standard search parameter (doesn't seem to exist in standard Nominatim's list of params) that is the routeWidth. Any guess how this is implemented in their service?


routewidth > Specify the buffer radius of a route. Acceptable values are between 0 and 1 (in degrees).

Example: http://open.mapquestapi.com/nominatim/#search_route

routeWidth is set here:

  • Thanks Mapperz, but my question is about how it is implemented in the library (and not how to use it). MapQuest seems to have retrofitted Nominatim with this notion of "routeWidth", and I'd like to know how they did it. Since I'm new to all this my question may not make sense or appear misguided. If that is the case, please point that out to me too. – Yahya Cahyadi Jan 4 '11 at 17:53
  • if your run the route - it calculates the route - then uses the route as a line - this is buffered (creates a polygon) - the buffered polygon is then intersected with the points of interest db - then a list is generated. – Mapperz Jan 4 '11 at 18:00

The parameter is part of the next release of Nominatim which you can find the source for here: http://svn.openstreetmap.org/applications/utils/nominatim/

The new version has not yet been released but will be in the next few weeks.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.