-
AutorBeiträge
-
November 30, 2024 um 08:03 Uhr #56958
troNpo
TeilnehmerHi, I would like to add the OSMC-SYMBOLS icon pack to the theme I am developing.
https://tronpoonpo.blogspot.com/p/exmapstema.html
Mention of origin and acknowledgements, is any more license necessary?
Thank youDezember 1, 2024 um 18:57 Uhr #56965Tobias
AdministratorHi,
are you writing about the OSMC-Symbols in Elevate? Just have a look at licenses.txt:
https://www.openandromaps.org/wp-content/users/tobias/licenses.txt
-> – waymark symbols based on: Locus internal theme, Apache License and LocusUser#1 (Frank Schöneck)
That’s how I credited, hoping that it’s right this way 🙂Developer of Elevate mapstyle
1 Teilnehmer(n) gefällt dieser Beitrag
Dezember 30, 2024 um 10:48 Uhr #57053troNpo
TeilnehmerHello, it is possible to add a line of text“pathtext“ On the edges of „national_park/nature_reserve“ . As is done with administrative limits ?“admin_level“.
I don’t know if this is possible or if I’m building the rule wrong.
Thank you.Dezember 30, 2024 um 19:17 Uhr #57063Tobias
AdministratorI had this in Elevate before bboxweight nodes were introduced to prevent many repeated captions for protected areas, it worked with the tag-mapping then (2015):
<rule cat="borders" e="way" k="leisure|boundary" v="nature_reserve|national_park|protected_area"> <rule e="any" k="protect_class" v="1|~" zoom-min="15"> <line stroke="#909DFF9C" stroke-width="0.7" stroke-dasharray="15, 5, 5, 5" stroke-linecap="butt" /> <pathText k="name" font-style="bold_italic" font-family="serif" font-size="12" fill="#FFFFFF" stroke="#7DAD7D" stroke-width="2" /> <area src="file:ele_res/p_nature-reserve_x-large.png" /> </rule> </rule>
I haven’t tested it and it probably needs to be converted to current tag-mapping.
Developer of Elevate mapstyle
Dezember 31, 2024 um 06:10 Uhr #57065troNpo
TeilnehmerThank you, following your sample code, I got satisfactory results.
I wonder if it is possible to improve, I want to limit the text to the perimeter lines, currently it is also displayed in the area (as if it were a grid)
In the screenshot I show with a green arrow the desired text and red arrows the one I would like to delete if possible.
<rule cat=“reserva_natural“ e=“way“ k=“leisure|boundary“ v=“nature_reserve|national_park|protected_area“>
<rule e=“any“ k=“protect_class“ v=“*“ zoom-min=“14″>
<pathText k=“name“ font-style=“bold_italic“ font-family=“serif“ font-size=“12″ fill=“#FFFFFF“ stroke=“#035500″ stroke-width=“2″ />
</rule>
</rule>
This is what I use.
Thanks a lot.Dezember 31, 2024 um 11:56 Uhr #57068Tobias
AdministratorThis happens because areas get split up at tile edges in mapsforge maps. So any area larger than a tile consists of several areas, with additional borders at the tile edges. That’s why you see additional pathTexts at tile edges; if a border line is thin enough the repetition isn’t visible, but making a pathText so small is not reasonable.
For administrative borders force-polygon-line=“true“ is used in tag-mapping, so this effect isn’t there because they are only lines, not areas. But doing this with protected areas would mean that they can’t be filled anymore with patterns or colors.
That’s one of the reason why using the calculated bboxweight nodes instead of the areas for captions makes a lot of sense; also captions for areas get also repeated for every tile.Developer of Elevate mapstyle
Juni 8, 2025 um 16:52 Uhr #58028troNpo
TeilnehmerHello again, in my style based on the default Mapsforge style the funicular tracks are not displayed.
Can you give me any clues as to which part of the code I should review? Please, I do not find the error.Juni 9, 2025 um 09:08 Uhr #58031troNpo
TeilnehmerI’ve found the solution, thank you
2 Teilnehmer(n) gefällt dieser Beitrag
-
AutorBeiträge
- Sie müssen angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.