Hey Frank,

Thanks for the explanation. Sounds like we are going to have to deal
with this some day, if NASA produces interesting HDF files for us. 

Agossa,

If the projection parameters are standard then building in support for
the system doesn't sound like it should be too hard. 

If you wait until Martin does it, that could take forever. If you know
about projections and are willing to tackle some clean code that does
some medium difficulty math, then geotidy is the place to dive in. Start
reading the javadocs and tracing the code in the CRS utility class. Wish
we had some docs for you but docs are the ultimate luxury that, so far,
we have not yet acquired.

cheers,
--adrian

On Wed, 2009-02-04 at 14:33 -0500, Frank Warmerdam wrote:
> Adrian Custer wrote:
> > Hey,
> > 
> > We have *no* idea what GCTP might stand for so if you could elaborate we
> > might be able to answer your question. Is there an authority? Does it
> > have a database of codes of some kind? Is there a place where it defines
> > its codes or publishes its projections?
> 
> Adrian,
> 
> GCTP is a FORTRAN (now C) projection library from the USGS.  It includes a
> set of numeric codes for projection methods and a particular way of packaging
> the projection parameters in a 15-entry double array.
> 
> There are some potentially useful definitions and translation functions
> implementing in GDAL:
> 
>    http://svn.osgeo.org/gdal/trunk/gdal/ogr/ogr_srs_usgs.cpp
> 
> Some USGS and NASA file formats, like HDF EOS products, encode coordinate
> system information in a way tightly related to GCTP which is why GDAL
> has translation logic.
> 
> > On Wed, 2009-02-04 at 07:04 -0800, Agossa wrote:
> >> Hello,
> >> How could I use a GCTP Projection code in Geotools? That is, I would like 
> >> to
> >> decode a GCTP code into geotools CoordinateReferenceSystem;
> 
> I would guess that the answer to this will be that Geotools has no specific
> for GCTP (aka USGS) projection definitions and that the application code will
> need to manage the translation into Geotools srs definitions itself though
> I can't say this authoritatively.
> 
> Best regards,


------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to