This object is in archive! 

Are `amenity=hospital` is not displayed on vector maps.

TxF shared this problem 10 years ago
Solved

Locus does not display `amenity=hospital` area on vector maps. I am using UMP (Poland) map compiled with osmosis 0.40.1 and mapwriter 0.3.0, one of hospitals is here: 50.09356,20.01942 (http://umapa.pl/VVpfF). Same issue on the OSM map downloaded from vectormaps4locus.eu.


Best regards,


Tadeusz

Replies (6)

photo
0

Hi,


vectormaps4locus are not created by Locus team. It’s community project and maps are at least one year old.


If you generate own maps using mapwriter then it’s up to you which element do you export to the generated map (using tag-mapping.xml). So this is not issue in Locus.


Anyway with official Locus vector maps and internal themes is Hospital visible – see attached screenshots


photo
0

Hello,


The actual `amenity=hospital` area is visible here: http://osm.org/go/0L0P9Ay64-


I can see the fence around the area on the screenshot, but there`s no area itself - it is visible in the NE part, where the fence is over.


I can see no difference in color when compared with the background.


I am not using tag-mapping.xml, and I understand that the default is to export amenity=hospital: http://code.google.com/p/mapsforge/so....


Regards,


Tadeusz

photo
0

What about this style?


photo
1

Ok, I understand my problem now.


Thank you very much.


Regards,


Tadeusz

photo
1

Generating mapsforge map has basically two steps:


1. Generate map with proper map elements (based on tag-mapping.xml)


2. Create theme xml file that define the rendering of map. In our case is hospital rendered:


<rule e="way" k="amenity" v="hospital" zoom-min="13">


<area fill="#F2D9D7" stroke="#DBBDBA" stroke-width="0.25" />


<symbol src="file:/symbols/hospital.svg" scale="0.45" scale-icon-size="13,1.1" />


</rule>

photo
1

And if someone, like me, wants to take mapsforge`s osmarender.xml and adapt it, it is worth noting that he/she should take osmarender v1 xml (0.3.0). Not v2.


Available inside this zip here (at least in Nov 2013): http://mapsforge.googlecode.com/archi...


Regards,

Replies have been locked on this page!