Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tobias

Pages: 1 ... 4 5 [6] 7
76
Discussion/New features / Re: Mapsforge 0.5
« on: May 22, 2015, 09:43:45 »
Thanks a lot, that was very fast.
Thanks Tobias, I've changed SVG libraries and not seems to correctly parse all icons.
I hope you mean "now seems to correctly parse all icons."  :)

77
Discussion/New features / Re: Mapsforge 0.5
« on: May 21, 2015, 22:25:04 »
May You give me link on theme and map I may use for test? Thanks
Sure: http://www.eartrumpet.net/temp/Elevate3_Locus_SVG.zip
One thing I found - I converted most contours to shapes to make it possible to have white outlines. Maybe the shapes of the supermarket basket etc. are a bit too complex now.
Best regards,
Tobias

78
Discussion/New features / Re: Mapsforge 0.5
« on: May 21, 2015, 21:50:24 »
I just hope that other theme developers will support the Locus solution soon. However, I'm not very optimistic about the Elevate themes, as the developer already implemented MapForge 0.5, and I'm not betting on them to support two different solutions at the same time...

Good news for you, I made a script which converts Elevate 3 with mapsforge 0.5 tags to Locus, with style switcher. Works quite well, only switchable layers had to be removed and some other stuff and will be released soon. The last big problems I have are with SVG icons and Locus, probably the release will be only with PNGs.

@menion - there are strange behaviours with some icons, it's probably the SVG render engine. Some tiles aren't even rendered because of that.
The icons work fine with the one mapsforge 0.5 uses: https://code.google.com/p/androidsvg/
The former one, https://code.google.com/p/svg-android/, was replaced because of similar issues. I attached a comparison with a PNG version.



79
Discussion/New features / Re: Mapsforge 0.5
« on: May 06, 2015, 21:41:17 »
@John: You're right, can't is wrong, it can be done, but the costs would be way out of proportion of the benefits. I'd invest the time better in a Locus conversion of Elevate 3 :-)

80
Discussion/New features / Re: Mapsforge 0.5
« on: May 06, 2015, 20:39:38 »
I just hope that other theme developers will support the Locus solution soon. However, I'm not very optimistic about the Elevate themes, as the developer already implemented MapForge 0.5, and I'm not betting on them to support two different solutions at the same time...

You're right, at the moment it seems not very reasonable.
I first thought about adapting Locus styles, too, but then I would have three different versions to maintain, as there are other apps that still require regular 0.3 themes. Adding only Locus styles wouldn't be different to the variations I developed with several xml files, which are generated out of one base theme file. The only advantage would be to have only two files instead of four, as Elements can't be made in the same file.

I still hope that one day it will be easier again :-)

Best regards,
Tobias

81
Discussion/New features / Re: Mapsforge 0.5
« on: April 07, 2015, 22:40:57 »
I don´t know if users really change or (de)activate often symbols or captions.

Me neither, but I had often requests that those symbols/captions are more important than others and vice versa, so now one can choose which to show (it helps a lot with symbol/caption elimination, too). I usually assume that people know better than me what they want so having the option to get closer to it isn't hurting.
Probably most of the time users set their overlays only once, but there are other cases:
I sometimes use the routes in the maps for hiking/cycling and now can switch on strong overlays for those, and sometimes I don't and can deactivate routes altogether. Or I usually don't need to see hospitals in a city map, but in emergency I only want to see those (OK, there are other solutions for that in Locus now).

Changing the whole theme with Locus is not much more work for users.  ;)
Depends on the user ;-)

Best regards,
Tobias

82
Troubles & Questions / Re: How to hide Vector Map icons/items?
« on: March 04, 2015, 18:26:16 »
There are three possible answers to limiting the vector map symbols:
A different one is the possibility that mapsforge 0.5 style menus could be added to Locus, as discussed here:
http://forum.locusmap.eu/index.php?topic=4311.0
This allows adding different map items to categories, which can be switched on and off. Have a look at the preview version of Elevate 3, which isn't compatible with Locus (yet), but I added different groups of switchable POIs:
http://www.openandromaps.org/en/oam-forums/topic/elevate-updates-and-test-versions-news#post-4059
It can be easily tested with Atlas on the Desktop:
http://wiki.openstreetmap.org/wiki/Atlas_%28navigation_application%29
Best regards,
Tobias

83
Discussion/New features / Re: Mapsforge 0.5
« on: February 22, 2015, 20:28:09 »
I was worried you'll need this :) ... hmm it will be task on a longer nights.
I am worried to hear this ;-)
But it's really additional value to have this, I got really good feedback from users from the first previews for having the option to (de)activate different parts of the map (symbols, routes, captions etc.).
Best regards,
Tobias

84
Discussion/New features / Re: Mapsforge 0.5
« on: February 20, 2015, 21:14:17 »
Thanks for your response, I'm glad you're still into it.

Best should be, if you should make just one theme for all apps right? Them may you write first (maybe first two) major things I should examine in new XML file and which you really desperately needs? Thanks

You're right, there is one major obstacle which makes it nearly impossible to convert 0.5 themes to Locus: stylemenus and categories with overlays, as described here:
https://github.com/mapsforge/mapsforge/blob/master/docs/Rendertheme.md#stylemenus

It opens up a lot of possibilities, so I made intensive usage of it in my new previews. But it needs a user interface with mapstyle and layer selection.
Other new tags may possibly be converted by a script as a workaround for the time being.

And what does it mean for all other themes?

Other apps which support Rendertheme V4 still support older themes (except Locus extensions of course), so backward compatibility is no problem.

Best regards,
Tobias

85
Discussion/New features / Re: Mapsforge 0.5
« on: February 15, 2015, 23:04:01 »
About themes - I think, it should be a lot easier, to give me a list of tags that do not work in new Locus and are included in v 0.5, and I'll try to add support also for them to Locus.

Hi Menion,
do you still intend to add support for mapsforge 0.5 themes?
At the moment I'm working on a new version based on mapsforge 0.5 possibilities of the Elevate theme for OpenAndroMaps, which of course doesn't work with Locus for now. Maybe it's good for testing:
http://www.openandromaps.org/en/oam-forums/topic/elevate-updates-and-test-versions-news#post-3858
Best regards,
Tobias

86
Hallo,
hast Du es auch mit den Themen von Openandromaps probiert? Also andromaps_hc etc. oder Elevate etc.?
Viele Grüße,
Tobias

87
Versions / Re: [APP] - version 3.5.X+ (updated 12.12.2014)
« on: December 13, 2014, 10:54:17 »
rescaled icons of vector maps should be solved in 3.5.1 version, ok?

Yes, thanks for the quick fix!

88
Versions / Re: Re: [APP] - version 3.5.X+ (updated 12.12.2014)
« on: December 12, 2014, 22:10:13 »
@Tobias: understand. Quite complicated solution I think, but why not.

It used to be the only compatible solution for all mapsforge 0.3 apps, and with pearl scripts for xml resize and batch svg converts to png it's pretty quick to maintain.

We did some improvements in efficient handling of points and I tried to move closer to latest mapsForge lib. And there I saw this change - using DPI to rescale icons. But I probably saw incorrectly. Sorry

As with mapsforge scaling - it's different, tile sizes are scaled according to dpi, eg. 512px for xhdpi instead of 256px. And as far as I know, only SVG icons are scaled, not PNG.
OruxMaps has an option for PNG icons to be scaled, so it's up to the user to increase or decrease them, which works better.

Best regards,
Tobias

89
Versions / Re: Re: [APP] - version 3.5.X+ (updated 12.12.2014)
« on: December 12, 2014, 20:03:04 »
Hi Menion,
The latter - I have three sizes to download here: http://www.openandromaps.org/en/legend/elevate-mountain-hike-theme.

Not only the symbols are different, but also stroke width/dasharray, font size, dy and circle radius.

A user already asked in the openandromaps forum about the big symbols with the new Locus version.

I use PNGs because of glow effect and transparencies.

Best regards,
Tobias

90
Versions / Re: Re: [APP] - version 3.5.X+ (updated 12.12.2014)
« on: December 12, 2014, 19:32:34 »
Hello Menion,
with 3.5 PNG Icons of mapsforge themes are scaled, probably according to device dpi. As I use already scaled PNG icons for hdpi, xhdpi and xxhdpi devices in my themes, those are huge and ugly now. Is there any switch to disable scaling?
Best regards,
Tobias

Pages: 1 ... 4 5 [6] 7