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

Highlighting a region from Openstreetmap to Umap

0

Hello everyone,

I would like to be able to highlight a state/region in umap by importing it from Openstreetmaps, rather than manually inputting it.

Below, I use Colorado, USA as an example.

alt text

Currently, I have to use the create polygon tool to highlight a region

alt text

Colorado already exists in Openstreetmap. How do I use what Openstreetmap has highlighted, so I don't have to manually input it?

Let me know if I need to clarify. Thanks!

asked 19 Jan '22, 21:57

GhostlyT's gravatar image

GhostlyT
11112
accept rate: 0%


One Answer:

2

There is an import feature in uMap. When you are editing the map click on the upward arrow to open the import screen.

One way to do it is to create an Overpass query that fetches the Colorado geometry and dynamically load it in uMap. Given that Colorado borders will rarely change this is probably just an unnecessary drain on OSM server resources. Instead you can use the same query in Overpass Turbo and download the geometry to a local file. You can upload this file in the same import dialogue in uMap in any layer you chose.

Check the wizard and help in Overpass Turbo and have a first go.

answered 20 Jan '22, 08:56

TZorn's gravatar image

TZorn
12.3k764225
accept rate: 15%

Source code available on GitHub .