OpenStreetMap Forum

The Free Wiki World Map

You are not logged in.

#1 2019-10-01 13:29:13

Bernhard Hiller
Member
Registered: 2011-05-10
Posts: 871

OsmAnd customization: challenge 1 - showing custom lines

It is said that OsmAnd maps can be customized. I read some texts on it, and tried it, and I do not get it working completely.

https://drive.google.com/open?id=1zsg9V … UkvNsUupmE  is a file containing OSM data for the region from 73 to 74°W and 39 to 40° S. I combined the original OSM data with custom data.
Those custom data consist of ways having always a ank_type=ank tag. Next, they have a rsw_type tag with values rsw_max, rsw_int, rsw_min, and a numeric (positive integer) hmz, which I want to use as a name.

I get most of these lines shown in OsmAnd, but some are missing. I do not find any shared tags between those lines, apart from the fact that the lines with higher hmz values are more likely to be missing (but others with the same hmz value and same rsw_type are not). The name is never shown.

What changes have to be made to rendering_types.xml, and how must MY.render.xml look like?

Last edited by Bernhard Hiller (2019-10-01 13:31:45)

Offline

#2 2019-10-01 15:45:33

SomeoneElse
Member
Registered: 2010-10-13
Posts: 1,172

Re: OsmAnd customization: challenge 1 - showing custom lines

If you get an answer here, great, but if you don't, you might want to try https://groups.google.com/d/forum/osmand , as that's where most OsmAnd questions get asked.

Offline

#3 2019-10-01 15:54:08

Bernhard Hiller
Member
Registered: 2011-05-10
Posts: 871

Re: OsmAnd customization: challenge 1 - showing custom lines

SomeoneElse wrote:

that's where most OsmAnd questions get asked

... and stay ignored, like https://groups.google.com/forum/#!topic … EL53Tt0lMs

Offline

#4 2019-10-08 17:30:06

Bernhard Hiller
Member
Registered: 2011-05-10
Posts: 871

Re: OsmAnd customization: challenge 1 - showing custom lines

Partially solved: the OsmAnd rendering engine fails with rendering lines when they are closed (also when the first node and last node of a way are at the same location, the way is deemed closed).
Consequently, a change in the input data is required such that no "closed" lines are present.

Still, no text is displayed.

Offline

Board footer

Powered by FluxBB