Author Topic: Neue openandromaps-Karten mit d. zugeh. Themes inkompatibel?  (Read 6690 times)

Offline fred_999

  • Newbie
  • *
  • Posts: 9
    • View Profile
Hallo,

ich habe mir heute die neue (15.05.) "Germany - NEW hike+cycle full coverage" -Karte von openandromaps heruntergeladen. Die Karte funktioniert mit allen alten Themes problemlos, aber bei den zugehörigen Themes wird keine Karte angezeigt - nur der Schriftzug "laden".

Kann das jemand verifizieren?


Gruß
Fred
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #1 on: May 20, 2013, 07:35:50 »
Hallo Fred,
verifizieren konnte ich den Fehler, er äussert sich so:
E/DatabaseRenderer(18788): java.lang.IllegalArgumentException: invalid bitmap source: jar:/org/mapsforge/android/maps/rendertheme/osmarender/symbols/campSite.png
Allerdings konnte ich beim besten Willen nicht rausfinden, was zu diesem Fehler führt:
- die Datei campSite.png gab es auch im alten Theme mit identischem Inhalt
- sie wird in andromaps_hc.xml in der alten wie in der neuen Version identisch referenziert
aber: ersetze ich die neue andromaps_hc.xml durch die alte (es gibt nur drei minimale Unterschiede!), so funktioniert das Theme.

[ENG]
@Menion:
Don't know if you'll read this. I think this is actually a problem in mapsforge library, not in rendertheme. I could provide both new and old theme (which are actually *identical* except three minimal changes all of the kind dy="35" changed to dy="-10":
            <caption k="name" dy="-10" font-style="bold" font-size="14" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline fred_999

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #2 on: May 20, 2013, 09:11:27 »
Danke für die schnelle Antwort, ich habe noch eine andromaps_hc.xml vom 30.03.2013, mit dieser funktioniert die neue Karte ja zum Glück.


Gruß
Fred
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11854
  • Thanked: 436 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #3 on: May 20, 2013, 16:36:33 »
[ENG]

hello tommi,
  hmm not clear how should I help you. If there is any problem in mapsForge renderer, then I should of course try to fix it in Locus. Best is to privide sample map, theme in zip, coordinates and zoom level of problematic place and description what you expect ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
Support email: locus.map@asamm.com
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #4 on: May 20, 2013, 17:01:36 »
[ENG]

Hi Menion, good to know that you read the german posts as well (I only rarely read the chech ones:).

Here we go:
Map: http://www.openandromaps.org/maps/Germany/saarland.zip (or any other one from this site)
Theme: http://www.openandromaps.org/wp-content ... aps_hc.zip , eachof the three themes has/makes? the same problem
Coordinates: Just anywhere in the map, e.g N49 E06
Zoom level: any zoom level

What happens: Map screen shows "Loading ..." forever due to crash
Happens in both latest Locus Pro and Free from this forum
Map works with other themes, e.g. older themes from this site or e.g. Locus internal themes
Enough? If not, I can provide catlog but I think in this case you can create one by yourself :)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1895
  • Thanked: 20 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: AW: Neue openandromaps-Karten mit d. zugeh. Themes inkom
« Reply #5 on: May 20, 2013, 21:52:53 »
[ENG]
Strange, for me it works at least with latest andromaps theme and latest full Germany map.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline Menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11854
  • Thanked: 436 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #6 on: May 20, 2013, 23:42:45 »
[ENG]
sorry tommi, in this case I'll need a CatLog because for me it also works without a problems
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
Support email: locus.map@asamm.com
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: AW: Neue openandromaps-Karten mit d. zugeh. Themes inkom
« Reply #7 on: May 21, 2013, 06:55:01 »
[ENG]
Quote from: "jusc"
Strange, for me it works at least with latest andromaps theme and latest full Germany map.
Whatever latest theme means, I downloaded it yesterday morning and I have the problem also with latest full Germany map from there.

Anyway, Menion I've sent you two mails with catlog and theme few minutes ago.
Thanks
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11854
  • Thanked: 436 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #8 on: May 21, 2013, 07:23:57 »
[ENG]
fine ...

firstly, log is full of
Code: [Select]
java.lang.IllegalArgumentException: invalid bitmap source: jar:/org/mapsforge/android/maps/rendertheme/osmarender/symbols/campSite.png
which is on line 425 of theme you send. Refering to internal icons of Locus is really not recommended. Paths may change without a reason and result is this. Btw. current path is now
Code: [Select]
/org/mapsforge/map/theme/symbols/campSite.svg
but it's really not recommended

secondly there is small error in one locus part, but it's nothing serious, just notification that there were some problems. So seems that this theme do not crash Locus, it just do not draw map tiles right? Ah you wrote this, fine ... so this is a problem :).
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
Support email: locus.map@asamm.com
 

Offline jusc

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1895
  • Thanked: 20 times
    • View Profile
  • Device: Samsung Galaxy S2 and Note 2
Re: AW: Neue openandromaps-Karten mit d. zugeh. Themes inkom
« Reply #9 on: May 21, 2013, 08:43:24 »
[ENG]
Quote from: "tommi"
Whatever latest theme means, I downloaded it yesterday morning and I have the problem also with latest full Germany map from there.


Just tested once more. I downloaded the germany map from 2013-05-15 and the extra theme for Locus from http://www.openandromaps.org/downloads/. The  date of the Locus theme is 2013-05-20 8:11.
I think you know this: With Locus you can not use the theme bundled with the map, it´s only for Oruxmaps.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Regards J.
 

Offline fred_999

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #10 on: May 21, 2013, 09:10:10 »
Hallo,

ich hatte gestern Mittag noch den Fehler auf der openandromaps Supportseite gemeldet.
Christian hat dann umgehend ein funktionierendes Theme für Locus eingestellt, läuft jetzt perfekt.


Gruß
Fred
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: AW: Neue openandromaps-Karten mit d. zugeh. Themes inkom
« Reply #11 on: May 21, 2013, 12:42:03 »
[ENG]
Quote from: "jusc"
Quote from: "tommi"
Whatever latest theme means, I downloaded it yesterday morning and I have the problem also with latest full Germany map from there.


Just tested once more. I downloaded the germany map from 2013-05-15 and the extra theme for Locus from http://www.openandromaps.org/downloads/. The  date of the Locus theme is 2013-05-20 8:11.
I think you know this: With Locus you can not use the theme bundled with the map, it´s only for Oruxmaps.
So theme was changed *after* my download (In the theme I've downloaded campSite.png was referred twice, one time correctly with file:/symbols/campSite.png and the other time with the blabla/mapsforge/blabla/campSite.png path!)

And I was writing talking about theme for Locus, see my link.
Seems Christian made a silent update.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline tommi

  • Global Moderator
  • Professor of Locus
  • *****
  • Posts: 1232
  • Thanked: 2 times
  • Devices: Samsung S7 + S5 + S3 + Nexus7 flo
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #12 on: May 21, 2013, 12:46:56 »
[ENG]
Quote from: "tommi"
@Menion:
Don't know if you'll read this. I think this is actually a problem in mapsforge library, not in rendertheme. I could provide both new and old theme (which are actually *identical* except three minimal changes all of the kind dy="35" changed to dy="-10":
            <caption k="name" dy="-10" font-style="bold" font-size="14" fill="#000000" stroke="#ffffff" stroke-width="2.0" />
)

Ah, I should also point on this: In the previous theme (maybe 1month old or so) which was also running without problems the bad path was also contained and Locus did display the map. The only changes between the two themes are the mentioned ones.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline kech61

  • Apprentice of Locus
  • **
  • Posts: 169
  • Thanked: 4 times
    • View Profile
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #13 on: May 21, 2013, 12:57:26 »
[ENG]
Hi all,

Sorry for late answer, there was a faulty Theme online for some hours, please redownload the latest ones from my site, they are working.
I haven't checked compatibility with locus for some days cause my SD-Card corrupted Locus an I had to replace it and reinstall Locus.

The problem with the themes was a C/P-snippet from the orux theme with a wrong path.
The advantage of the new theme is that the symbol for campsites is rendered for those tagged as attributes to areas too.

Sorry for the faulty theme  :oops:

And yes, the themes included in the downloads of the maps are for Orux only, I include them in every map couse Orux lacks the comfort of a themeswitcher like Locus.
The Themes for Locus are available at the header every Downloadsection.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Best regards/ Grüsse
Christian
www.openandromaps.org
 

Offline Menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11854
  • Thanked: 436 times
    • View Profile
    • http://www.asamm.com
  • Device: Pixel 2
Re: Neue openandromaps-Karten mit d. zugeh. Themes inkompati
« Reply #14 on: May 21, 2013, 14:33:24 »
[ENG]
perfect, good to hear, thanks Christian ...

just for your info. If you create separate themes for Locus, you may also use advantage of SVG support and support for also some special tags, like rescaling icons based on zoom. We use this in internal themes so it should be well tested. Just for your info ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
Support email: locus.map@asamm.com