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.

Show posts Menu

Messages - karlchick

The Transport Map is available on the Locus Store, free, but online only. It seems to cover the whole world...
There are no themes for public transport like buses because the maps, both LoMap and OAM, do not include the relevant data for bus routes.

Train, trams and tube lines are included (but not route colour), so they can be shown, and most themes do show them to some extent.

OSM Data does include line colours, so tube and bus  maps are possible, if the data is extracted to a map file for locusmap...

BTW, you can use the online Transport Map to view bus routes in LM, see attached.
Quote from: balloni55 on January 26, 2024, 15:47:07@karlchick
bitte hier nur deutsche Beitäge posten, danke

Tut mir leid, Chrome hat die Übersetzung automatisch durchgeführt, ich habe nicht erkannt, dass dies der deutsche Abschnitt ist.
Some themes will work with both OAM and LoMap maps, e.g. Voluntary and OS map themes.

Note that LoMap maps now support Designation tag, this is a massive improvement for UK LoMaps, where this tag is used to define different types of public rights of way with different access permissions. See attached.

Obviously you need a theme that can display these, the OS Map theme does this.

Another advantage with LoMaps is they have separate hiking/cycle routes, where as OAM only shows the highest priority route when they follow the same overlapping ways.
Maps / Re: New vector maps for Locus - feedback
January 17, 2024, 23:40:55
@voldapet, a few of us themers were asked recently by Andrew Heard if we could display amenity=bicycle_park, i.e. somewhere to park/lock up you bicycle.

Currently this is not included in the LoMap tagmapping. Would it be possible to include it?
Themes - Vector maps / Re: [Theme] OS Map
January 17, 2024, 22:40:04
We can always ask Voldapet and Christian if they would add bicycle parking to the maps. I think OAM would as they promote using OAM for hiking and cycling.
Themes - Vector maps / Re: [Theme] OS Map
January 17, 2024, 12:26:59
As far as a I know, amenity=bicycle_parking tags are not available in either LoMap or OAM maps.

I suspect the Web-based router planners are using OSM map data directly and so show all available tags on the map rendering.

BTW the red P symbol in my theme represents private parking
Themes - Vector maps / Re: [Theme] OS Map
December 28, 2023, 21:54:36
@lettm, seems you intend to use it as is, would be good if you can let me know if you think it is usable in this form after some field use.

I will fix the bugs we found and area outline issues in the original OS theme, then it will be ready for VTM, if they fix the other issues.

In the short term, it would be quite simple to have a script that converts the released day/night OS theme files to VTM, mostly by multiplying the dash array values by 4.

I did manually tweak the power lines a bit, not very well. I think it possible to redo the power lines using line symbols, maybe....
Themes - Vector maps / Re: [Theme] OS Map
December 28, 2023, 20:58:03
Quote from: Lettm on December 28, 2023, 18:45:43Thank you - that looks really good! this is probably the effect you mention - I'm seeing thick lines for cliffs and a few footpaths.  Ill try and attach an screenshot...

Strange, I don't get that with OAM map.

Are you using a different map?

Did you add the xml theme file into the os file, in the same directory as the other xml theme files?
Themes - Vector maps / Re: [Theme] OS Map
December 28, 2023, 20:40:12
Quote from: twoten on December 28, 2023, 19:37:03What is the difference and advantage of VTM (when it works)?

Symbols and names rotate with the map, see attached.

I think VTM also supports 3D mapping, like on a satnav... if the app supports it...
Themes - Vector maps / Re: [Theme] OS Map
December 28, 2023, 00:14:02
Had a play with the VTM dash array values, got most of them working-ish (again only 25k).

Finding lack of support for round and square linecaps a pain, and it seems dash array values are not comparable between lines of different widths.

Also, when multiple ways follow the same coordinates, the dash arrays don't always line up, e.g. route on a path.

@lettm, attached is the hacked theme file. If you wish to try it out.
Themes - Vector maps / Re: [Theme] OS Map
December 27, 2023, 20:25:49
I can see the same issues in tapiola and voluntary themes too, dashes are too short, too many symbols shown without priority used, overlapping areas deleted, lack of dy offsets.
Themes - Vector maps / Re: [Theme] OS Map
December 27, 2023, 18:44:45
@lettm, attached is a hacked version of the day time theme file, I only fixed the area commands for 25k option. Saves you doing it all again.

I just added it to the "OS" and selected "OS Map Test" from the theme selection.

I'm wondering if the dash array issues can be fixed by emux, otherwise a much more effort way would be to create a MF / VTM overlay option and adjust the sdash array numbers to suit VTM... maybe...
Themes - Vector maps / Re: [Theme] OS Map
December 27, 2023, 17:00:17
OK, managed to figure out what was causing my theme to crash in the VTM viewer, a couple of rules like this (no idea how they ended up like this):

    <rule e="any" k="*" v="*|~">

Fixing these rules fixed the crashing, but I also found many incompatibilities with the VTM viewer:

- area outlines have to be drawn separately using line command.
- dy offsets appear not to work on anything I've used in the theme.
- dash arrays on lines have a different scaling (4x smaller?) and do not seems to work very well as you zoom.
- dash arrays vary with line thickness
- lines are slighter thicker.
- no support for stroke-linecap round or square.
- line images are distorted/stretched.
- areas that overlap of the same tag sources are mutually exclusive and disappear where they overlap.
- priority seems to be ignored for symbols and text.

My theme uses dash arrays and dy offset a lot, making the VTM viewer not very acceptable. See attached screenshot comparing GB OAM map in ORUXMAPS using mapsforge viewer (left) vs VTM viewer (right).

In summary, I would say that VTM viewer for mapsforge themes is not really ready yet.
Themes - Vector maps / Re: [Theme] OS Map
December 23, 2023, 21:21:18
Quote from: Lettm on December 07, 2023, 12:13:46... ORUXMAPS... beta version ... experimental VTM display does not work with your theme.  It used to blue screen completely until their last update, now if it can't load a theme it reverts back to a default theme.  The viewer does work with John Campbell's Voluntary theme.  The viewer is very good - it keeps place names the right way up as you rotate the map. I can't see any error logs so have no idea what the problem is. 

I've downloaded the beta ORUXMAPS and tried VTM, as you say it doesn't work with my theme but does with John's Voluntary theme (which OS Map was originally based on).

I really like the VTM viewer and would like to see it working with my theme. Not sure where to start debugging this. I guess there might be some mapsforge tag attributes not supported by VTM?, or maybe some of my SVG files are not fully compatible tiny SVG...

May take a while to figure out...

Anyone know is there are any tag rules that are not compatible with VTM viewer?