Two GeometricAttributeTypes with different CRS should not be "equals()" to each 
other
-------------------------------------------------------------------------------------

                 Key: GEOT-1081
                 URL: http://jira.codehaus.org/browse/GEOT-1081
             Project: GeoTools
          Issue Type: Bug
          Components: core feature
    Affects Versions: 2.3.0, 2.3.M0
            Reporter: Saul Farber
             Fix For: 2.3.1
         Attachments: differentCRSGeometricAttributeTypesAreDifferent.patch

Consider two featureTypes:

featureTypeA.getDefaultGeometry().getCoordinateReferenceSystem() == 
CRS.decode("EPSG:4326")

and

featureTypeB.getDefaultGeometry().getCoordinateReferenceSystem() == null


if featureTypeA and featureTypeB are identical otherwise (same number of 
attributes in the same order, with the same types) then 
featureTypeA.equals(featureTypeB) returns true.  This seems to be a bug to me, 
as these featuretypes are actually different.

-- 
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

        

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to