PostGISDataStore SQL encoding when determining feature type
-----------------------------------------------------------

                 Key: GEOT-1384
                 URL: http://jira.codehaus.org/browse/GEOT-1384
             Project: GeoTools
          Issue Type: Bug
    Affects Versions: 2.4-M4
            Reporter: Aleksander Bandelj


This bug prevents detection of features in PostGIS tables which are not in 
geometry_columns. PostgisDataStore#getGeometryAttribute constructs SQL without 
PostgisSQLBuilder. This SQL is not in sync with attribute reader and has 
spurious encode(AsBinary.... Result set then fails in PgWKBAttributeIO#read, 
since no additional encoding is expected there. PostgisSQLBuilder should be 
used to construct SQL.

On PostgreSQL 8.2, PostGIS 1.2. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to