Guðmundur Jökulsson a écrit :
My problem is that in the hdf5 document I only have the source
projection defined by a proj4 string (typically:
"proj=laea lon_0=6.732576 lat_ts=60.000000 lat_0=61.284970 units=m a=6378137.0
b=6356752.3")
Geotools curently do not have any support for parsing directly a Proj4
string. However, given the wide range of tools build on top of Proj4, it
may be something that we may need to support. If we find a volonter for
that...
In the main time, a possible approach would be to convert the Proj4
string into a WKT string (Well Know Text). The WKT format is
standardized by OGC, and looks like as in the bottom of the following page:
http://www.geotools.org/display/GEOTOOLS/Coordinate+Transformation+Services+for+Geotools+2.1
I never searched, but it seems likely to me that some tools should
exists for converting a Proj4 string into a WKT string. Geotools can
parse directly WKT string.
Martin.
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users