Opened 14 years ago

Closed 14 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 14 years ago.
data.json (148.8 KB ) - added by jef 14 years ago.

Download all attachments as: .zip

Change History (5)

by jef, 14 years ago

Attachment: testjson.sh added

by jef, 14 years ago

Attachment: data.json added

comment:1 by jef, 14 years ago

Component: defaultOGR_SF

comment:2 by Even Rouault, 14 years ago

Owner: changed from warmerdam to Even Rouault

Fixed in trunk in r20984

comment:3 by Even Rouault, 14 years ago

Milestone: 1.7.3
Resolution: fixed
Status: newclosed

Fixed in branches/1.7 in r20989

Note: See TracTickets for help on using tickets.