-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[GEOS-6842] Improve the dbase reader to filter WHERE clauses using an ODBC driver #763
Conversation
Note: The improvement is perceived for --big-- shapes. This patch with an available ODBC provider avoids the full reading of data that GeoTools does by default. Also, GeoServer in some situations forces to read the shapefile twice in one single WFS request. *ShapeFile "parcela_rustica.shp" for my tests: *Results: We create the CDX files with Visual Fox Pro, are optional. Sorry, I can not attach the code in a zip file, I insert it directly in this message.
We have to implement this patch to publish with GeoServer WFS services using shapefiles so big as this. Our customer does not allow convert the geometries to other geodatabase format (e.g. Postgis). An real WFS request to a GeoServer published using this patch: It uses 3 shapefiles with around of 700mb. Best Regards |
Merging, thanks for your contibution and for providing explanations. |
[GEOS-6842] Improve the dbase reader to filter WHERE clauses using an ODBC driver
Thanks to you Andrea! |
Manages the optional RECNO field index of the ShapefileDataStore to fast quering using some optional DBF ODBC provider.
Now it implements this improvement for two ODBC providers running in Windows. But it can offers this feature using other jodbc driver for Linux...
It fixes:
https://osgeo-org.atlassian.net/browse/GEOS-6842
This PR replaces the #697