[Geocoding] Nominatim without internet connection
Sarah Hoffmann
lonvia at denofr.de
Fri Apr 10 08:19:35 UTC 2020
On Fri, Apr 10, 2020 at 10:43:28AM +0300, Marius Dobre wrote:
> After completing the installation, I accessed 192.168. ***. *** /
> nominatim. I had the map of the whole planet, although I only downloaded
> the map of a country. the search function works properly, when I set
> firefox from developer mode to be without internet, the search function
> works, but the map does not load.
That is completely normal. The map on the web interface is there for
debugging purposes only. Nominatim does not inclue a map, it only
provides the search function. The tiles come from openstreetmap.org.
If you want to have the map available offline, you need to set
up your own tile server (see https://switch2osm.org/serving-tiles/)
and then point Nominatim to use these tiles by adding the following
line in your settings/local.php:
@define('CONST_Map_Tile_URL', 'https://<your local tile url>/{z}/{x}/{y}.png');
Kind regards
Sarah
>
> vin., 10 apr. 2020, 10:32 Sarah Hoffmann <lonvia at denofr.de> a scris:
>
> > Hi,
> >
> > On Thu, Apr 09, 2020 at 07:14:37PM +0300, Marius Dobre wrote:
> > > hello,
> > >
> > > I installed Nominate on Ubuntu 18, I completed all the steps to
> > > download a map, more precisely the map of Romania. I did import into
> > > the database. everything works perfectly, until there is no internet
> > > connection on the browser that accesses ubuntu. what would be the
> > > problem?
> >
> > Please be a bit more specific. How did you determine that everything
> > works perfectly. What exactly goes wrong when the internet connection
> > is broken?
> >
> > Sarah
> >
More information about the Geocoding
mailing list