Hey Andrea,

Wondering if this change warrants some further discussion since as I
understand it this will result in a <srs> element not being encoded in many
cases. Which perhaps for storing configuration might not be an issue since
we do have the native crs wkt but it could have negative side affects for
restconfig in which clients may be expecting a srs.

-Justin

On Sun, May 27, 2012 at 11:35 AM, <[email protected]> wrote:

> **
>  Revision 17118<http://fisheye.codehaus.org/changelog/geoserver/?cs=17118>
> Author aaime Date 2012-05-27 12:35:41 -0500 (Sun, 27 May 2012) Log Message
>
> [GEOS-5126] Saving a layer whose native SRS has no native EPSG code takes 
> several seconds
>
> Modified Paths
>
>    -
>    
> trunk/src/main/src/main/java/org/geoserver/config/util/XStreamPersister.java<#1378f5e2adb72fae_trunksrcmainsrcmainjavaorggeoserverconfigutilXStreamPersisterjava>
>
>  Diff
> Modified:
> trunk/src/main/src/main/java/org/geoserver/config/util/XStreamPersister.java
> (17117 => 17118)
>
> --- 
> trunk/src/main/src/main/java/org/geoserver/config/util/XStreamPersister.java  
>     2012-05-27 17:34:30 UTC (rev 17117)
> +++ 
> trunk/src/main/src/main/java/org/geoserver/config/util/XStreamPersister.java  
>     2012-05-27 17:35:41 UTC (rev 17118)@@ -973,7 +973,7 @@         public 
> String toString(Object obj) {             CoordinateReferenceSystem crs = 
> (CoordinateReferenceSystem) obj;             try {-                Integer 
> epsg = CRS.lookupEpsgCode(crs, true);+                Integer epsg = 
> CRS.lookupEpsgCode(crs, false);                 if (epsg != null) {           
>           return "EPSG:" + epsg;                 }
>
>   ------------------------------
>
> To unsubscribe from this list please visit:
>
> http://xircles.codehaus.org/manage_email
>



-- 
Justin Deoliveira
OpenGeo - http://opengeo.org
Enterprise support for open source geospatial.
------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to