Why not ask your question on the new OpenStreetMap Community Forum?

Good afternoon, please help reconfigure local.php nominatim to the local tile server

At the moment I have 2 fully working servers installed:
1. nominatim server 'http://localhost:7070' example URL:

2. OpenMapTiles server 'http://localhost:8080' Example png URL

I tried editing the local.php file adding it to it:
@define ('CONST_Map_Tile_URL', 'http://localhost:8080/styles/klokantech-basic/{z}/{x}/{y}.png')
But my nominatim site still uses tiles from https://openstreetmap.org.png

asked 12 May '20, 12:31

nimistren's gravatar image

accept rate: 0%

edited 12 May '20, 12:38

It looks alright. If you look at the HTML of http://localhost:7070/search.php?q=Moscow&polygon_geojson=1 do you see a section var nominatim_map_init that lists the tile URL?

permanent link

answered 12 May '20, 17:26

mtmail's gravatar image

accept rate: 27%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 12 May '20, 12:31

question was seen: 1,807 times

last updated: 12 May '20, 17:26

powered by OSQA