Theme developing question

Started by jusc, May 11, 2014, 17:12:00

0 Members and 2 Guests are viewing this topic.

popej

It's probably this polygon:
https://www.openstreetmap.org/relation/1757828

I don't know why it is visible. On OSM map it looks the same, when you zoom in.
popej
  •  

Wojtas82

Nice find  :o I checked on few different themes and it is visible too. Any chance to exclude it from your map? :)
  •  

popej

I can filter it out, but question is why it is visible at all? Neither tag-mapping.xml nor style should process it. Is there some display procedure for unknown polygons?
popej
  •  

Wojtas82

To be honest I don't know. By the way, if you will filter it out could you also add these tags tag-mapping.xml?
-incline
-mtb:scale:uphill
-footway=crossing and cycleway=crossing (I want to add zebras for combinations like here http://www.openstreetmap.org/way/232025392 )
Thanks in advance.  :D
  •  

popej

Look at history of this polygon. 2 days ago it was tagged as "building=house". That is the reason, next compilation should be correct.

I will add these tags.
popej
  •  

Wojtas82

That explains everything. :) Good move, I didn't check the history but now I can see it had the same colour as buildings :)
  •  

Wojtas82

#51
Popej, I also tried to display proposed routes which are included in your map:
      <osm-tag key="state" value="proposed" zoom-appear="12" />

I tried many combinations and I can't display them anyway. Here is last combination I tried:

   <rule e="way" k="state" v="proposed">
      <line stroke="#FF0000" stroke-width="10" stroke-linecap="butt" />
   </rule>

Maybe someone could help with this one?

Here's an example proposed route
https://www.openstreetmap.org/relation/2470458
  •  

popej

I have not transfered tag "state" from relation to ways. I can add it.

Problem is with tag "incline". As I understand tag-mapping rules, value of a tag should be added directly. I have added "up" and "down" but no numeric values. This could be corrected with tag-transform process, but currently I'm not doing it.
popej
  •  

Wojtas82

Ok, Thanks a lot! (btw historic day for us  ;D :)
  •  

popej

I have updated my map of Poland. Please try new tags.
popej
  •  

Wojtas82

  •  

popej

I forgot to clear caches, try again.
popej
  •  

Wojtas82

  •  

jusc

Quote from: popej on October 11, 2014, 17:49:27

You can look at my tag-mapping.xml, it is included in archive with map. There is no "mtb:scale:uphill". I don't process OSM data with tag-transform, so there are raw OSM names and values for tags like sac_scale.

Which style are you using?

I could make more maps but the main problem is that I'm not an active Locus user and it is difficult for me to maintain these maps properly. But I can compile Germany anyway.

Style? Do you mean Theme?
http://forum.locusmap.eu/index.php?topic=4057.0 I´m always changing it for my own use outside  ;D
Regards J.
  •  

popej

Thanks, I have downloaded your V-Scale2_Pure and couldn't find rules for uphill marking.
popej
  •