[GeoNode-users] Mapquest background not available in GeoNode
Christian Willmes
c.willmes at uni-koeln.de
Wed Aug 3 07:15:40 PDT 2016
Hi,
I followed these steps. I edited the local_settings.py and triggered the
geonode shell commands.
Nothing happens.... all stays as before.
Do I need to restart the server or something to take effect?
Thanks,
Christian
Am 15.07.2016 um 01:35 schrieb Israel López:
> 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
> <mailto: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 <mailto:geonode-users at lists.osgeo.org>
> http://lists.osgeo.org/mailman/listinfo/geonode-users
>
>
>
>
> _______________________________________________
> geonode-users mailing list
> geonode-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geonode-users
--
Christian Willmes
AG GIS & Fernerkundung | GIS & RS Group
Geographisches Institut | Institute of Geography
Universität zu Köln | University of Cologne
Tel.: +49 (0)221 470 6234
http://www.geographie.uni-koeln.de/willmes-christian.695.en.html
http://www.sfb806.de
http://crc806db.uni-koeln.de
More information about the geonode-users
mailing list