[Geocoding] Nominatim Installation Questions
Sarah Hoffmann
lonvia at denofr.de
Thu Oct 22 19:10:50 UTC 2015
Hi,
On Wed, Oct 21, 2015 at 02:01:22PM -0400, Trevis wrote:
> On Tue, Oct 20, 2015 at 2:54 PM, Sarah Hoffmann <lonvia at denofr.de> wrote:
> > On Tue, Oct 20, 2015 at 10:16:06AM -0400, Trevis wrote:
> > > Hi everyone, resident nominatim beginner here with another question. I
> > seem
> > > to be unable to get any search results from queries to my nominatim
> > server.
> > >
> > > The web interface loads and plenty is visible on the map, but there are
> > > always no search results.
> > >
> > > I've followed the installation guides for Nominatim and tiger data, and
> > the
> > > issues listed on the faq seem to not be what I'm encountering.
> > >
> > > How can I go about debugging this?
> >
> > Do they work on nominatim.osm.org. Have you
> > tried to leave out parts of your query (for example, the state or even
> > the city)? Furthermore, do simple country searches work (e.g. just
> > searching for France or United States)?
> >
> Well I only imported the North America pbf file, so France shouldn't work.
> However, searching for United States, Canada, and Mexico, as well as as
> searching for cities, like Atlanta and Chicago, all fail.
Searching for other countries should work when you have imported the
country phrases, but let's check for Atlanta. I assume you have checked
that you actually get 0 results back and not a internal server error or
similar.
First check if you can find the details for Atlanta. Try:
http://yourserver/nominatim/details.php?osmtype=R&osmid=119557
and
http://yourserver/nominatim/details.php?osmtype=N&osmid=153843609
Details on that URL are here:
http://wiki.openstreetmap.org/wiki/Nominatim/FAQ#My_data_is_still_missing_and_it.27s_been_several_days
If that gets you the same details pages as on nominatim.osm.org then
something's wrong with the search index.
If details yiels nothing, check for the data in the database. In
'psql nominatim' try:
SELECT * FROM placex WHERE osm_type = 'R' and osm_id = 119557;
SELECT * FROM placex WHERE osm_type = 'N' and osm_id = 153843609;
If the data is there, your web frontend isn't correctly connected to
the database. If the data is not there, something went wrong with the
import.
Sarah
More information about the Geocoding
mailing list