Re: [Geotools-gt2-users] GCTP Projection

2009-03-30 Thread Martin Desruisseaux
Hello Eugene B a écrit : > I had a look at > http://docs.codehaus.org/display/GEOTDOC/How+to+add+new+projections wiki > page. > And as I understand I should update > resources/META-INF/services/org.geotools.referencing.operation.MathTransformProvider > with my custom provider. And then rebui

Re: [Geotools-gt2-users] GCTP Projection

2009-03-30 Thread Eugene B
Hello! I don't want to create new thread, because my question relates to this topic. I have coordinates dataset stored in WGS84. And in my application I need to scale them with a specific factor. As I understand, to make this scaling I should create my custom projection. I had a look at htt

Re: [Geotools-gt2-users] GCTP Projection

2009-02-08 Thread Martin Desruisseaux
Hello Agossa Given that the "Sinusoidal" projection is not yet implemented in GeoTools, it need to be implemented first. In order to do that, you need to find the equations somewhere (should not be hard) and create a subclass of org.geotools.referencing.operation.projection.MapProjection. I sug

Re: [Geotools-gt2-users] GCTP Projection

2009-02-07 Thread Agossa
Hello Adrian, Could you please help for the sinusoidal projection as you promised? Thanks. 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 co

Re: [Geotools-gt2-users] GCTP Projection

2009-02-07 Thread Martin Desruisseaux
Agossa a écrit : > Many thanks, I've got this Exception: > > org.opengis.referencing.NoSuchIdentifierException: No transform for > classification "Sinusoidal". This projection is not yet implemented in GeoTools. The available projections are: ┌──┬┐ │ EPSG │ Ide

Re: [Geotools-gt2-users] GCTP Projection

2009-02-07 Thread Agossa
Many thanks, I've got this Exception: org.opengis.referencing.NoSuchIdentifierException: No transform for classification "Sinusoidal". at org.geotools.referencing.operation.DefaultMathTransformFactory.getProvider(DefaultMathTransformFactory.java:289) at org.geotools.referencing.op

Re: [Geotools-gt2-users] GCTP Projection

2009-02-05 Thread Martin Desruisseaux
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

Re: [Geotools-gt2-users] GCTP Projection

2009-02-05 Thread Agossa
Dear All, 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 kin

Re: [Geotools-gt2-users] GCTP Projection

2009-02-04 Thread Adrian Custer
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 un

Re: [Geotools-gt2-users] GCTP Projection

2009-02-04 Thread Martin Desruisseaux
Frank Warmerdam a écrit : > 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. Thanks a lot Frank for the explanation. I have never hear

Re: [Geotools-gt2-users] GCTP Projection

2009-02-04 Thread Frank Warmerdam
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? Adr

Re: [Geotools-gt2-users] GCTP Projection

2009-02-04 Thread Adrian Custer
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? cheers, --adrian On Wed, 2009-02-

[Geotools-gt2-users] GCTP Projection

2009-02-04 Thread Agossa
Hello, How could I use a GCTP Projection code in Geotools? That is, I would like to decode a GCTP code into geotools CoordinateReferenceSystem; Thanks for your help. Agossa -- View this message in context: http://n2.nabble.com/GCTP-Projection-tp2269223p2269223.html Sent from the geotools-gt2-use