[GeoNode-users] Mapquest background not available in GeoNode
Israel López
asralf at gmail.com
Thu Jul 14 16:35:35 PDT 2016
Thanks a lot Simone, maybe clarify two details well at least it was
necesary for me:
Delete the two services from settings.py the next code
{
"source": {"ptype": "gxp_mapquestsource"},
"name": "osm",
"group": "background",
"visibility": True
}, {
"source": {"ptype": "gxp_mapquestsource"},
"name": "naip",
"group": "background",
"visibility": False
},
and set to 'false' all the naip too
>>>*MapLayer.objects.filter(name='naip').update(visibility=False)*
Good day
Israel
2016-07-14 8:21 GMT-05:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
> Dears,
>
> as you may have noticed since yesterday the MapQuest background is not
> available anymore in GeoNode. The reason is a change of policy and the
> direct access to the tiles is discontinued.
>
> See here for more info
> http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/
> .
>
> if you need to fix existing maps you can run the following commands, they
> will put OSM as default background.
>
> $ 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 edit the settings file and make OSM the default
> visible background
> https://github.com/GeoNode/geonode/commit/8cb080534e69c590c8864a2603b2ea1eca2e8a73#diff-244cdfc4e5e50d8ee9386be986629b6aR624
>
> Hope this helps
>
> If anyone has more info please comment in this thread
>
> Ciao
> --
> Simone
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20160714/06627818/attachment.html>
More information about the geonode-users
mailing list