openstreetmap local using rails server

Frederik Ramm frederik at remote.org
Sun Jan 13 12:30:59 UTC 2019


Hi,

On 1/13/19 06:11, romeo wrote:
> All right, is working, access in browser to http://localhost:3000 and
> the map is there.
> 
> I have a local openstreetmap of my country local installed ?
> 
> Disconecting the pc from internet and my map is not working anymore !
> 
> What i am wrong ?
> 
> What i must install to have a full local map installed ?

You have installed a copy of the OSM web site and data base, but not a
copy of the OSM tile serving tool chain. When you activate the "data
layer" on your local web site you will see the data from *your* data
base, but if you look at the tiles you see tiles created by OpenStreetMap.

You need to set up your own tile server, and a replication mechanism
between your own OSM database (which you already have) and that tile server.

You will end up with two databases that contain the same data, but in
different formats - the OSM backend database which you already have, and
the tile server database which is created by osm2pgsql and contains data
prepared for rendering.

Bye
Frederik

-- 
Frederik Ramm  ##  eMail frederik at remote.org  ##  N49°00'09" E008°23'33"



More information about the rails-dev mailing list