OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>

Join the forum, it's quick and easy

OruxMaps
Visit the new forum: <a href="http://www.oruxmaps.com/foro">OruxMaps</a>
OruxMaps
Would you like to react to this message? Create an account in a few clicks or log in to continue.

MAPSFORGE 0.30 - OpenCycleMap?

+2
chilobo
OpenCyclist
6 posters

Page 2 of 2 Previous  1, 2

Go down

MAPSFORGE 0.30 - OpenCycleMap? - Page 2 Empty Re: MAPSFORGE 0.30 - OpenCycleMap?

Post  chilobo Thu Apr 12, 2012 7:49 am

OpenCyclist wrote:Maybe you could address your issues here:

groups.google.com/group/mapsforge-dev

The mapsforge team is very kind and open for comments flower

OK, seems to be appropiate.

Just to finish this up:
The hint
kech61 wrote:

If you want to debug the themes just install the mapviewer.apk from mapsforge on your phone, this app produces real error-popups and not only a black screen.
But be carefull, it caches even erratic themes so you must switch back to the osmarender theme, upload the new theme and switch to these.

was very helpful. Placing
Code:

   .....
      <!-- cycleway matches ways with a "highway=cycleway" tag -->
      <rule e="way" k="highway" v="cycleway" zoom-min="13">
              <line stroke="#8800FF" stroke-width="0.2" stroke-dasharray="15,5" stroke-linecap="butt"/>
          </rule>


</rendertheme>

at the end of the themefile renders simple cycleways in advancedmapviewer as well as in oruxmaps.
I will discuss the problems with relations with mapsforge.

Thanks Christian

chilobo

Cantidad de envíos : 15
Fecha de inscripción : 2012-02-19

Back to top Go down

MAPSFORGE 0.30 - OpenCycleMap? - Page 2 Empty Re: MAPSFORGE 0.30 - OpenCycleMap?

Post  kech61 Thu Apr 12, 2012 10:06 am

chilobo wrote:
at the end of the themefile renders simple cycleways in advancedmapviewer as well as in oruxmaps.
I will discuss the problems with relations with mapsforge.

Hello Christian,

I took a look to the structure of the OSM, and you are perfect right - the only way to render cycleways (or hikingways etc.) seems to be resolving of relations.
For the international cycling way along the river Danube I found several nested relations and actualy there is no support for this in Mapsforge.

There are tickets open for this issue at Mapsforge, but none of them marked as high priority
So we have to wait, but I'm in doubt that this task could be done on a mobile device.

Another aproach would be to preprocess OSM-Data to resolve the relations and convert them to simple ways (write the specific tags direct to the <way>), but ... pfuuhh... Suspect anyone out here who could do this.. Shocked

regards
Chris


kech61

Cantidad de envíos : 67
Fecha de inscripción : 2012-01-30

Back to top Go down

Page 2 of 2 Previous  1, 2

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum