This object is in archive! 

How to turn altitude numbers off?

ivo Nörenberg shared this question 10 years ago
Answered

If I have map shadows on, at some point it changes from shadow to

altitude numbers and lines. Is there a way to avoid it? I want to see always

the shadows, never the numbers.


The lines at some point are fine but no numbers. If I make the numbers

smaller also all other names are smaller.

Replies (16)

photo
1

Hi,

I only want to be sure that correctly understand your question. So do you want to remove the altitude values from contour-lines?

muhlCbCfFNt2C1ktmSiB

photo
1

Yes I want to remove the altitude values from contour-lines.

photo
1

Hi Ivo,

The labels for contour-lines are defined in Locus vector themes which can be downloaded at http://support.locusmap.eu/hc/en-us/articles/200242931-Vector-map-content

It is needed to edit theme manually if you want to remove mentioned values.

Please find the section:


<rule e="way" k="contour_ext" v="*">

...

</rule>


and remove all:

<pathText k="ele" font-style="bold" font-size="10" fill="#7C583A" stroke="#ffffff" stroke-width="2.5" />

photo
1

I tried. You also have to remove:


<rule e="way" k="contour_ext" v="*">

photo
1

I depends if you want to remove only the elevation values or contour-lines completly. In second case you need to remove whole section <rule e="way" k="contour_ext" v="*"> as you mentioned.

photo
1

I tried without

removing <rule e="way" k="contour_ext"

v="*"> but than the whole map was not working. If I delete also

<rule e="way" k="contour_ext" v="*"> the

contour lines are still visible.


What do I have to add

to see house numbers?


Is there any list

which command is needed to see whatever gates, house numbers, temples, Mountain

peaks names or river names?

photo
2

Hi Ivo,you need to remove whole section <rule> .... </rule> Please check that you've removed corresponding end tag.

HouseNumbers are rendered using tag:

<caption k="addr:housenumber" font-style="bold" font-size="7dp" scale-font-size="17 ,1.15" fill="#545454" stroke="#ffffff" stroke-width="1dp" />

I suggest to read official documentation if you want to edit theme more detailed. Please see: http://code.google.com/p/mapsforge/wiki/RenderThemeAPI

photo
1

Thanks,


do you have a list of all commands, e.g. to show housenumber, ATM or Policestation?

photo
1

And please do you know the color code? Which number is for what color?

photo
1

Please see file tag-mapping-tourist.xml where you can see pair of key-value tags which are possible to render in Locus vector maps. Colours are in #ARGB HEX format (http://en.wikipedia.org/wiki/RGBA_color_space#ARGB)

photo
1

Is there not a more simple list of some typical colors and the value for that?

photo
1

Almost every image editor is able to show hexadecimal value for specified color. Or you can try this page http://colorschemedesigner.com/

photo
1

Why can I still see in some zoom factors the altitude values?

photo
1

I can't my attached file. Is something not working?

photo
1

OK, I can't attach XML file.

photo
1

  1. The file must be a jpg, gif, png, bmp, ico, pdf, doc, rtf, txt, zip or rar no more than 30M

Replies have been locked on this page!