Opened 9 years ago

Closed 9 years ago

#3803 closed defect (fixed)

where AND spatial filter does not work on json files

Reported by: jef Owned by: Even Rouault
Priority: normal Milestone: 1.7.3
Component: OGR_SF Version: unspecified
Severity: normal Keywords:
Cc:

Description

attached a json sample file and a simple shell script.

It queries the same data first in json and then in shape.

Looks like the where clause is ignored, when a spatial filter is applied in the json case, whereas it works as expected for the shapefile case.

Output:

$ sh testjson.sh 
data.json
Feature Count: 244
Feature Count: 1
Feature Count: 244
Feature Count: 244
data.shp
Feature Count: 244
Feature Count: 1
Feature Count: 244
Feature Count: 1

See also https://trac.osgeo.org/qgis/ticket/3158 QGIS #3158

Attachments (2)

testjson.sh (392 bytes) - added by jef 9 years ago.
data.json (148.8 KB) - added by jef 9 years ago.

Download all attachments as: .zip

Change History (5)

Changed 9 years ago by jef

Attachment: testjson.sh added

Changed 9 years ago by jef

Attachment: data.json added

comment:1 Changed 9 years ago by jef

Component: defaultOGR_SF

comment:2 Changed 9 years ago by Even Rouault

Owner: changed from warmerdam to Even Rouault

Fixed in trunk in r20984

comment:3 Changed 9 years ago by Even Rouault

Milestone: 1.7.3
Resolution: fixed
Status: newclosed

Fixed in branches/1.7 in r20989

Note: See TracTickets for help on using tickets.