Menu

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

#1
GENERAL / Re: Search for POIs offline (mapsforge maps)
January 22, 2026, 03:48:28 PM
Having now read your conversation with Emux on Github I understand that you can read SQL, so let's be a little bit more technical  ;)

QuoteTo search for the exact text, all the words and in the same order, it must be enclosed in single or double quotes

For a search like 'keyword_1 keyword_2', this will generate the following SQL

... WHERE data LIKE '%keyword_1 keyword_2%'
QuoteIf the text is not enclosed in quotes, results containing all the words will be searched regardless of the order

for the same keywords, but without quotes, search would be

... WHERE data LIKE '%keyword_1%' AND data LIKE '%keyword_2%'
Quoteor any of them if that option is selected

If the user select the option to search for any of the keywords

... WHERE data LIKE '%keyword_1%' OR data LIKE '%keyword_2%'
Bonus track, undocumented trick that Jose told me about:

you can search for key/value pairs. For doing so you must put an equal sign in between i.e email=abc@xyz.com. But there is a gotcha, this will generate the following SQL

... WHERE data LIKE '%email=%abc@xyz.com%'
Look at the % character (SQL wildcard) after the equal sign, this means that this search will return records containing 'abc@xyz.com' anywhere AFTER 'email='. It is done on purpose to allow find partial values as well. If the real email address is '123.abc@xyz.com', it will be found.

Hope this helps
#2
GENERAL / Re: Search for POIs offline (mapsforge maps)
January 22, 2026, 03:01:05 PM
Hi Laurent,

I am not sure which version of oruxmaps you are using. I seem to remember that, a few years ago, you were using the free 4.x one.

On the GP version, offline mapsforge POI search has been reworked a couple of years ago and I don't know if those improvements landed on the free version.
In case it's useful for you, I leave below the help text of the functionality.

Cheers

QuoteThe search area is determined by the current map viewer window. Selecting 'Ignore boundingbox' will search the entire database

Available options:

1. Entering text without selecting any category will search all categories. To search for the exact text, all the words and in the same order, it must be enclosed in single or double quotes. If the text is not enclosed in quotes, results containing all the words will be searched regardless of the order, or any of them if that option is selected.

2. Enter a text and select one or more categories.

3. Select one or more categories without entering any text.
#3
en los niveles bajos de zoom, las teselas abarcan superficies muy grandes. Por ejemplo, en el nivel 7, una sola tesela abarca toda la Comunidad de Madrid y grandes partes de las dos Castillas, con lo cual no es posible descargar solo una pequeña parte a ese nivel de zoom.
Los niveles bajos de zoom están desabilitados porque abarcarían una superficie mucho mayor de la que has seleccionado.
#4
QuoteI thought I would try turning it off after all, but now I don't see this option which I was sure I remembered.  Under Global Settings > Waypoints I see "No icons" and "Show Waypoint names" etc., but not a Group Waypoints option.  Am I looking in the wrong place?

Using the new unified interface, left drawer 'Waypoints - Group waypoints'. Same on the legacy one, either on the left drawer or the top menu.
#5
Let's see what the developer has to say here but, in the meantime, do you know that you can disable the functionality altogether?

'Waypoints - Group waypoints'
#6
QuoteHi I have questions about the cursor, please see the file attached, we'll be glad to have your assistance guys, thank you!

- to mask the line: see 'Settings - User interface - Tracks/Routes/Lines/Letter sizes.../ - Line to last position'
- about the view angle: IT IS already attached to the map center, in your picture it seems you want to attach it to the GPS position, that's not possible.
#7
QuoteHello, I managed to implement the Strava Heatmap. I have an issue, when I'm zooming in it, the map disappears and I left with my GPS single only. Please see the screenshots attached. We'll appreciate any help.

this is because the max zoom of tiles served by strava-heatmap.tiles.freemap.sk is 16. You can adjust the <maxzoom> tag of that map on your custom onlinemapsources.xml, that way oruxmaps will know that it shouldn't request tiles for higher zooms.

BTW, as the tiles background is transparent, Strava Heatmap is a perfect candidate for a composite map. You can, for example, put it on top of OSM and use the composite, that way on zooms above 16 the heat map will disappear but the OSM base will still display
#8
Quote from: Kurt on July 24, 2023, 10:18:17 AM
Is there an option to reduce the smoothing of height and velocity data of a recorded track in the statistics plots? I am using for height data the barometer such that more realistic height information could be expected with less smoothing.
Thanks and best wishes

look at 'Settings - Sensors - GPS settings - Smooth the altitude'
#9
QuoteSure, see 3 screenshots:

1. The screen I see once I press the + sign.
2. My offline maps screen.
3. My online maps screen.

on the first screenshot you must click the button next to 'COMPOSITE MAP', a dialog will open where you can compose your map.
#10
QuoteThank you, I've managed to implement the North arrow blue.png (Also removed the white background). But now I have both arrows displayed - the new blue arrow and the red arrow. When recording/following, the blue arrow is always in a second delay than the red one. I want it to replace completely the red (default) arrow. Please see the attached pictures.

you assigned the blue arrow to the map center marker, you should assign it to the GPS marker instead.
#11
QuoteI did what you said but I don't see the maps that I wanna use on the list that opens, once I press the plus sign.

The maps I wanna use:

- Offline map
- Online satellite map
- Online Strava heatmap

That's strange, the Strava HeatMap that you added should be there as well as other online and offline maps.
Can you please attach a screenshot?
#12
Quote from: G_flow on July 18, 2023, 02:50:33 PM
I see, I wish the feature of changing the cursor size and color be implemented soon, sometimes when I navigate the cursor is too small for me and the path on the map is red, which makes it all difficult.

Where can I purpose that to the developers?

This can already be done using custom cursors as I explained you here:
QuoteYes you can, put your custom cursors (png format) on the folder defined in 'Settings - App storage - Cursors Directory' first and then look at 'Settings - User interface - Cursor'

As an example, copy the attached file to the cursors directory on your device, then goto 'Settings - User interface - Cursor' and touch GPS cursor, a list will open containing the 2 builtin cursors and the new one 'North arrow blue'.
BTW, unlike what i said in another post, this cursor will rotate to show the direction you are moving to. To work properly the arrow on the original png must point to the North.
#13
Quote from: G_flow on July 15, 2023, 04:07:07 PM
Thank you for your suggestion, but I don't think the solution works for me. When I followed your instructions, it only resulted in a PNG picture that couldn't be rotated like the red arrowhead shown in the screenshot. What I actually want is to be able to change the size and color of the arrowhead. Do you think it's possible to achieve this? Thank you for your assistance.

I am not sure I understand what you want to achieve here. If what you mean is 'is it possible to have cursors that can rotate at runtime?' the answer is no.
You can use custom cursors but those are just plain png files. The app will not rotate them in any way.
#14
Quote from: G_flow on July 15, 2023, 03:50:53 PM
Hello, I've tried today to add the code you inserted to the xml file, but when I looked at the ONLINE maps there wasn't any maps there. Also previous maps disappeared. I think I'm using a unique onlinemapsource file as someone in the community made it custom-made to our needs. Is it possible that I insert the all code of the file and you would implement what is needed? But I don't think I can upload the file here... Any suggestions? Thank you!!

it is not advisable to modify the builtin onlinemapsources.xml file on the maps folder because, when the app is updated, this file may be overwritten.
You have to create your own onlinemapsouces.xml file in the customonlinemaps subfolder. The app would search for maps on both files and will never modify/overwrite your custom one.

The full code is this:
<?xml version="1.0" encoding="utf-8"?>
<onlinemapsources>

<onlinemapsource uid="100034">
<name>Strava HeatMap</name>
<url><![CDATA[https://strava-heatmap.tiles.freemap.sk/all/hot/{$z}/{$x}/{$y}.png?px=256]]></url>
<website><![CDATA[© Strava]]></website>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="User-Agent">{om}</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>

</onlinemapsources>


You can copy this to a file, save it as onlinemapsources.xml and copy it to the customonlinemaps folder, then goto oruxmaps and refresh the map list, a new map named 'Strava HeatMap' should appear in the list
#15
It has been recently implemented using VTM viewer. But support for this viewer is still experimental, there are still a few drawbacks.

You can choose to use it only for Mapsforge maps ('Settings - Maps- Mapsforge settings - VTM map viewer') or for all kind of maps ('Settings - Maps - VTM map viewer')