This is a static archive of our old OpenStreetMap Help Site. Please post any new questions and answers at community.osm.org.

how to Populating the database from own tiles into Rails Port database

0

Hello, I have installed Rails Port in our local server and We have a seperate server for Tiles.

Now I understand from thsi link https://github.com/openstreetmap/openstreetmap-website/blob/master/CONFIGURE.md that, I will need run bellow to import geographical Data

osmosis --read-pbf greater-london-latest.osm.pbf \
  --write-apidb host="localhost" database="openstreetmap" \
  user="openstreetmap" password="" validateSchemaVersion="no"

But what I am asking is, How can I use my Own tiles which is in 192.168.1.32/Hot with this Ruby port ?

Please help me with this ?

asked 27 May '18, 14:29

fosiul's gravatar image

fosiul
96131419
accept rate: 50%


One Answer:

0

Since I cant Delete this question, So i am making it Answered, found the solution https://help.openstreetmap.org/questions/36946/set-railsport-and-josm-to-use-local-tile-server

although, just had to edit all link in leaflet.osm.js

Thanks

answered 27 May '18, 16:02

fosiul's gravatar image

fosiul
96131419
accept rate: 50%

I've marked it answered for you...

(27 May '18, 16:32) SomeoneElse ♦

Source code available on GitHub .