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

Hi,

I've used http://umap.openstreetmap.fr/en/ service to create a map containing several layers.
Each layer has a name and specific graphic customization. The content of the layers has been created uploading GeoJSON files (using "Import data" feature).
This really fill my needs.

The GeoJSON files I used to create the map are programmatically generated every day. I can use uMap editing interface to update layer content ("Import data", "replace layer content") manually but I'm looking to automatize the process (e.g. using a script).

Is there an API I could use to update layer content programmatically?

Thanks in advance for your help
Pierre Dittgen

asked 14 Aug '18, 10:30

Pid's gravatar image

Pid
41113
accept rate: 0%


I think this is a built in feature of umap. Check this bit of documentation: https://wiki.openstreetmap.org/wiki/UMap/Guide#Use_external_data

permanent link

answered 14 Aug '18, 11:38

joost%20schouppe's gravatar image

joost schouppe
3.4k245087
accept rate: 12%

Thanks Joost for your answer.

But, as I can read: - using external data, uMap refreshes URL content for each zoom or move action. As my GeoJSON files weight over 40Mb together, it will eat bandwidth and slow down map display - OverPass Turbo is designed to query OpenStreetMap, so not external GeoJSON files.

Any clue?

(14 Aug '18, 13:18) Pid

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:

×314

question asked: 14 Aug '18, 10:30

question was seen: 2,459 times

last updated: 14 Aug '18, 17:57

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