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

Greetings,

The tags is_in appear only in the first layer, how can I activate the tags for the secondary layer ?

Picture of where the tags appear: alt text

Picture of where the tags don't appear:

alt text

asked 16 Sep '21, 09:32

calinj's gravatar image

calinj
11223
accept rate: 0%

edited 16 Sep '21, 10:29

scai's gravatar image

scai ♦
33.3k21309459

This is a question on uMap I presume.

How do you populate your map with data? If you take the field "is_in" from the OSM database please be aware that it is not a mandatory key and may only be present on some features.

(16 Sep '21, 10:16) TZorn

the map I populate with GEOJSON from https://osm-boundaries.com/ -> Bucharest -> Sector 1, etc.

But if I put the polygon in the First Layer it shows the is_in tag on the polygon .

(16 Sep '21, 10:46) calinj

The second screenshot looks like imported data from OSM Boundaries. Sector 1 does not have any is_in tag in OSM.

The first screenshot does not appear to hold OSM Boundaries data. I don't even find an object named Baneasa 4 in the OSM data. How did you obtain the data and how have you loaded it into uMap?

(16 Sep '21, 21:30) TZorn

The area Baneasa, was created manually, but the layer of the areas that were created manually have is_in, the imported ones from OSM only have is_in when the areas are moved to the first layer.

Anyway, the problem was solved through programming, adding in the properties array the is_in tag.

permanent link

answered 20 Sep '21, 11:06

calinj's gravatar image

calinj
11223
accept rate: 0%

edited 20 Sep '21, 11:07

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
×191
×122
×92

question asked: 16 Sep '21, 09:32

question was seen: 1,350 times

last updated: 20 Sep '21, 11:07

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