|
@@ -845,6 +845,7 @@ const actions = {
|
|
|
"exceptions": 'application/vnd.ogc.se_inimage',
|
|
|
refresh: new Date().getTime(),
|
|
|
LAYERS: 'socialManagementElement',
|
|
|
+ geoType: 2,
|
|
|
// viewparams: vp,
|
|
|
CQL_FILTER: `(${cql.join(' and ')})`
|
|
|
}
|
|
@@ -866,13 +867,14 @@ const actions = {
|
|
|
cql.push(`INTERSECTS(location, ${state.gisParams.qy.analysisWKT})`)
|
|
|
}
|
|
|
const tileWMS = new source.TileWMS({
|
|
|
- url: `/${rootState.app.apiProxy.geoserverApi}/geoserver/mysqlGeo/wms`,
|
|
|
+ url: `/${rootState.app.apiProxy.geoserverApi}/queryTile`,
|
|
|
params: {
|
|
|
'FORMAT': 'image/png8',
|
|
|
'VERSION': '1.1.1',
|
|
|
"exceptions": 'application/vnd.ogc.se_inimage',
|
|
|
refresh: new Date().getTime(),
|
|
|
- LAYERS: 'mysqlGeo:socialManagementElement',
|
|
|
+ LAYERS: 'socialManagementElement',
|
|
|
+ geoType: 1,
|
|
|
// viewparams: `locationValue:${formatWkt(state.gisParams.qy.analysisWKT)}`,
|
|
|
CQL_FILTER: `(${cql.join(' and ')})`
|
|
|
}
|
|
@@ -895,13 +897,14 @@ const actions = {
|
|
|
cql.push(`INTERSECTS(location, ${state.analysis.wkt})`)
|
|
|
}
|
|
|
const tileWMS = new source.TileWMS({
|
|
|
- url: `/${rootState.app.apiProxy.geoserverApi}/geoserver/mysqlGeo/wms`,
|
|
|
+ url: `/${rootState.app.apiProxy.geoserverApi}/queryTile`,
|
|
|
params: {
|
|
|
'FORMAT': 'image/png8',
|
|
|
'VERSION': '1.1.1',
|
|
|
"exceptions": 'application/vnd.ogc.se_inimage',
|
|
|
refresh: new Date().getTime(),
|
|
|
- LAYERS: 'mysqlGeo:socialManagementElement',
|
|
|
+ LAYERS: 'socialManagementElement',
|
|
|
+ geoType: 1,
|
|
|
// viewparams: `locationValue:${formatWkt(state.analysis.wkt)}`,
|
|
|
CQL_FILTER: `(${cql.join(' and ')})`
|
|
|
}
|