Problem with onlinemapsources.xml
2 posters
Problem with onlinemapsources.xml
I'm trying to remove some of the online map sources from the onlinemapsources.xml file as a lot of them are of no use to me and make the list too long. The problem is I opened the onlinemapsources.xml in a text editor and deleted the sources I didn't want but when I open Orunmaps I only see 4 online maps in the list when I should have 12 maps listed. I've checked the onlinemapsources.xml file and there are definitely 12 map sources listed. I tried pressing the "Reset map sources" button but it makes no difference, still only shows 4 online maps.
The strange thing is if I remove the onlinemapsources.xml completely a new file onlinemapsources.xml is created (where does that come from?) with all the map sources listed that do show up in the online map list.
I don't know what I'm doing wrong.
[EDIT] The 4 maps that show up in the list are:Mapnik->mapsforge, opencyclemap->mapsforge, osmarender->mapsforge, WMS:IGN(ES)[/EDIT]
Here is the contents of my onlinemapsources.xml
The strange thing is if I remove the onlinemapsources.xml completely a new file onlinemapsources.xml is created (where does that come from?) with all the map sources listed that do show up in the online map list.
I don't know what I'm doing wrong.
[EDIT] The 4 maps that show up in the list are:Mapnik->mapsforge, opencyclemap->mapsforge, osmarender->mapsforge, WMS:IGN(ES)[/EDIT]
Here is the contents of my onlinemapsources.xml
- Code:
<?xml version="1.0" encoding="utf-8"?>
<onlinemapsources>
<onlinemapsource uid="0">
<name>Google Maps</name>
<url><![CDATA[http://mt{$s}.google.com/vt/lyrs=m@121&hl={$l}&x={$x}&y={$y}&z={$z}]]></url>
<minzoom>0</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="1">
<name>Google Earth</name>
<url><![CDATA[http://khm{$s}.google.com/kh/v=91&x={$x}&y={$y}&z={$z}]]></url>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="2">
<name>Google Terrain</name>
<url><![CDATA[http://mt{$s}.google.com/vt/lyrs=t@126,r@140&hl={$l}&x={$x}&y={$y}&z={$z}]]></url>
<minzoom>0</minzoom>
<maxzoom>15</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="3">
<name>OpenStreetMap Cyclemap</name>
<url><![CDATA[http://{$s}.andy.sandbox.cloudmade.com/tiles/cycle/{$z}/{$x}/{$y}.png]]></url>
<minzoom>0</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="4">
<name>OpenStreetMap Mapnik</name>
<url><![CDATA[http://tile.openstreetmap.org/{$z}/{$x}/{$y}.png]]></url>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="5">
<name>Microsoft Maps</name>
<url><![CDATA[http://r0.ortho.tiles.virtualearth.net/tiles/r{$q}.png?g=45]]></url>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="6">
<name>Microsoft Earth</name>
<url><![CDATA[http://a1.ortho.tiles.virtualearth.net/tiles/a{$q}.JPG?g=45&mkt=en]]></url>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="7">
<name>Microsoft Hybrid</name>
<url><![CDATA[http://h0.ortho.tiles.virtualearth.net/tiles/h{$q}.jpg?g=45]]></url>
<minzoom>1</minzoom>
<maxzoom>19</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
<sop></sop>
</onlinemapsource>
<onlinemapsource uid="18">
<name>Cloudmade</name>
<url><![CDATA[http://{$s}.tile.cloudmade.com/1227e19c2c014816b45d5ced9ab373c6/2/256/{$z}/{$x}/{$y}.png]]></url>
<minzoom>0</minzoom>
<maxzoom>18</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>a,b,c</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>
<onlinemapsource uid="22">
<name>Multimap UK</name>
<url><![CDATA[http://mc{$s}.multimap.com/ptiles/map/mi932/{$z}/{$q}.png?client=public_api&service_seq=14458]]></url>
<minzoom>15</minzoom>
<maxzoom>16</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers>0,1,2,3</servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop>1</zop>
<qop>2</qop>
</onlinemapsource>
<onlinemapsource uid="23">
<name>Street View 1:10000 (UK)</name>
<url><![CDATA[http://os.openstreetmap.org/sv/{$z}/{$x}/{$y}.png]]></url>
<minzoom>6</minzoom>
<maxzoom>17</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>
<onlinemapsource uid="24">
<name>Ordnance SM (UK)</name>
<url><![CDATA[http://ecn.t2.tiles.virtualearth.net/tiles/r{$q}.png?g=41&productSet=mmOS]]></url>
<minzoom>12</minzoom>
<maxzoom>16</maxzoom>
<projection>MERCATORESFERICA</projection>
<servers></servers>
<httpparam name=""></httpparam>
<xop></xop>
<yop></yop>
<zop></zop>
<qop></qop>
</onlinemapsource>
cyberdude- Cantidad de envíos : 57
Fecha de inscripción : 2011-12-16
Re: Problem with onlinemapsources.xml
[quote="cyberdude"]I'm trying to remove some of the online map sources from the onlinemapsources.xml file as a lot of them are of no use to me and make the list too long. The problem is I opened the onlinemapsources.xml in a text editor and deleted the sources I didn't want but when I open Orunmaps I only see 4 online maps in the list when I should have 12 maps listed. I've checked the onlinemapsources.xml file and there are definitely 12 map sources listed. I tried pressing the "Reset map sources" button but it makes no difference, still only shows 4 online maps.
The strange thing is if I remove the onlinemapsources.xml completely a new file onlinemapsources.xml is created (where does that come from?) with all the map sources listed that do show up in the online map list.
I don't know what I'm doing wrong.
[EDIT] The 4 maps that show up in the list are:Mapnik->mapsforge, opencyclemap->mapsforge, osmarender->mapsforge, WMS:IGN(ES)[/EDIT]
Here is the contents of my onlinemapsources.xml
/quote]
Hi;
There is an onlinemapsources.xml file inside the .apk, that OruxMaps reads if there is a problem with the file inside the sdcard.
-->mapsforge maps are not configured in the onlinemapsources.xml file
and WMS:IGN(ES) is a wms; it is configured in wms_services.xml file
Your problem: you can not delete the enclosing tag.
Add this tag at the end of your onlinemapsources.xml file:
</onlinemapsources>
orux
The strange thing is if I remove the onlinemapsources.xml completely a new file onlinemapsources.xml is created (where does that come from?) with all the map sources listed that do show up in the online map list.
I don't know what I'm doing wrong.
[EDIT] The 4 maps that show up in the list are:Mapnik->mapsforge, opencyclemap->mapsforge, osmarender->mapsforge, WMS:IGN(ES)[/EDIT]
Here is the contents of my onlinemapsources.xml
/quote]
Hi;
There is an onlinemapsources.xml file inside the .apk, that OruxMaps reads if there is a problem with the file inside the sdcard.
-->mapsforge maps are not configured in the onlinemapsources.xml file
and WMS:IGN(ES) is a wms; it is configured in wms_services.xml file
Your problem: you can not delete the enclosing tag.
Add this tag at the end of your onlinemapsources.xml file:
</onlinemapsources>
orux
orux- Cantidad de envíos : 3946
Fecha de inscripción : 2009-07-06
Re: Problem with onlinemapsources.xml
Ahh, thanks. That fixed it. Don't know how I missed that.
cyberdude- Cantidad de envíos : 57
Fecha de inscripción : 2011-12-16
Similar topics
» Relief Map offline
» Download offline map.
» Problem with WMS service that requires login and Pasword
» orux map miss route after recovery status
» TB Atlas Creator cannot create for "Android Orux Maps"
» Download offline map.
» Problem with WMS service that requires login and Pasword
» orux map miss route after recovery status
» TB Atlas Creator cannot create for "Android Orux Maps"
Permissions in this forum:
You cannot reply to topics in this forum
|
|