Agossa a écrit :
> Thanks a lot for your answers. My problem could be solved out if I knew how
> to create a projectioncrs from scratch with some geotools class having in
> hand the projection parameters(like "src_semi_major" and so one). I am using
> HDFEOS file format and as Frank said there are using this kind of projection
> in their product. I found an example here but deprecated: I'm unable to find
> neither FactoryGroup nor FactoryContainer in geotools. Herebelow is the code
> copied from GeoTools 2.5 Users Guide
The code snippet is still valid if we replace "FactoryGroup"/"FactoryContainer"
by "ReferencingFactoryContainer". The "ConstantesDespliegue" class is unknown
to
me - I guess that it come from a specific use case. And finally the last line:
> ProjectedCRS projCRS = factories.createProjectedCRS(properties, geoCRS, null,
> parameters, cartCS);
can be replaced by:
Conversion cv = new DefiningConversion("Oblique Stereographic", parameters);
ProjectedCRS projCRS = factories.createProjectedCRS(properties, geoCRS, cv,
cartCS);
Martin
------------------------------------------------------------------------------
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