You will need to speak to the module maintainer (andrea aime) with respect to
hooking up to that module.
I had a project several years ago in this area and took some notes here:
- http://docs.codehaus.org/display/GEOTDOC/Referencing+Developers+Guide
Suffice to say you need to make an instance of the correct factory (to create
your transform) and add a text file META_INF/services/INTERFACE_NAME. The
format of the text file is the name of your implementation, one per line if you
have more than one.
The background for that is here
http://docs.codehaus.org/display/GEOTDOC/05+How+to+write+a+Plugin+-+from+Interface+to+Factory
--
Jody Garnett
On Friday, 11 March 2011 at 3:02 PM, Tom Kunicki wrote:
>
> Oleksandr and Jody,
>
> I came across a the same issue attempting to generate a CRS representing a
> data set with longitudes ranging from 0-360 with some NetCDF files we are
> attempting to access. I expanded on code presented earlier in this thread and
> appear to have a working, invertible solution.
>
> Questions:
> 1) What do I need to place in the ParameterDescriptorGroup instance for each
> of the transforms?
>
>
not sure.
>
> 2) How would I register this transform so that it is available by the
> appropriate factory and/or can be resolved by WKT?
>
>
Using factory spi.
>
> 3) Did I spend a few hours duplicating something that already exists in
> GeoTools?
>
>
Perhaps, Andrea added support for geometry that passes the international date
line - I am not sure if that was done in GeoTools or GeoServer (or indeed how
to use it).
>
> 4) Is this code potentially affected by the presence of the forceXY system
> property (forget the exact name but it's the flag to ignore the authority
> defined axis order)
>
>
Depends how you wrote the code; your code should always look at the axis
information and never assume x/y (or y/x) order.
>
>
>
Wish I could be more help, I recommend attaching your code to a bug report as a
good way to interact with andrea. Or if you are in a hurry contact the company
he works for and arrange for a couple hours of his time.
Jody
------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users