Where to find render profiles (like "default.render.xml"?

283 views
Skip to first unread message

Nils Becker

unread,
Jun 22, 2013, 6:10:26 AM6/22/13
to osm...@googlegroups.com
Hi,

first of all thanks for this awesome project. I've downloaded the APK and I really like the rendering. For a research project I want to implement a simple indoor navigation, and I'm thinking to use a slightly modified/simplified fork of OsmAnd for that.

Unfortunately I'm not able to execute the (unmodified) project correctly, because the app can't find the render-xml-files like "default.render.xml". If I get things right those files should be place in the folder net/osmand/render - if yes, I can't find them there (https://code.google.com/p/osmand/source/browse/#git%2FOsmAnd-java%2Fsrc%2Fnet%2Fosmand%2Frender).

Any suggestions what to do, to get those files?

Regards,
Nils

Harry van der Wolf

unread,
Jun 22, 2013, 6:25:52 AM6/22/13
to osm...@googlegroups.com
Some of the render profiles are built-in profiles inside the apk. Those profiles can be found inside https://github.com/osmandapp/OsmAnd-resources/tree/master/rendering_styles

(note that the entire source folder structure under https://github.com/osmandapp has been changed in the past couple of days. It took me some time to find it back)

Other custom profiles will be saved into /osmand/rendering on you SD-card. So you can take one of the built-in profiles and create a new profile based on one of those.

Harry

2013/6/22 Nils Becker <androi...@googlemail.com>

Hardy

unread,
Jun 23, 2013, 4:22:28 AM6/23/13
to osm...@googlegroups.com
Nils, If you want your new indoor renderer to be beased on the current default renderer (and only want to record the changes vs. that), you may want to start from the "Depends renderer template" I had created way back, it should be in the same folder.
 
- Note that you do not have to re-compile anything, just put your xml under osmand/render on your sd card, and re-start the app
- Make sutre that you stick to the file name convention xxx.render.xml. If you make changes, it is advisable to not re-use the same file name (caching problem), instead I suggest you add a version number like xxx_v1.render.xml, etc.

 

Nils Becker

unread,
Jun 23, 2013, 5:38:46 AM6/23/13
to osm...@googlegroups.com
Thanks for your responses and suggestions. I have to integrate a map with an indoor navigation feature into an existing app, therefore I'll need to be able to compile the project as well. But I guess you are right, that it's a good start to use the existing APK and play around with the render.xml.

Regards,
Nils


2013/6/23 Hardy <hm.gg...@gmail.com>
Nils, If you want your new indoor renderer to be beased on the current default renderer (and only want to record the changes vs. that), you may want to start from the "Depends renderer template" I had created way back, it should be in the same folder.
 
- Note that you do not have to re-compile anything, just put your xml under osmand/render on your sd card, and re-start the app
- Make sutre that you stick to the file name convention xxx.render.xml. If you make changes, it is advisable to not re-use the same file name (caching problem), instead I suggest you add a version number like xxx_v1.render.xml, etc.

 

--
You received this message because you are subscribed to a topic in the Google Groups "Osmand" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/osmand/xzQHWm2z_wM/unsubscribe.
To unsubscribe from this group and all its topics, send an email to osmand+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Reply all
Reply to author
Forward
0 new messages