andromaps_hc now standard for openandromaps

Started by kech61, December 02, 2012, 18:22:48

0 Members and 1 Guest are viewing this topic.

kech61

Hello,

It is time for a new theme for the maps on http://www.openandromaps.org
The first theme (cycle_hc) is'nt suitable for the new maps which now include:
- cycle_routes
- hiking_routes
- sac_scale
- mtb_scale
- aso....
Of couse the maps are still for cyclists.
However, with the new updates they developed more and more into a complete solution for all outdoor enthusiast.

So the new name of the theme is andromaps_hc, it's an all_in_one theme covering all kinds of activitys while avoiding overweening features and provides still high-contrast for smartphones.
I'v taken some (ähmm, a lot?  :oops: ) elements from the volatile-theme from jusc - I love how he renderes roads  ;)

In Detail:
- cycle routes are still rendered as in the cycle_hc, this means as dotted lines
  red=icn|ncn
  light blue=rcn
  dark blue=lcn and routes with no valid network tag
- MTB_routes render as green dotted lines
  mtb_scale = 0 > light green
  mtb_scale = 1 > green
  mtb_scale = 2 > dark green
  mtb_scale = 3 > very dark green
  mtb_scale = 4-6 > dark green with 30% more distance between dots
- Hiking routes: dashed lines cross the ways
  red > Internatiol und National hiking routes (iwn,nwn)
  ligth blue > Regional hiking routes (rwn)
  dark blue > Local hiking routes (lwn) and all hiking routes without valid network tag
- sac_scale is assiged to footway|paths
  for a detailed description about the rendering rules of the sac_scale please visit http://www.openandromaps.org/en/legend.html
- cliffs are added, however its a little bit crude (Its impossible to assign a waymark to the direction of a line in mapsforge)
- alpine_huts now render reliable (same for pois bound to ways)
- towns,villages now render at lower zoom levels providing a much better overview
- a lot of minor improvements like addition of historic railways, mountain railways, some buildings, aso...
- aso, aso....

The theme is available on the download page: http://www.openandromaps.org/en/download

The old cycle_hc is still valid for cycling, but its no longer maintained.

The latest Version of the theme is here for download:
http://www.openandromaps.org/wp-content ... aps_hc.zip

The latest mtb_theme is here for download:
http://www.openandromaps.org/wp-content ... ps_mtb.zip

[attachment=0:21haqhnw]mtb_sac_scale.jpg[/attachment:21haqhnw]

@Menion, if you like to add this Theme to the shop - its free for all _and_ will face only minor modification in future. mhh.. hopefully  :mrgreen:
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

gynta

#1
Quote from: "kech61"...add this Theme to the shop
This theme is exclusively useful in combination with your andromaps (OSM - Vectormaps with contourlines, cycleroutes, and more) - right?

kech61

#2
Quote from: "gynta"
Quote from: "kech61"...add this Theme to the shop
This theme is exclusively useful in combination with your andromaps (OSM - Vectormaps with contourlines, cycleroutes, and more) - right?

Yes and no...

The Theme contains all usual tags used by all Mapsforge maps (so it will work with all of them), but only the openandromaps contain additional cycle and hiking route information, I dont know of any other renderer who managed to resolve relations with mapsforge so far.  :geek:
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

Henk van der Spek

#3
Looks good from behind my desk :) Thank you. Will try out this month in the field, I hope.
Motorola G82 5G 6/128 Android 13 and Motorola Moto G73 5G 8/256 Android 13
  •  

gynta

#4
Hello Christian
1.
(e.g.) "pharmacy" is shown after zoomlevel 13 - but disappears on 15 and 17

2.
And very strange: i see dots dots and ...dots
Too much dots.

edit
update: -> viewtopic.php?f=40&t=2700&p=18160#p18160

kech61

#5
Quote from: "gynta"Hello Christian
1.
(e.g.) "pharmacy" is shown after zoomlevel 13 - but disappears on 15 and 17

Should not happen, I invested lost of efforts to reduce this problem (even with pois bound to a way).
However, conficts with other Pios/Refs aso. my happen - please give me a permalink so that I can check this in Detail.


Quote2.
And very strange: i see dots dots and ...dots
Too much dots.

 :mrgreen:

Well, i know not everyone likes the dotted contourlines..
Maybe I switch to Jusc ones in near future  ;)

The solution is simple, just replace the section in the rendertheme with this code (from Jusc's Volatile)

<!-- contour lines level 12 -->
<rule e="way" k="contour_ext" v="*" zoom-min="12" zoom-max="12">  
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#888888" stroke-width="0.3"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.6"/>
</rule>
</rule>
<!-- contour lines level 13 -->
<rule e="way" k="contour_ext" v="*" zoom-min="13" zoom-max="13">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#888888" stroke-width="0.2"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.5"/>
</rule>
</rule>
<!-- contour lines level 14-->
<rule e="way" k="contour_ext" v="*" zoom-min="14" zoom-max="14">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#888888" stroke-width="0.15"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.4"/>
<rule e="way" k="*" v="*">
<pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
</rule>            
</rule>  
</rule>
<!-- contour lines level 15-->
<rule e="way" k="contour_ext" v="*" zoom-min="15" zoom-max="15">
<rule e="way" k="contour_ext" v="elevation_minor" zoom-max="15">  
<line stroke="#888888" stroke-width="0.12"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.3"/>
<rule e="way" k="*" v="*">
<pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>
<!-- contour lines level 16 -->
<rule e="way" k="contour_ext" v="*" zoom-min="16" zoom-max="16">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#888888" stroke-width="0.08"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.2"/>
<rule e="way" k="*" v="*">
<pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>  
<!-- contour lines level 17 and above -->
<rule e="way" k="contour_ext" v="*" zoom-min="17">
<rule e="way" k="contour_ext" v="elevation_minor">  
<line stroke="#888888" stroke-width="0.06"/>
</rule>
<rule e="way" k="contour_ext" v="elevation_medium|elevation_major">  
<line stroke="#888888" stroke-width="0.15"/>
<rule e="way" k="*" v="*">
<pathText k="ele" font-style="bold" font-size="10" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
</rule>
</rule>
</rule>

Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

gynta

#6
thx i will try

i found the problem with missing icons
it was another icon ("phone" in this case) close to pharmacy
that's "overruled" first icon

kech61

#7
Quote from: "gynta"it was another icon ("phone" in this case) close to pharmacy
that's "overruled" first icon
Thx for bringing this issue to my attention and for checking, I will resort the rendering order in some ways,
IMO hospital, pharmacy etc.. should have priority.
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

kech61

#8
There is a heavy bug in Mapsforge that leads to totaly unpredictable results redering

mtb:scale [0-6]
mtb:scale:uphill [0-5]

I'm currently rerendering all European maps with a workaround, these maps will be online end of Dezember/ beginn of January with a new version of the rendertheme.
The maps that are currently online are perfect besides the mtb:* issue.

All work on the new mtb_theme is delayed for 2 weeks - sorry.
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

kech61

#9
Quote from: "kech61"There is a heavy bug in Mapsforge.....
All work on the new mtb_theme is delayed for 2 weeks - sorry.

The new rendered Maps are online + a mtb_theme
As a Christmas gift finally the "ALPS" with enhanced coverage and high resolution contourlines is available for Download.

The Renderthemes are enhanced too with smarter Contourlines and many other new features.

Merry Christmas
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

gynta

#10
thx for the alps, but...
i have a Déjà vu  ;)

These are not the alps.
You have forgotten some of my good friends in italy and france.

=> few month ago...
viewtopic.php?f=43&t=1717&hilit=alps&start=20#p11643

maybe for the next release...

kech61

#11
Quote from: "gynta"These are not the alps.
You have forgotten some of my good friends in italy and france.
=> few month ago...
viewtopic.php?f=43&t=1717&hilit=alps&start=20#p11643

maybe for the next release...

 :D

The current coverage is on the edge of the possibilitys of my rendermachine (a Lenov0 T410 in fact), a few MB more and it will crash.
However, if someone could donate a rock solid redermachine with at least 16GB Ram I would create such a map instantly.  :mrgreen:

is there a small old, lonesome server lying somewhere in a corner  :?:   ;)

The technical problems of full automated map creating with all bells'n whistles (besides the equipment) are already solved  ....
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

gynta

#12
see old post again.
if u use the right borders - the real alps file are smaller than yours.

viewtopic.php?f=43&t=1717&hilit=alps&start=40#p11736

kech61

#13
Quote from: "gynta"see old post again.
if u use the right borders - the real alps file are smaller than yours.

You are right, of couse.
However, it makes quite a differece if you map the flats in lower Austria, southern Germany rather than the Alps in France (FranceAlps.map is 309MB of size) couse of the contourlines, even if this covers the same area.

And, mhhhh.... I'm a little bit selfish .... I want to have whole Austria on the map  ;)

I will give the whole alps a try when I'm home from vacance even if the task manager showed up memory consumption of 1390mb of 1400mb heap space...
Best regards/ Grüsse
Christian
www.openandromaps.org
  •  

zsero

#14
Hi Christian,

I really like the new theme. I cycle/hike and now I'm set with this theme only! It works with other maps too, like the Central European maps from http://openmaps.eu/, although it's not as useful as with it's native maps.
  •