[ 
http://jira.codehaus.org/browse/GEOT-2707?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Rini Angreani reopened GEOT-2707:
---------------------------------


Reopens as this is still needed. I didn't realise I still had the patch on my 
local copy, that's why it appeared to be fixed. 

> SRS name isn't updated after CRS reprojection
> ---------------------------------------------
>
>                 Key: GEOT-2707
>                 URL: http://jira.codehaus.org/browse/GEOT-2707
>             Project: GeoTools
>          Issue Type: Sub-task
>          Components: core main
>    Affects Versions: 2.6-M2
>            Reporter: Rini Angreani
>            Assignee: Jody Garnett
>             Fix For: 2.6.5
>
>
> Specify srid in property file:
> _=GEOM:Geometry:srid=4283,NESTED_GEOM_ID:String
> 1=POLYGON((-1.2 52.5,-1.2 52.6,-1.1 52.6,-1.1 52.5,-1.2 52.5))|2
> 2=POINT(42.58 31.29)|1
> Run getFeature query, srs name is correct:
> <ex:geomContainer gml:id="1">
>             <ex:geom>
>                 <gml:Polygon
>                     srsName="urn:x-ogc:def:crs:EPSG:4283">
>                     <gml:exterior>
>                         <gml:LinearRing>
>                             <gml:posList>-1.2 52.5 -1.2 52.6 -1.1 52.6 -1.1 
> 52.5 -1.2 52.5</gml:posList>
>                         </gml:LinearRing>
>                     </gml:exterior>
>                 </gml:Polygon>
>             </ex:geom>
> Run a reprojection query to EPSG:4326:
> "wfs?request=GetFeature&typename=ex:geomContainer&srsname=urn:x-ogc:def:crs:EPSG::4326"
> The coordinates values are correctly reprojected, but the srs name didn't 
> change:
> <ex:geomContainer gml:id="1">
>             <ex:geom>
>                 <gml:Polygon
>                     srsName="urn:x-ogc:def:crs:EPSG:4283">
>                     <gml:exterior>
>                         <gml:LinearRing>
>                             <gml:posList>-1.1999999999634965 52.5 
> -1.1999999999634965 52.6 -1.099999999966089 52.59999999999999 
> -1.099999999966089 52.5 -1.1999999999634965 52.5</gml:posList>
>                         </gml:LinearRing>
>                     </gml:exterior>
>                 </gml:Polygon>
>             </ex:geom>

-- 
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 Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to