This object is in archive! 

Buildings with `house`-tag in OSM-vectormaps are not visible.

Felix Gmann shared this problem 11 years ago
Solved

Buildings with a `generic`-tag are visible, however `house`-tagged buildings are not visible in vectormaps.

Replies (8)

photo
0

Thanks for comments. We’ve changed attributes for generation vector maps. New version will be contains mentioned building data.


Petr

photo
0

Thank you.


I sometimes render little areas with "osmosis" and the mapfilewriter from mapsforge to check my current changes in OSM.


These mapfiles got the same problem.


Maybe you can tell me how or where i can change the parameters.

photo
0

Hi Felix


There are two/three steps you need perform


1. Edit tag-mapping.xml


- This files defines which elements will be generated from OSM source file.


- Official documentation: http://code.google.com/p/mapsforge/wi...


- Our edited xml we used for last generation of vector maps http://docs.locusmap.eu/doku.php/manu...


- You need to add some lines with code:


2. Edit render theme XML


You need to specify appearance you vector maps. In your case you need to specify the styles for new building elements from first step


3. Copy created render theme to folder Locus/mapsVector/_themes

photo
0

Thank you very much for your great and fast support !


:-)

photo
0

After some testing it works fine!


The houses and liftgates are now visible.


I changed the classic map theme.


But in the Locus map-generation.xml (http://docs.locusmap.eu/doku.php/manu...) something is wrong.


This:


osm-tag key="barrier" value="gate" zoom-appear="14" />


osm-tag key="barrier" value="lift_gate" zoom-appear="15" />


has to be under "pois", currently you find it under "ways".


That isn`t working.


What is about the standard map themes from Locus, will they be updated ?

photo
0

Hi Felix,


You’re right I found this issue week ago when you created the lift-gate topic and I’m sorry than I didn’t write you about it. The internal themes does not render lift gate at all ... so mentioned issue does not affect rendering.


Internal themes will be updated with new release of vector maps...maybe in next month.


Actually which type of buildings you’d like to add to the generated map file? In addition to the tag-mapping.xml on manual pages I’ve added these types: cabin, garage,garages,house,terrace,school,warehouse,industrial


Is it OK?

photo
0

I only missed houses by now, but warehouses and industrial for example are important too.


I think the changes are OK!

photo
0

supermarket and residential you could add

Replies have been locked on this page!