OruxMaps

Uncategorized Boards => ERRORES/BUGS => Topic started by: Stager on April 21, 2018, 02:04:25 AM

Title: Shows two sources at the same time
Post by: Stager on April 21, 2018, 02:04:25 AM
I'm confused...

OruxMaps7.2.13

Two different on-line sources.

I reset raster cache.

(//%3C/s%3E%3CURL%20url=%22http://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-01-27-33.png%22%3E%3CLINK_TEXT%20text=%22http://mediatheque.rsl.ru/wp/wp-content%20...%20-27-33.png%22%3Ehttp://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-01-27-33.png%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)
Title: Re: Shows two sources at the same time
Post by: orux on April 21, 2018, 03:20:00 PM
Quote from: Stager post_id=13333 time=1524269065 user_id=2645
I'm confused...

OruxMaps7.2.13

Two different on-line sources.

I reset raster cache.

(//%3C/s%3E%3CURL%20url=%22http://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-01-27-33.png%22%3E%3CLINK_TEXT%20text=%22http://mediatheque.rsl.ru/wp/wp-content%20...%20-27-33.png%22%3Ehttp://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-01-27-33.png%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)


Hello!



Check that both maps are not sharing the same id:



<onlinemapsource uid="70">





orux
Title: Re: Shows two sources at the same time
Post by: Stager on April 21, 2018, 05:49:04 PM
Quote from: orux post_id=13335 time=1524316800 user_id=2
Check that both maps are not sharing the same id:

I did it, but it is not a reason.



Fresh install on other device no has a problem.

Is there a way to full reinstall app without lost settings?
Title: Re: Shows two sources at the same time
Post by: orux on April 21, 2018, 08:05:54 PM
Quote from: Stager post_id=13337 time=1524325744 user_id=2645
Quote from: orux post_id=13335 time=1524316800 user_id=2
Check that both maps are not sharing the same id:

I did it, but it is not a reason.



Fresh install on other device no has a problem.

Is there a way to full reinstall app without lost settings?




Hello;



you can save current settings as a profile, with name. Then you can reinstall the app, and load again that profile.



have you tested maps-->map tweaks-->refresh tiles? The tiles you see will be downloaded again.



and reset raster cache is only for vectorial maps; for online maps you must 'reset online cache'





orux
Title: Re: Shows two sources at the same time
Post by: Stager on April 21, 2018, 08:59:59 PM
Quote from: orux post_id=13340 time=1524333954 user_id=2
you can save current settings as a profile, with name.

O! Yes, I found, thanks!


Quote from: orux post_id=13340 time=1524333954 user_id=2
have you tested maps-->map tweaks-->refresh tiles? The tiles you see will be downloaded again.

Sorry, I don't see a "refresh tiles"?

(//%3C/s%3E%3CURL%20url=%22http://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-21-44-15.png%22%3E%3CLINK_TEXT%20text=%22http://mediatheque.rsl.ru/wp/wp-content%20...%20-44-15.png%22%3Ehttp://mediatheque.rsl.ru/wp/wp-content/uploads/Screenshot_2018-04-21-21-44-15.png%3C/LINK_TEXT%3E%3C/URL%3E%3Ce%3E)


Quote from: orux post_id=13340 time=1524333954 user_id=2
and reset raster cache is only for vectorial maps; for online maps you must 'reset online cache'

Yes, I did both.
Title: Re: Shows two sources at the same time
Post by: orux on April 22, 2018, 10:01:50 AM
Which kind of online maps (added in onlinemapsources.xml, WMS,...)?



Do you identify both sources? Could you send me the onlinemapsources.xml file?





orux
Title: Re: Shows two sources at the same time
Post by: Stager on April 22, 2018, 04:19:00 PM
Quote from: orux post_id=13345 time=1524384110 user_id=2
Which kind of online maps (added in onlinemapsources.xml, WMS,...)?



Do you identify both sources? Could you send me the onlinemapsources.xml file?


<onlinemapsource uid="49">
<name>Fonecta Kartat (TOPO) </name>
<url><![CDATA[https://kartta.fonecta.fi/oym?f=m&ft=png_nauti_256&key=FO1349G5NGDTJ52H913SFRK63928&x={$x}&y={$y}&z={$z}]]></url>
<minzoom>7</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name="Referer">Referer: https://www.fonecta.fi/kartat?l=NAU</httpparam>
<cacheable>1</cacheable>
<downloadable>1</downloadable>
<maxtilesday>0</maxtilesday>
<maxthreads>0</maxthreads>
<xop>$x-((1&lt;&lt;$z)/2)</xop>
<yop>((1&lt;&lt;$z)/2)-1-$y</yop>
<zop>18-$z</zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="51">
<name>OpenTopoMap</name>
<url><![CDATA[http://{$s}.tile.opentopomap.org/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[Kartendaten: © <a href="https://openstreetmap.org/copyright" target="_blank">OpenStreetMap</a>-Mitwirkende, SRTM | Kartendarstellung: © <a href="http://opentopomap.org/" target="_blank">OpenTopoMap</a>]]></website>
<minzoom>7</minzoom>
<maxzoom>15</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</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>
Title: Re: Shows two sources at the same time
Post by: Stager on April 27, 2018, 12:47:23 PM
Remove OruxMapsCacheImages.db resolve it. As I think.



I reinstall OruxMaps and remove  OruxMapsCacheImages.db from oruxmaps/mapfiles. No more of this problem.