Can you help me please ?
Is there a configuration other than for version Geonode 3.3 ?
How to activate Query Panel ?
I tested with this code in my settings.py but i did'nt work
{
"op": "add",
"jsonpath": "$.map_viewer..[?(@.name == 'QueryPanel')].cfg",
"value": {
"activateQueryTool": "true",
"toolsOptions": {
"hideCrossLayer": "true"
},
"spatialOperations": [
{"id": "INTERSECTS", "name": "queryform.spatialfilter.operations.intersects"},
{"id": "BBOX", "name": "queryform.spatialfilter.operations.bbox"},
{"id": "CONTAINS", "name": "queryform.spatialfilter.operations.contains"},
{"id": "WITHIN", "name": "queryform.spatialfilter.operations.within"},
{"id": "DWITHIN", "name": "queryform.spatialfilter.operations.dwithin"}
],
"spatialMethodOptions": [
{"id": "Viewport", "name": "queryform.spatialfilter.methods.viewport"},
{ "id": "BBOX", "name": "queryform.spatialfilter.methods.box"},
{"id": "Circle", "name": "queryform.spatialfilter.methods.circle"},
{"id": "Polygon", "name": "queryform.spatialfilter.methods.poly"},
{
"id": "methodId",
"name": "methodName",
"type": "wfsGeocoder",
"url": "urlToGeoserver",
"crossLayer": {
"cqlTemplate": "ATTRIBUTE_Y = '${properties.ATTRIBUTE_Y}'",
"geometryName": "GEOMETRY",
"typeName": "workspace:typeName"
},
"filterProps": {
"blacklist": [],
"maxFeatures": 5,
"predicate": "LIKE",
"queriableAttributes": ["ATTRIBUTE_X"],
"typeName": "workspace:typeName",
"valueField": "ATTRIBUTE_Y",
"srsName": "EPSG:3857"
},
"customItemClassName": "customItemClassName"
} ]
}
}
Is there a configuration other than for version Geonode 4.0?
In the version 2.1, I have documentation with the configurations files but there a not present in the version 4.0 :
Can you help me please ?
Gaëlle Payet
GIS Developer