Martin Desruisseaux ha scritto:
> I just noticed the following page:
> 
> http://docs.codehaus.org/display/GEOSDOC/Custom+projection+definition+in+Geoserver+1.5.0+%28onwards%29
>  
> 
> 
> Since Geoserver 1.5 searchs for "epsg.properties" file into the 
> "$datadir/user_projections" directory, should we define a system 
> property to be used by FactoryUsingWKT in order to search in a 
> particular directory? The "org/geotools/referencing/factory/epsg" 
> directory would be the default if no system property was found. It would 
> avoid the need to create a subclass in Geoserver, and provide a common 
> hook for Geoserver and uDig.

Hum... in Geoserver I really have a fall back property file in the 
classpath (used when there is none provided by the user, and equal to 
the one included in epsg-extensions), so lookup is a little more 
complex. But yeah, in general that seems a good idea.

> As a side note, would "$datadir/user_crs" be a better directory name 
> than "$datadir/user_projections"? ProjectedCRS is just a particular kind 
> of CRS, and "projection" has yet an other meaning in ISO 19111.

You're right, user_crs should be a better one. We would have to update
code and docs. Cc'ing geoserver devel to gather more feedback.

Cheers
Andrea

-------------------------------------------------------------------------
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
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to