[GeoNode-users] MapQuest changed direct tile access

Simone Dalmasso simone.dalmasso at gmail.com
Wed Jul 13 07:12:40 PDT 2016


Hi, you have to remove mapquest from your settings like here
https://github.com/GeoNode/geonode/commit/42d589cd9d86fa76fc9a9afd2eeacdf64c939705

and make mapnik the default one like here:
https://github.com/GeoNode/geonode/commit/8cb080534e69c590c8864a2603b2ea1eca2e8a73

2016-07-13 16:08 GMT+02:00 Daniel Victoria <daniel.victoria at gmail.com>:

> Hi,
>
> This worked for my saved maps. Thanks.
>
> But how about the layers page (e.g.: /layers/geonode%4A<some layer name>)
> ? I'm still getting Mapquest as default background. Where do I change that?
>
> cheers
> Daniel
>
> On Wed, Jul 13, 2016 at 10:09 AM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi, the following commands will use mapnik instead of mapquest background
>> for all saved maps:
>>
>> $ geonode shell
>> >>>from geonode.maps.models import MapLayer
>> >>>MapLayer.objects.filter(name='osm').update(visibility=False)
>> >>>MapLayer.objects.filter(name='mapnik').update(visibility=True)
>>
>>
>> for new maps you can remove the mapquest entries in MAP_BASELAYERS.
>>
>> Hope this helps
>>
>> 2016-07-13 14:45 GMT+02:00 Daniel Victoria <daniel.victoria at gmail.com>:
>>
>>> Hi list,
>>>
>>> This is probably affecting others. I just opened a layer in GeoNode and
>>> saw that MapQuest changed their direct tile access policy [1]. Thus, the
>>> background of all my layers are messed up.
>>> How can I make geonode use some other basemap as default? Or fix my
>>> basemap issue?
>>>
>>> Thanks
>>> Daniel
>>>
>>> [1] -
>>> http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>


-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160713/9ff8160b/attachment.html>


More information about the geonode-users mailing list