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 - papab

Pages: [1] 2
Maps / lomaps tags included
« on: June 28, 2020, 02:59:02 »
Is there a list of keys included in lomaps?   I've been told that there is a limitation in mapsforge so each way can include only 15 tags (including relations), so openandromaps has done some trimming.   They've trimmed out some tags that I want so I'm working on my own .map.   But if lomaps has what I want it would be well worth my time to purchase these.   Is there a list somewhere of what keys are included?   Some of the keys that I'm looking for, that OAM does not include are:

Thanks John for the illogical tip, I'll try it.
Yes, my example came about because I'm using an OAM .map file, and it tag-transorms many surface tags into smooth_paved.   It doesn't look like the tag-transform has a way to pick up the stray tags either.

I've been using mkgmap for a couple of years and it handles this stuff much better.   You can process a way, and if it matches it doesn't execute they following code, so if it doesn't match anything you can catch everything left with a wildcard.

Something like the following was supposed to work at one stage but I'm not sure it is correct or bug free:
Code: [Select]
<rule e="way" k="surface" v="smooth_paved">
<line stroke="#AAAAAA" stroke-width="0.9" stroke-dasharray="2,2" stroke-linecap="butt" />
<rule e="way" k="surface" v="*|~">
<!-- value matches everything *else* or nothing -->
I know that is pretty non-standard!
Maybe I'm missing something.  For a smooth_paved road, your example will match both rules, won't it?

I think the only way is to have a rule that matches all the alternative values of surface.
The problem with this is that a due to the anarchic nature of OSM, all the values of surface are not known are they?

Code: [Select]
<rule e="way" k="surface" v="smooth_paved">
<line stroke="#AAAAAA" stroke-width="0.9" stroke-dasharray="2,2" stroke-linecap="butt" />
Then have a rule for a surface which is anything else but smooth_paved?

something like v=~"smooth_paved"

Themes - Vector maps / Re: custom map and theme
« on: June 27, 2020, 01:17:48 »
I'll answer my own question.   It appears that if the map is a v3 map, the theme has to be v3, etc.

Themes - Vector maps / custom map and theme
« on: June 20, 2020, 22:56:58 »
I starting to create my own custom mapsforge map and theme.   I can load the theme and use it with an openandromap map, or I can load the homebuilt map and some standard themes show up on the menu, but not mine.   
Any ideas why the theme  won't show up with the new map?

Edit: it works in Cruiser, but not in Locus (up to date pro version)
Edit: It looks like a V3 vs V4 issue, maybe my .map is V3.   Not sure why, I have the latest mapsforge jar file.

Troubles & Questions / export to network shared folder
« on: May 17, 2020, 17:42:58 »
I'd like to export my tracks as I create them to a shared network folder.   I have ASUS File Manager app installed and it can access the shared folder.   I've tried 2 ways to export to the network folder
1) Using the Data Export from the track detail.  The net folder does not show up.
2) Using Share from the track detail, the File Manager app doesn't show up.

How can I do this so I don't have to execute the extra steps of saving the file on the device, then using the File Manager to move or copy it?

Themes - Vector maps / Re: desktop app
« on: August 30, 2019, 16:32:54 »
Mine looks like the 2nd screen shot that you posted
"Cruiser which looks like under Android Screenshot.png"

There is a cruiser forum that the developer is active on:!forum/cruiser-users

Themes - Vector maps / Re: desktop app
« on: August 30, 2019, 03:04:21 »
I'm on linux, and in the top left of the window is a 'Map' button, which opens a pulldown menu with options for 'open maps' and 'open style'

Themes - Vector maps / Re: desktop app
« on: August 28, 2019, 20:38:33 »
Thanks.  I see my mistake, I was inadvertently using a V3 theme.  The V4 theme does not use cubic, & loads in cruiser.

Themes - Vector maps / Re: desktop app
« on: August 28, 2019, 18:59:14 »
He did not explicitly say that about V4.  Are you implying that V4 is standard mapsforge, not a fork?

What it failed on is line curve  = cubic.

Themes - Vector maps / Re: desktop app
« on: August 28, 2019, 05:00:52 »
I'm using V4 maps and themes

Themes - Vector maps / desktop app
« on: August 28, 2019, 04:04:54 »
Is there a linux desktop program that can use Locus themes and openandromaps maps?    I'd like to use the same map and theme on my desktop to do some development on a theme.  I found cruiser, but it doesn't work with some locus themes.   The developer said: "Locus seems to use a modified Mapsforge and not being much compatible with the rest community."

Troubles & Questions / Re: navigation turns
« on: January 04, 2019, 18:37:30 »
I just got back from a long trip & I don't recall exactly where they were, but I've created 2 test cases.
locus version 3.35.2
desert center N 33.713176  115.400324 to
W 33.6666, 112.3255
brouter, brouter profile, fast, or brouter,  locus profile car-fast
At 47.9 and 173 mi ( 77, 278km) , the router exits the highway and gets back on. 
Using graphhopper, Car, same start and end,   doesn't have the exit & reentry, but has some extra/confusing guidance at 68.8 and161 mi (111 and 259 km)

Using Graphhopper. Car
ElCajon, CA, USA,  32.79477  116.962527  to
Yuma, AZ, USA,   32.725325  114.624397
Extra/confusing guidance at 62.9 and 152 mi (101, 245 km)

Pages: [1] 2