hiking routes rendering

186 views
Skip to first unread message

chaosjug

unread,
Mar 22, 2013, 5:19:08 PM3/22/13
to osm...@googlegroups.com
I' trying to render the hiking routes which are now in the data.
the custom renderer.xml contains something like this:

        <filter  color="#B20202" tag="iwn_network" value="iwn">
            <filter minzoom="8" maxzoom="12" strokeWidth="6"/>
            <filter minzoom="13" strokeWidth="8"/>
        </filter>

For zoom levels greater than 14 this work fine, but for zoom level 14 and lower the routes don't show up.
Any idea why this happens?

Victor Shcherb

unread,
Mar 22, 2013, 7:42:42 PM3/22/13
to osmand
I believe this is bug. Will look into it. You can double check the data in the file with binary inspector -vmap -bbox=... -z=?

Best Regards,
Victor




--
You received this message because you are subscribed to the Google Groups "Osmand" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

chaosjug

unread,
Mar 23, 2013, 4:26:10 AM3/23/13
to osm...@googlegroups.com
The data is there for every z= I tried.
I don't understand the details of rendering_types.xml, but with the minzoom=8 in the rule, I would have expected to find the network data only in z=8 and higher. But the inspector shows it even for lower zoom levels.

Victor Shcherb

unread,
Mar 23, 2013, 4:18:14 PM3/23/13
to osmand
Sorry, the parameter is called -zoom=10. I will look in the rendering as well, if it is not difficult, please send the OSM link to the place with such network for test purposes.

Victor

Victor Shcherb

unread,
Mar 23, 2013, 5:32:43 PM3/23/13
to osmand, Hardy .
Hi,

I added cycle routes (networks)  to the default rendering style (https://github.com/osmandapp/OsmAnd-jni/commit/71faa0e0c8feaaec8f1a1f31360405a947b24f62). 
I'm not sure whether it is a right place for this rendering attribute. Should we move it to the more specific Hiking rendering style? Also one of the concerns that routes are displayable only in the bicycle mode through property is visible globally.

Best Regards,
Victor

chaosjug

unread,
Mar 24, 2013, 10:50:13 AM3/24/13
to osm...@googlegroups.com
It seems to be a problem in the data generation.

./inspector.sh -vmap -zoom=15 -bbox=12.79,49.05,12.81,49.04 ../Germany_bayern_europe.obf | grep wn_network
returns some route. With zoom=14 I get none.

Without bbox I only get very few routes for zoom=14:
./inspector.sh -vmap -zoom=14 ../Germany_bayern_europe.obf | grep wn_network

Hiking routes are best found on waymarkedtrails.org, e.g.:
http://hiking.waymarkedtrails.org/en/?zoom=13&lat=49.07008&lon=12.76179&base=0.8&route=1#

Concerning the rendering properties: I think its highly confusing, if the property is always visible visible, but the routes only in bicycle mode. appMode="bicycle" is not usable in renderingProperty?

Hardy

unread,
Mar 25, 2013, 11:39:13 AM3/25/13
to Victor Shcherb, osmand
Victor,
 
I suggest we add this to the "Touring view" renderer, where we have already collected all sorts of touring- and profile- specific options and features for different rather special purposes, such as Alpine Hiking features, hiking symbol views, higher contrast highway type discrimination, etc..
 
Best,
Hardy

 

Victor Shcherb

unread,
Mar 25, 2013, 12:08:43 PM3/25/13
to Hardy, osmand
I agree, we could move to Touring view and make it profile independent. That's a plan :)

Best Regards,
Victor

chaosjug

unread,
Mar 25, 2013, 1:37:50 PM3/25/13
to osm...@googlegroups.com, Hardy
Victor,

did you look at the data generation?

Best Regards,
chaosjug

Victor Shcherb

unread,
Mar 26, 2013, 4:09:00 PM3/26/13
to osmand
Not yet.

tamteram

unread,
Jun 7, 2013, 6:56:54 PM6/7/13
to osm...@googlegroups.com
I am trying to modify the rendering style Touring-view_(more-contrast-and-details) for bicycle tours. My problem is that the relations (ncn, rcn, lcn) are only displayed at zoom levels from 12 upwards, but I would like to see at least ncn and rcn at smaller zoom levels in order to get an overview. I have tried to modify the rendering file and get some results, but at zoom levels smaller than 12 only small chunks of some routes are displayed. Can someone give me a hint where the file must be adjusted to get the whole relations at smaller zoom levels?

Max

unread,
Jun 9, 2013, 2:48:05 PM6/9/13
to osm...@googlegroups.com
Yes, I made the same experience.
I explained the gaps below zoom 12 here:
https://groups.google.com/forum/#!msg/osmand/UltaD3u8e7U/zwrbn4ZafY4J

Regards,
Max
Reply all
Reply to author
Forward
0 new messages