Lareina Sun a écrit :
> Now I created CoordinateReferenceSystem via
> CRSAuthorityFactory.createCoordinateReferenceSystem(String epsgCode).
> What if the datum has no epsg code? If I only have a datum name can I
> create a
> CoordinateReferenceSystem? I'm trying to find a way not to use EPSG code
> then I don't need to deal with epsg-hsql.
Even if you had every datum informations (name, EPSG code, everything), this is
not suffisient for getting a CoordinateReferenceSystem... Many CRS use the same
datum.
If you don't want to deal with epsg-hsql and your CRS never change, you can:
* Dump it in WKT format (using CoordinateReferenceSystem.toString())
and parse it later using CRS.parseFromWKT(String).
* Or serialize it and deserialize in your application.
Martin
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users