NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Can I use iD editor to edit a data on a custom tile server?

asked 24 Feb '18, 07:04

sugandalai's gravatar image

sugandalai
16112
accept rate: 0%


Editable OSM data is typically stored in an API schema database (most common example provided by the "rails-port" see https://github.com/openstreetmap/openstreetmap-website ) with access provided by the OSM API (see https://wiki.openstreetmap.org/wiki/API_v0.6 ) this is how all modern editing apps interact with the data, including iD.

Tile servers, essentially regardless of the concrete implementation, require that the raw OSM data be converted in to actual geometry objects (in the API schema only the nodes hold location information), and stored in a database capable of handling spatial queries on such objects.

So the answer is a qualified "no", what you can naturally do is replicate the setup of the central OSM system: an instance of the rails-port holding your data and then synchronizing that via the minutely diff mechanism to your tileserver.

This is not that difficult to do, and if we are only talking about a small amount of data doesn't require anything very performant wrt hardware. If you are considering importing the whole planet then it is non-trivial.

permanent link

answered 24 Feb '18, 12:42

SimonPoole's gravatar image

SimonPoole ♦
44.7k13326701
accept rate: 18%

edited 24 Feb '18, 15:33

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

Follow this question

By Email:

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

By RSS:

Answers

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:

×301
×204

question asked: 24 Feb '18, 07:04

question was seen: 2,654 times

last updated: 24 Feb '18, 15:33

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum