[Talk-GB] OSMand styles - customised to match Ordance Survey linetypes etc
Andy Townsend
ajt1047 at gmail.com
Sun Jun 13 14:05:19 UTC 2021
On 13/06/2021 09:40, Warin wrote:
> On 12/6/21 5:36 am, Andy Townsend wrote:
>> On 11/06/2021 19:21, Ken Kilfedder wrote:
>>> Has anyone come across a customised Map Style for OSMand that
>>> replicates some/most/all of the linetype conventions and other
>>> styles of Ordnance Survey?
>>
>> It's not exactly what you're looking for, but
>> https://www.openstreetmap.org/user/SomeoneElse/diary/391499 is "how
>> you might go about creating something like that".
>>
>> Just changing the colours for things that OsmAnd already shows is
>> easy. The tricky bit is that there are things that OS Maps just "do
>> differently" to OsmAnd - handling public rights of way as an
>> overprint is just one example.
>>
>
>
> Pity there is not more that can be varied in OSMand rendering.
>
There is! You just need to know how to do it.
>
> I'm not happy with my colour choices when rendering landuse=forest
> (leaving natural=wood 'standard').
>
That should be pretty straightforward.
https://www.openstreetmap.org/user/SomeoneElse/diary/391499 describes
changing the colour for natural=heath. A quick look at an OsmAnd
default_render.xml that I had lying around has this in it:
<!-- Forest -->
<renderingAttribute name="woodColor">
<case nightMode="true" attrColorValue="#192e33"/>
<case attrColorValue="#87cc70"/>
</renderingAttribute>
<renderingAttribute name="forestColor">
<case attrColorValue="$woodColor"/>
</renderingAttribute>
so it looks like "forest" is defined as "the same colour as wood" and it
should not be difficult to change it to another colour instead.
Best Regards,
Andy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20210613/f731d879/attachment.htm>
More information about the Talk-GB
mailing list