Customize Onlinemapsources.xml

Started by vincecarter729, February 11, 2019, 11:27:07 AM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

vincecarter729

<t>Hi,<br/>
<br/>
Does someone know how to customize the onliemapsources.xml? Do you have an exemple with several layers?<br/>
I would like to create a mutli-layer map with wms or wmts.<br/>
<br/>
Second question: <br/>
When we create new wms maps directly on the app, where can we find the modified xml? Is there a hidden file?<br/>
<br/>
Regards,<br/>
<br/>
Vincent</t>

afgb1977


afgb1977

#2
https://nnngrach.github.io/AnyGIS_maps/Web/Html/Orux_en">https://nnngrach.github.io/AnyGIS_maps/Web/Html/Orux_en


orux

Hello!

Maps with 512px tile size must use:
<projection>MERCATORESFERICAx512</projection>
like : OSM OpenRailWay - Infrastructure (OVERLAYINFOSTRUCT)

orux



afgb1977

Quote from: orux on March 29, 2020, 10:40:45 AM
Quote from: afgb1977 on August 08, 2019, 09:07:46 PM
<r><URL url="https://nnngrach.github.io/AnyGIS_maps/Web/Html/Orux_en">https://nnngrach.github.io/AnyGIS_maps/Web/Html/Orux_en</URL></r>
Interesting map sources!

orux

Este es un pequeño archivo que he recopilado de diferentes fuentes: AnyGIS, OSM y web de cada proveedor. Espero sea útil para quien quiera usarlo. Todos los enlaces funcionan.

Visinskiradnik

Hello to all...

I was changing onlinemapsources... and after few different changing I can not back to default onlinemapsource.
Just to say... I know the procedure. I changed the the .xml files from oruxmaps/mapsfiles folder. I did it several time to get back to default onlinemapsource. I also did few reinstallation of Oruxmaps apk. I clear mapfiles folder from old cashed files and clear the previous onlinemapsource but after new clean installation I have all online maps from earlier versions.
Is there any solution for this problem ?

japetus

Is it possible to change the date of the layer that an online map is accessed?
As for example in the case of google earth where, when using google earth, you can change the date that the sat photos were taken?
Can we add several instances of the same map in onlinmapsources.xml pointing to different dates?

JEAN PAUL

Hello,

Do you know if it's possible to customize the onlinemapsource.xml, to obtain hiking-maps from Greece on line ? The same maps as here :  https://www.topoguide.gr/index-en.php
I am not geek enough to do this...
With Mobac, i have found in the cloud a file « Grece.bsh », 8)  it's ok for outline maps http://randochartreuse.free.fr/mobac2.x/mapsources/Grece/Grece.bsh
I'd like the same for Online maps.
Thank you very much to the community! :)

Jean Paul.

afgb1977

#9
The following URL is derived from the Mobac file.


<onlinemapsource uid="101">
<name>🔵 TopoGuide (GR)</name>
<url><![CDATA[http://5.135.161.95/wms/wmsolv3xyz2.php?t=16&z={$z}&x={$x}&y={$y}]]></url>
<website><![CDATA[<font color="#FFFFFF">©TopoGuide</font>]]></website>
<minzoom>1</minzoom>
<maxzoom>20</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>


The following comes directly from the topoguide.gr website but I can't get it to work.
https://m1.anadigit.fr/tms/1.0.0/ntn_combo_en/10/570/636.png
<onlinemapsource uid="102">
<name>🔵 TopoGuide (GR)</name>
<url><![CDATA[https://m1.anadigit.fr/tms/1.0.0/ntn_combo_en/{$z}/{$x}/{$y}.png]]></url>
<website><![CDATA[<font color="#FFFFFF">©TopoGuide</font>]]></website>
<minzoom>1</minzoom>
<maxzoom>20</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>

JEAN PAUL

Thanks a lot "afgb1977" ,  it's exactly what i needed , it works perfectly with the first URL, derived from the Mobac file !  :)