[GeoNode-users] Mapquest background not available in GeoNode

Charles Cossé ccosse at gmail.com
Wed Aug 3 11:05:26 PDT 2016


Hello, just a quick note regarding satellite imagery, fwiw;  as most
probably know, earlier this year Google updated their public satellite
imagery and it's virtually cloud-free now.  I was working on an OpenLayers
project that used MapQuest's satellite imagery when they suddenly changed
their policy about 1 week before my project was due to complete.  I solved
it at the last minute by controlling a Google maps satellite layer from
OpenLayers.  There's an example of how to do this in the OpenLayers
examples.  You can also see my implementation HERE
<http://dev.asymptopia.org/pacmap> and on GitHub
<https://github.com/ccosse/parks>.
-Charles

On Wed, Aug 3, 2016 at 7:15 AM, Christian Willmes <c.willmes at uni-koeln.de>
wrote:

> 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
>
>
> _______________________________________________
> 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/20160803/fc20cff0/attachment-0001.html>


More information about the geonode-users mailing list