<div dir="ltr"><div>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 <a href="http://dev.asymptopia.org/pacmap">HERE</a> and on <a href="https://github.com/ccosse/parks">GitHub</a>.  <br></div>-Charles<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Aug 3, 2016 at 7:15 AM, Christian Willmes <span dir="ltr"><<a href="mailto:c.willmes@uni-koeln.de" target="_blank">c.willmes@uni-koeln.de</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi,<br>
<br>
I followed these steps. I edited the local_settings.py and triggered the geonode shell commands.<br>
<br>
Nothing happens.... all stays as before.<br>
<br>
Do I need to restart the server or something to take effect?<br>
<br>
Thanks,<br>
Christian<span class=""><br>
<br>
<br>
Am 15.07.2016 um 01:35 schrieb Israel López:<br>
</span><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">
Thanks a lot Simone, maybe clarify two details well at least it was necesary for me:<br>
<br>
Delete the two services from settings.py the next code<br>
<br>
{<br>
     "source": {"ptype":"gxp_mapquestsource"},<br>
     "name":"osm",<br>
     "group":"background",<br>
     "visibility":True<br>
}, {<br>
     "source": {"ptype":"gxp_mapquestsource"},<br>
     "name":"naip",<br>
     "group":"background",<br>
     "visibility":False },<br>
and set to 'false' all the naip too<br></span>
>>>/MapLayer.objects.filter(name='naip').update(visibility=False)/<br>
Good day<br>
Israel<br>
<br>
2016-07-14 8:21 GMT-05:00 Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a> <mailto:<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>>>:<span class=""><br>
<br>
    Dears,<br>
<br>
    as you may have noticed since yesterday the MapQuest background is<br>
    not available anymore in GeoNode. The reason is a change of policy<br>
    and the direct access to the tiles is discontinued.<br>
<br>
    See here for more info<br>
    <a href="http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/" rel="noreferrer" target="_blank">http://devblog.mapquest.com/2016/06/15/modernization-of-mapquest-results-in-changes-to-open-tile-access/</a>.<br>
<br>
    if you need to fix existing maps you can run the following<br>
    commands, they will put OSM as default background.<br>
<br>
    $ geonode shell<br></span>
    >>>/from geonode.maps.models import MapLayer />>>/MapLayer.objects.filter(name='osm').update(visibility=False) />>>/MapLayer.objects.filter(name='mapnik').update(visibility=True)/<span class=""><br>
<br>
    For new maps you can edit the settings file and make OSM the<br>
    default visible background<br>
    <a href="https://github.com/GeoNode/geonode/commit/8cb080534e69c590c8864a2603b2ea1eca2e8a73#diff-244cdfc4e5e50d8ee9386be986629b6aR624" rel="noreferrer" target="_blank">https://github.com/GeoNode/geonode/commit/8cb080534e69c590c8864a2603b2ea1eca2e8a73#diff-244cdfc4e5e50d8ee9386be986629b6aR624</a><br>
<br>
    Hope this helps<br>
<br>
    If anyone has more info please comment in this thread<br>
<br>
    Ciao<br>
    --     Simone<br>
<br>
    _______________________________________________<br>
    geonode-users mailing list<br></span>
    <a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a> <mailto:<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a>><br>
    <a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><span class=""><br>
<br>
<br>
<br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</span></blockquote><span class="HOEnZb"><font color="#888888">
<br>
<br>
-- <br>
Christian Willmes       <br>
AG GIS & Fernerkundung      | GIS & RS Group<br>
Geographisches Institut     | Institute of Geography<br>
Universität zu Köln         | University of Cologne<br>
Tel.: +49 (0)221 470 6234<br>
<a href="http://www.geographie.uni-koeln.de/willmes-christian.695.en.html" rel="noreferrer" target="_blank">http://www.geographie.uni-koeln.de/willmes-christian.695.en.html</a><br>
<a href="http://www.sfb806.de" rel="noreferrer" target="_blank">http://www.sfb806.de</a><br>
<a href="http://crc806db.uni-koeln.de" rel="noreferrer" target="_blank">http://crc806db.uni-koeln.de</a></font></span><div class="HOEnZb"><div class="h5"><br>
<br>
_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
</div></div></blockquote></div><br></div>