[GeoNode-users] [GeoNode-devel] bing api request denied

Paolo Corti pcorti at gmail.com
Thu Oct 8 07:06:30 PDT 2015


It works perfectly, thanks Simone!
For people not confident with the django shell, the same result can be
accomplished running the following SQL (not tested but should work):
DELETE FROM maps_maplayer WHERE NAME = 'AerialWithLabels'

p

On Thu, Oct 8, 2015 at 2:34 PM, Simone Dalmasso <simone.dalmasso at gmail.com>
wrote:

> Here the two commands that you can type in a "geonode shell" (for a
> standard geonode installation) to remove bing from existing maps.
>
> >>> from geonode.maps.models import MapLayer
> >>> MapLayer.objects.filter(name=u'AerialWithLabels').delete()
>
> Hope this helps
>
> 2015-10-07 16:06 GMT+02:00 Simone Dalmasso <simone.dalmasso at gmail.com>:
>
>> Paolo that's right :(
>>
>> 2015-10-07 15:57 GMT+02:00 Paolo Corti <pcorti at gmail.com>:
>>
>>> Thanks to both
>>> for system in productions containing existing maps I think the only way
>>> is to follow Bart's suggestion or running a script able to remove the Bing
>>> map baselayer from any existing map.
>>> cheers
>>> p
>>>
>>> On Wed, Oct 7, 2015 at 3:51 PM, Simone Dalmasso <
>>> simone.dalmasso at gmail.com> wrote:
>>>
>>>> Thanks Bart,
>>>>
>>>> then is good to keep it disabled by default and add instructions on how
>>>> to properly add it.
>>>>
>>>> 2015-10-07 15:50 GMT+02:00 Bart van den Eijnden <
>>>> bartvde at boundlessgeo.com>:
>>>>
>>>>> Ideally you would have requested your own API key for your site on
>>>>> https://www.bingmapsportal.com
>>>>>
>>>>> And then configure the gxp Bing source with the apiKey property /
>>>>> config.
>>>>>
>>>>> Best regards,
>>>>> Bart
>>>>>
>>>>> Bart van den Eijnden
>>>>> Front End Software Engineer | Boundless <http://boundlessgeo.com/>
>>>>> bartvde at boundlessgeo.com
>>>>> 1-877-673-6436 <917-460-7207>
>>>>> @boundlessgeo <http://twitter.com/boundlessgeo/>
>>>>>
>>>>> <http://boundlessgeo.com>
>>>>>
>>>>> On 07 Oct 2015, at 15:41, Simone Dalmasso <simone.dalmasso at gmail.com>
>>>>> wrote:
>>>>>
>>>>> Dears,
>>>>>
>>>>> from yesterday the bing maps api that are used by default in every
>>>>> GeoNode map are not working anymore due to a request denied. The effect is
>>>>> that every map in GeoNode cannot be zoomed properly anymore.
>>>>>
>>>>> While we try to figure out what is the cause of this we suggest a
>>>>> quick fix,
>>>>> open your GeoNode settings  (/etc/geonode/local_settings.py for a
>>>>> standard apt-get installation) and comment the following lines like we
>>>>> already did on master
>>>>>
>>>>> https://github.com/GeoNode/geonode/commit/f2707e64e78931b31a06016a3e04f1ba76021b66 then
>>>>> restart the web server.
>>>>>
>>>>> We appreciate any comment and feedback.
>>>>>
>>>>> --
>>>>> Simone
>>>>> _______________________________________________
>>>>> geonode-devel mailing list
>>>>> geonode-devel at lists.osgeo.org
>>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>>>>>
>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Simone
>>>>
>>>> _______________________________________________
>>>> geonode-devel mailing list
>>>> geonode-devel at lists.osgeo.org
>>>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/geonode-devel
>>>>
>>>>
>>>
>>>
>>> --
>>> Paolo Corti
>>> Geospatial software developer
>>> web: http://www.paolocorti.net
>>> twitter: @capooti
>>> skype: capooti
>>>
>>
>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Simone
>



-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20151008/f367d371/attachment.html>


More information about the geonode-users mailing list