Hi,

On Sun, May 26, 2013 at 08:23:14PM +0200, Dariusz Bączkowski wrote:
> I would like to list all streets in city using Nominatim. 
> Let's say in Koszalin, Poland. Is there any way to do that?
> I have Nominatim server available, so it can be in a form of database query 
> if 
> no other way is possible. 

I have written a script that can do something like that some time ago.
It can be found in this branch: 
https://github.com/lonvia/Nominatim/tree/export-script

as utils/export.php. You give it the OSM object of the city, choose the 
information you want and it prints out a CSV table.

It should be functional but I never got around to testing it thorougly,
so it may do strange things sometimes. Also keep in mind that it was
written against an older Nominatim version. You might have to tweak it
to work against your DB. See if it can work for you at least as a starting
point.

> P.S. Is there some place where I can read how Nominatim works in detail, 
> especially how database is used in searches?

There is currently no documentation other than the source code. I don't
really have the time at the moment to write something up but if somebody
would want to attempt to start some documentation, I'd be happy to help 
with any questions.

Sarah

_______________________________________________
Geocoding mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/geocoding

Reply via email to