Author Topic: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)  (Read 88572 times)

Offline Rob

  • Premium
  • Apprentice of Locus
  • **
  • Posts: 139
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #60 on: June 28, 2011, 11:14:59 »
Hi Peter,
thx much - the xml Code works great !
It´s really a pitty, that higher zooms are "not existing", because my missing tiles of already dowloaded areas are just in these zoom factors.
But - let´s hope for menions ideas.

kind regards
Rob
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline axelpix

  • Newbie
  • *
  • Posts: 5
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #61 on: July 08, 2011, 09:41:17 »
Probably a workaround for Bergfex.

The X regions are quite large. So it might be worth the work to make separate maps for the regions. Zoom Level 14 goes from X=86 (Liechtenstein) to X=89 (Bratislava). Zoom 15 from 172 to 179.
Here's an example for one region for each zoom level:
Code: [Select]
<!-- BergFex Austria (id 70) -->
<provider id="10070" type="0" visible="true" background="-1">
<name>Bergfex</name>
<mode>Topo</mode>
<area>Oesterreich</area>
<url><![CDATA[http://static5.bergfex.at/images/amap/{z}/{z}_{x}_{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>16</zoomMin>
<zoomMax>21</zoomMax>
<tileSize>256</tileSize>
</provider>
        <!-- for Zoom 14 adjust between 86 and 89-->
<provider id="10071" type="0" visible="true" background="-1">
<name>Bergfex</name>
<mode>Topo 14_1</mode>
<area>Oesterreich</area>
<url><![CDATA[http://static5.bergfex.at/images/amap/{z}/87/{z}_{x}_{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>22</zoomMin>
<zoomMax>22</zoomMax>
<tileSize>256</tileSize>
</provider>
        <!-- for Zoom 15 adjust between 172 and 179-->
<provider id="10072" type="0" visible="true" background="-1">
<name>Bergfex</name>
<mode>Topo 15_1</mode>
<area>Oesterreich</area>
<url><![CDATA[http://static5.bergfex.at/images/amap/{z}/174/{z}_{x}_{y}.png]]></url>
<zoomPart>{z}-8</zoomPart>
<zoomMin>23</zoomMin>
<zoomMax>23</zoomMax>
<tileSize>256</tileSize>
</provider>

And once cached, it does no harm to cached tiles when you modify the X folder in providers.xml. This way you can collect combined areas in your tile cache.

Grüße aus Dresden nach Österreich! Ich komme bald mal wieder.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline pez3

  • Newbie
  • *
  • Posts: 9
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 20.4.2011)
« Reply #62 on: July 08, 2011, 11:13:35 »
thanks axelpix...
your solution is workin fine... unfortunately a little bit copious... but far better than nothing...
maybe menion is able to provide a better solution sometime.

thank you four your help
regards peter
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline fuhur

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #63 on: August 15, 2011, 20:39:59 »
Hi,
I have map source which gives .jpg instead .png tiles.
Could I add it, or it is not possible ?
Regards
« Last Edit: August 16, 2011, 14:06:06 by fuhur »
 

Offline nomo

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #64 on: August 16, 2011, 09:37:46 »
Hello,

i just searched the forum how to add google as provider in locus, thats how i came to this thread.
Just wondered if someone can share his provider.xml info for adding google terrain maps.
Thx in advance !


EDIT: just fount the map addon which adds all the maps by just one click, thats it !!
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline Dominique

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #65 on: September 28, 2011, 13:48:14 »
Finally i'm the  owner of Locus Pro and  feel really happy!! thanks for the work :D
« Last Edit: June 13, 2012, 15:22:17 by Dominique »
 

Offline gkovacsp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #66 on: October 04, 2011, 18:20:50 »
I am trying to create a provider xml for the following map:

http://turaterkep.hostcity.hu

Its png url is: http://turaterkep.hostcity.hu/srtm/9/140/90.png


Code: [Select]
<provider id="2222" type="0" visible="true" background="-1">
  <name>Turaterkep</name>
  <mode>Turaterkep</mode>
  <area>Hungary</area>
  <url><![CDATA[http://turaterkep.hostcity.hu/srtm/{z}/{x}/{y}.png]]></url>
  <zoomPart>{z}-8</zoomPart>
  <zoomMin>8</zoomMin>
  <zoomMax>30</zoomMax>
  <tileSize>256</tileSize>
  <extraHeader>Referer#http://test.at/</extraHeader>
</provider>

The problem is I got an "Unknown error" after "Loading..." in the place of the tiles... Can someone help me what is the problem?
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Offline miro666

  • Newbie
  • *
  • Posts: 4
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #67 on: October 05, 2011, 08:42:47 »
Menion , please, can You prepare this maps site for me (Im buyer Pro version):

http://http://preglednik.arkod.hr/ARKOD-Web/#layers=DOF,ZU,KO,DKP,LPIS_200,LPIS_210,LPIS_310,LPIS_320,LPIS_410,LPIS_421,LPIS_422,LPIS_423,LPIS_424,LPIS_490,LPIS_900&map_x=673220.75&map_y=5049090.75&map_sc=1785

It is importantest maps site for my job, and free time.
I cannt see on browsers no one (only left side where is layers for choose).

Please, i will donate for some beers for that  :)

Thanks

Regards
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11390
  • Thanked: 305 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #68 on: October 05, 2011, 08:57:24 »
these maps are in some location map projection (together with specific url to tiles) so this is not possible to simply add to Locus. Question is also terms of use of this map. If they offer WMS server, that's best way how to add special maps
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline gkovacsp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #69 on: October 06, 2011, 13:48:13 »
I've contacted the owner of the website (http://turaterkep.hostcity.hu)   and he sent me the following xml, which should work in Locus with his site:

Code: [Select]
<providers>
   <provider id="1000" type="0" visible="true" required="true" background="-1">
      <name>Turaterkep</name>
      <mode>Turaterkep</mode>
      <area>World</area>
      <url><![CDATA[http://turaterkep.hostcity.hu/tiles/{z}/{x}/{y}.png]]></url>
      <zoomPart>{z}-8</zoomPart>
      <zoomMin>8</zoomMin>
      <zoomMax>16</zoomMax>
      <tileSize>512</tileSize>
      <extraHeader>Referer#http://turaterkep.hostcity.hu/</extraHeader>
   </provider>
</providers>

If I open a tile manually (eg. http://turaterkep.hostcity.hu/tiles/9/140/90.png) I actually get the image.
If I add this xml to Locus I'll be able to select the map, but after the "Loading..." phase I get an "Unknown problem".

Can you help me what is the problem with the file?

The website's owner is also willing to help to ease the life of Hungarian Android users so any suggestions would be welcomed.

Thanks for your help.
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11390
  • Thanked: 305 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #70 on: October 06, 2011, 16:58:33 »
thanks, map is now working (there was one small issue in locus because of atypical size of tiles). May you send me contact to owner? I need some answers from him before I'll add these maps into Locus
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline gkovacsp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #71 on: October 06, 2011, 20:42:08 »
His name is Peter Busai and his email address is peter.busai(at)gmail.com.

He speaks english and is looking forward your mail.

Regards,

Gabor
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11390
  • Thanked: 305 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #72 on: October 07, 2011, 10:41:00 »
thanks, owner contacted, maps will be added ...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!
 

Offline gkovacsp

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #73 on: October 07, 2011, 11:00:18 »
Great!

Any timeframe for the program update? A "survival" tour starts in 20 days...
« Last Edit: January 01, 1970, 01:00:00 by Guest »
 

Online menion

  • Administrator
  • Professor of Locus
  • *****
  • Posts: 11390
  • Thanked: 305 times
    • View Profile
    • http://www.asamm.com
  • Device: SGS7
Re: [MANUAL] - CUSTOM ONLINE MAPS (updated 25.7.2011)
« Reply #74 on: October 07, 2011, 11:19:41 »
two, three days max ;)
« Last Edit: January 01, 1970, 01:00:00 by Guest »
Ideas, wishes, problems
Advanced topics, public discussion, sharing of knowledges, testing beta versions: you're here!