Skip to content

Commit 6e7feca

Browse files
committed
【bug】1) Dataviz 使用shp第三方发布的数据没有SMID字段,查询报错
(reviewed by chengl)
1 parent 7b7f026 commit 6e7feca

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/openlayers/core/Util.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -342,8 +342,8 @@ export class Util {
342342
static getFeatureBySQL(url, datasetNames, processCompleted, processFaild) {
343343
let getFeatureParam, getFeatureBySQLService, getFeatureBySQLParams;
344344
getFeatureParam = new FilterParameter({
345-
name: datasetNames.join().replace(":", "@"),
346-
attributeFilter: 'SMID > 0'
345+
name: datasetNames.join().replace(":", "@")
346+
// attributeFilter: 'SMID > 0' // shp第三方发布的数据没有SMID字段,http://yt.ispeco.com:8099/issue/DV-131
347347
});
348348
getFeatureBySQLParams = new GetFeaturesBySQLParameters({
349349
queryParameter: getFeatureParam,

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy