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, 09:32

calinj's gravatar image

calinj
1113
accept rate: 0%

edited 16 Sep, 10:29

scai's gravatar image

scai ♦
32.7k20300453

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, 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, 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: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, 11:06

calinj's gravatar image

calinj
1113
accept rate: 0%

edited 20 Sep, 11:07

Your answer
toggle preview

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:

×266
×177
×122
×83

question asked: 16 Sep, 09:32

question was seen: 214 times

last updated: 20 Sep, 11:07

powered by OSQA