Locus Map - forum

Support => Troubles & Questions => Topic started by: Kay Cichini on February 08, 2014, 21:39:24

Title: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: Kay Cichini on February 08, 2014, 21:39:24
Hello,

Since the last update I can't load Bergfex maps anymore - on the map it shows "Zugriff verweigert" meaning "access denied"..
Does anybody have had the same problem, and does anybody know what is the issue here?

On other services, which fetch Bergfex tiles everything seems to work well: http://dev.openlayers.org/sandbox/ahocevar/bergfex/

Thanks,
Kay
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: jusc on February 08, 2014, 22:12:54
Hallo,
Versuch das mal:
     <!-- BergFex Austria Zoom 8-13 -->   
    <provider id="10060" type="0" visible="true" background="-1">
      <name>Bergfex</name>
      <mode>Topo 8 bis 13</mode>
      <area>Oesterreich</area>
      <url><![CDATA[http://static1.bergfex.at/images/amap/{z}/{z}_{x}_{y}.png]]></url>
      <zoomPart>{z}-8</zoomPart>
      <zoomMin>16</zoomMin>
      <zoomMax>21</zoomMax>
      <tileSize>256</tileSize>
      <attribution><![CDATA[http://www.bergfex.at/obertauern/panorama/]]></attribution>
      <extraHeader><![CDATA[Referer#http://www.bergfex.at/obertauern/panorama/]]></extraHeader>
      <extraHeader><![CDATA[User-Agent#Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0]]></extraHeader>     
   </provider>
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: Kay Cichini on February 09, 2014, 17:29:34
Thanks jusc!

Did you mean to replace the bergfex provider node in the providers xml?
i tried this, but kept the renamed original xml in the aame directory - this gave no result, everything is as before.

Regards, Kay
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: berkley on February 09, 2014, 20:29:41
You need to change the provider id too.
So that you have 2 Bergfex maps in Locus.

Or copy and paste the original providers.xml as backup to somewhere else and modify the only providers.xml in Locus/mapsOnline/custom.

Or modify the only providers.xml and if you mess it up, run map tweak again, it restores the original status.

Anyway it's about the provider id tag and the fact that Locus reads every providers***.xml file.
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: jusc on February 09, 2014, 21:10:42
Exactly, and there shouldn't be a "wrong" entry of the Bergfex map. So you should delete the old one in any "provider.xml"
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: berkley on February 09, 2014, 22:22:55
Right now I wish I never supported Bergfex maps... :-D
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: Kay Cichini on February 16, 2014, 11:13:03
Thanks for helping - the Bergfex map source works with this fix. However, zooming beyond zoom 13 is not possible. And I wonder why the old XML-code was much longer than the one from the fix.

@berkley, you can't imagine how useful this map source is for austrian users - I know many people who use it mostly because of this feature. I'm appreciating this very much!
Title: Re: Issue with Bergfex - maps since last LOCUS update not working anymore..
Post by: Kay Cichini on February 16, 2014, 11:25:45
I just noticed the update of Map Tweak and re-run the addon - now everything is OK!

Thanks a lot!

Regards,
Kay