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 - jonny.blue

Pages: [1] 2
1
Tools / OpenOutdoorMap - Make your own mapsforge maps for Locus
« on: February 07, 2022, 21:22:52 »
In many weeks of testing I have developed a Windwos batch script to generate maps for Locus which are very close to maps probided by OpenAndroMaps. This script enables you to generate a topographic map for any area of the world.

The script and all necessary software will run on a "normal" Windows 10 PC. All details will be found on my website. Although the website is in German, you can translate the most parts easily and the script inself is mostly in English. You will find download links for the map-generation-script, all necessary other scripts and download links for all software packages.

The maps generated with this script will be named OpenOutdoorMap (OOM) . There is also a test-map for download.

https://www.maiwolf.de/openoutdoormap

I am happy to get any feedback und suggestions.

Regards
Bernard
The following users thanked this post: jonny.blue

2
Themes - Vector maps / Re: [Theme] Voluntary UK
« on: July 05, 2021, 13:35:36 »
Updated themes with emergency access pois appearing later (Thanks, @tapio)

Also a quick beta version of Voluntary Mapsforge (for OAM maps in Locus), which colour codes hiking routes in the Hiking theme only, as requested by @respublikamroja. 
Colours are:
- international walking routes: blue ██
- national walking routes: red ██
- regional walking routes: green ██
- local or unspecified walking routes: yellow ██

Feedback welcome. If positive, I could extend the colouring to other versions of the theme and to cycle routes in the Cycle style - but not to the multi, yellow, or transparent styles in the themes because they allow the user to show both hiking and cycling routes which would become confusing.

Edit: Please note, this does not show the difficulty of visibility of the route, only its place in the hierarchy.
The following users thanked this post: jonny.blue

3
Locus Map / Re: [APP] - version 4.0.+ ( 30. 3. 2021 )
« on: April 20, 2021, 08:03:45 »
ROUND TRIP:
I used to play with the "round trip" feature, but after the first wow effect I decided it was absolutely useless. Who would ever rely on a random rotation function around a point?
It is not possible to define preferences of any kind, be they historical, naturalistic or cultural, so rather than relying on a random function my choice at a crossroads would be that of the road I like best, at least it would be based on my choices.
Unless real utility can be found for this feature, integrating it with the options I wrote above (and all the complications of the case), it should be removed, useful and solid functionality better than things like this that do nothing but generate doubts in users.
Those who use a GPS and map device usually want to rely on certainties, not on a roll of the dice.
But this is just my thought, maybe someone else found it useful, but for now I haven't seen a single post.
The following users thanked this post: jonny.blue

4
I just want to say that I'm looking forward to a new version of Locus Map. I have been using LM4 for a while (demo) and I am very happy.

When it comes to pricing the app, I think you have been quite generous considering that Locus Pro can still be used, and will be maintained further.

I bought the Pro several years back, pretty cheap. And when I think about how much I have enjoyed the app, I think I have paid too little. (Once I even bought some LoCoins that I did not need, just to contribute a little). I understand that it costs to develop the app, and I happily pay some euros a year, in exchange for the program beeing continuously improved and developed.

Thank you for the work you do, and congratulations on the new launch!  :)
The following users thanked this post: jonny.blue

5
Locus Map 4, prep (Archived) / Re: Locus Map 4, discussion (beta)
« on: March 16, 2021, 11:10:43 »
"As I remember, Menion wanted to not overstuff the preset system."

Wrong thinking 😁 IMO the preset system should be overstuffed. We use it to batch apply settings. To avoid to visit specific settings. I love to use presets and I totally dislike having to set map or theme manually...
The following users thanked this post: jonny.blue

6
To the Locus and OpenAndroMaps community,

I have generated big updates for my OpenAndroMaps Locus themes. The new themes "Outdoor" and "Desert" will replace all my previous themes (outdoor, desert, navigation, outdoorV4, desertV4).
The themes got many new features, improvements and corrections. You will find more details on my website www.maiwolf.de/locus/ [in German]. There is now also an online legend for the themes as well as a PDF download version of the legend.

Always download the newest version on: www.maiwolf.de/locus/

 I am happy for any comments, suggestions and ideas. I will try to constantly improve the themes in the future.

Bernard
The following users thanked this post: jonny.blue

7
Themes - Vector maps / Re: [Theme] VanLifeMapV4
« on: January 23, 2021, 15:44:37 »
New version 2021.01.23
 - Changed rendering for: barrier=ditch, natural=cliff, natural=earth_bank, natural=gully, natural=crevasse, man_made=embankment, embankment=emb_yes, man_made=groyne
The following users thanked this post: jonny.blue

8
Locus Map 4, prep (Archived) / Re: Locus Map 4, discussion
« on: August 07, 2020, 17:15:17 »
Ideas for the future: depending on the activity, the presentation could look different.
A cyclist here has different requirements (road, gravel paths) than a hiker (gravel paths, trails, grass paths) or a mountain biker.
Another idea: with Komoot, I can tap on the path condition in the legend and all sections with this path condition are highlighted in white on the map.
The following users thanked this post: jonny.blue

9
See attachment.  Display on/off feature in Locus Pro  ;)
https://docs.locusmap.eu/doku.php?id=manual:user_guide:settings:control#screen_on_off_control
See auto screen turn off. (Set to 0)

Auto screen turn-off
setting of the interval before turning the screen off again
is set in 5 second steps from 0 to 120 seconds. 0 = screen turning off is disabled (until the system (Android) turns the screen off)
The following users thanked this post: jonny.blue

10
Locus Map 4, prep (Archived) / Re: Hold map center
« on: June 23, 2020, 08:25:24 »
Normaly with this option the map is centered after a delay of 5s (or with expert settings definable) ... but in LM4 it doesn't work.
The following users thanked this post: jonny.blue

11
Troubles & Questions / Re: Where is the Track recording widget ?
« on: June 07, 2020, 10:47:01 »
It works well now. But I didn't understand the interest of it. Since I have Locus map open to follow the navigation along a route, I didn't get the interest of lauching the recording from outside of the app. What do people like usually with the widget ?
The following users thanked this post: jonny.blue

12
Here is an example of adding customization code to the script. I used the Outdoor theme from locus store which works with v3 maps because it is a very small and simple theme (only 1400 lines).

In the customisation section of the script is uses the keys and values of rules in the theme to isolate and apply specific modifications to certain tags and their attributes, e.g.:

      if inscope(current_keys, "highway") then
         if current(current_vals) = "motorway_junction" then
            if current_tag = "circle" then
               line = update_tag(line, "r", 1.5, 0)
               line = update_tag(line, "stroke-width", 2, 0)
            end if
            if current_tag = "caption" then
               line = update_tag(line, "font-size", 1, 3)
               if instr(line,"caption k="+Chr(34)+"addr:housenumber"+Chr(34)) > 0 then
                  line = update_tag(line, "dy", 0, 0)
               end if
            end if
         end if
      end if


This looks for lines of the theme that are in scope of k="highway" v="motorway_junction" and then tweaks:
   - the circle's radius and stroke-width
   - its caption's  font-size and dy offset (but only for addr:housenumbers captions).

Here is the theme content before from v3:

<!-- highway exits -->
<rule e="node" k="highway" v="motorway_junction" zoom-min="11" zoom-max="13">
   <circle r="6" scale-radius="false" fill="#dFdFFF" stroke="#FF0000" stroke-width="2.0"/>
</rule>
<rule e="node" k="highway" v="motorway_junction" zoom-min="14">
   <circle r="6" scale-radius="true" fill="#dFdFFF" stroke="#FF0000" stroke-width="1.2"/>
   <caption k="addr:housenumber" display="always" dx="-2" dy="10" priority="95" font-style="bold" font-size="6dp" fill="#FF0000" stroke="#FFFF00" stroke-width="1.2dp" scale-font-size="14,1.3"/>
   <caption k="name" display="always" dy="-14dp" scale-dy-size="16,1.2" font-style="bold" font-size="7dp" fill="#0100C8" stroke="#FFFFFF" stroke-width="1.2dp" scale-font-size="14,1.3"/>
</rule>


and after in the converted v4 version:

<!-- highway exits -->
<rule e="node" k="highway" v="motorway_junction" zoom-min="10" zoom-max="12">
   <circle r="2.7" scale-radius="false" fill="#dFdFFF" stroke="#FF0000" stroke-width="0.9"/>
</rule>
<rule e="node" k="highway" v="motorway_junction" zoom-min="13">
   <circle r="2.7" scale-radius="true" fill="#dFdFFF" stroke="#FF0000" stroke-width="0.54"/>
   <caption k="addr:housenumber" display="always" dy="0" priority="95" font-style="bold" font-size="9" fill="#FF0000" stroke="#FFFF00" stroke-width="1.08" />
   <caption k="name" display="always" dy="-14" font-style="bold" font-size="10" fill="#0100C8" stroke="#FFFFFF" stroke-width="1.08" />
</rule>


I should point out that the stroke-width of circles also have a scale of 0.9 and 0.25 applied to it elsewhere in the script, hence 2 * 0.9 * 0.25 * 2 = 0.9. As you can guess, I was just applying correction by trial error until things looked reasonable...

Note the parameters for update_tag are:
   - update_tag( line, tag_name, scale, offset )
and it applies a scale and offset to numerical tag values. E.g. The following line:

         line = update_tag(line, "font-size", 2, -4)

when applied to the following theme line:

   <pathText k="name" font-style="bold" font-size="9" fill="#606060" stroke="#ffffff" stroke-width="2.0"/>

will result in the font-size being processed as:  new-font-size = (old-font-size * 2) - 4 = 14. i.e.:

   <pathText k="name" font-style="bold" font-size="14" fill="#606060" stroke="#ffffff" stroke-width="2.0"/>.

The script has a variable called "zoom_offset" which is set to -1 in this example. It subtracts 1 from all the zoom-min and zoom-max values to readjust the v4 converted theme to look similar in scales as the original v3 theme. Of course, if there are map elements that appear at zoom level 14, the will not appear at zoom level 13 in the v4 map.

The screenshots show the original v3 Outdoor theme, converted to v4 theme and the original OutdoorV4 theme.



I'm posting the converted outdoor theme only as an example of what the script can do. I haven't checked it extensively and you are probably better off using the official OutdoorV4 theme.
The following users thanked this post: jonny.blue

13
Locus Map 4, prep (Archived) / Re: Locus Map 4, discussion
« on: March 02, 2020, 19:57:10 »
So let's move a little ;)

New Alpha version 3.44.1.2 for testing.

Three major changes:

- I'm trying to unite work with points. So in this version is introduced new screen visible over the map and also everywhere in the app, that display detail of points. It should be fully working for all points except geocaches (here is currently an option to display old screen). The same system will be created for tracks, once we all will be satisfied with points :).

- Route planner: a new itinerary that displays a list of all shaping/via points with the option to reorder. Optionally in the RP settings is an option to enable chart for segments ;)

- Route planner: when using online GraphHopper, you now get an alternative route (if GH server think it exists). There is missing some more simple way to compare both routes, anyway, it's already well usable.

Feedback is of course welcome.

Version for download here
The following users thanked this post: jonny.blue

14
Tiramisù as OpenTopoMap

   

for the topography, and exploration on the maps

only for V4 maps!

For V3 (lomaps and other)  TOTM 1.9.2 - > https://forum.locusmap.eu/index.php?topic=6027.0

in the future it will be slightly improved:
  • all water except springs (rivers, streams, lakes, canals, etc.)
  • all railway and tram
  • all labels
  • setting priorities
  • streets, driveways and younger roads in the direction of greater elegance (at the moment - too thick)
on my smartphone 282 ppi, 320 dpi

It also works well on Oruxmap, Cruiser, and most likely in other mapsforge-compatible programs
(tested in Oruxmaps 7.4.22, Cruiser 1.7)

   


Map: ESRI satellite;  Overlay 85%: OAM Ural ML;  Layer "Terrain" in the theme is OFF

   

Waiting for comments and constructive criticism.
The following users thanked this post: jonny.blue

15
As a result of the changed way the new beta deals with scaling maps for devices of different resolution, I've put together new versions of my Mapsforge version 4 compatible themes. They are effectively add-ons to the Voluntary themes. At present they are solely for the beta version and will simply not appear in the list of available themes in the current release, hence I have named them Voluntary Mapsforge beta and Velocity beta.
Download, unzip and add to your Locus themes directory.
Please let me know if they work for you.
The following users thanked this post: jonny.blue

Pages: [1] 2