No description provided.
[springmeyer] Currently the postgis driver queries the geometry_columns to obtain the geometry field name, the srid, and the geometry type (Only the geometry field and srid are currently used). In various cases it is advantageous to be able to skip this need for querying the geometry_columns, e.g.:
Doing this requires that the user supply the 'geometry_field', which is already an option but is only currently used to differentiate between two geometry_column records. Instead this value can be assumed to be the geometry field for all subsequent queries, such as the queries done by the driver to collect attributes or calculate the extent.
Also required is the 'srid' which could be manually supplied or fetched via the EWKT of the geometry field (for geometry types in PostGIS that are EWKT).
[springmeyer] Notably this patch changes the internal usage and meaning of the 'geometry_field' parameter. I'm not sure this is the best/optimal route but it gets closer to the potential features I have in mind. This patch should be looked at in relation to #260.
[rcoup] My revised patch:
[springmeyer] Excellent - thanks!. I removed my previous usage of 'boost::algorithm::to_lower_copy' because we should preserve case in the original query.
applied in r1300
[springmeyer] note: this may address issues related to #260, #296, and #426