GeoNode / QGISGeoNodePlugin

A QGIS plugin that provides integration with GeoNode
https://geonode.org/QGISGeoNodePlugin/
GNU General Public License v3.0
12 stars 16 forks source link

NotImplementedError when searching only maps #179

Closed giohappy closed 2 years ago

giohappy commented 3 years ago

I received a NotImplementedError when searching for maps on GeoNode master demo. After the error any further search is disabled.

image

NotImplementedError 
Traceback (most recent call last):
  File ".../python/plugins\qgis_geonode\gui\geonode_source_select_provider.py", line 440, in search_geonode
    spatial_extent=spatial_extent_epsg4326,
  File ".../python/plugins\qgis_geonode\apiclient\base.py", line 156, in get_layers
    QtNetwork.QNetworkRequest(self.get_layers_url_endpoint(params)),
  File ".../python/plugins\qgis_geonode\apiclient\apiv2.py", line 57, in get_layers_url_endpoint
    query = self._build_search_query(search_params)
  File ".../python/plugins\qgis_geonode\apiclient\apiv2.py", line 124, in _build_search_query
    raise NotImplementedError
NotImplementedError
ricardogsilva commented 2 years ago

Maps support has not been implemented yet, so I removed them from the UI for now