Remember to communicate via geotools-gt2-users list so others can help out.
While I responded quickly with docs I do not generally work on the
referencing system.
If you are unable to communicate in public there are a number of commercial
support options available (including my employer).

Enjoy using GoeTools!
--
Jody Garnett


On Jul 15, 2024 at 12:52:50 AM, Mourad HARMIM <mourad.har...@live.fr> wrote:

> Hello Jody,
>
> Thank you for your early reply.
> I actually added the dependency gt-epsg-hsql where the thecoordinate
> references are supposed to be.
> I also tried passing wkt definitions (which reliability are not sure) but
> still not working.
>
> I'll lookup  the guide you provided. Let's keep in touch.
>
> Best regards,
> Mourad Harmim.
> ------------------------------
> *De :* Jody Garnett <jody.garn...@gmail.com>
> *Envoyé :* lundi 15 juillet 2024 03:08
> *À :* Mourad HARMIM <mourad.har...@live.fr>
> *Cc :* geotools-de...@lists.sourceforge.net <
> geotools-de...@lists.sourceforge.net>;
> geotools-gt2-users@lists.sourceforge.net <
> geotools-gt2-users@lists.sourceforge.net>
> *Objet :* Re: [Geotools-devel] Help with GeoTools : Trouble transforming
> coordinates
>
> The user list is the right place to ask.
>
> I do not work on the coordinate reference system so much myself, there is
> a handy guide for configuring here:
>
> https://docs.geoserver.org/main/en/user/configuration/crshandling/index.html
>
> Using this approach you can provide the transform, however I am curious
> why GeoTools does not have the required information. Are you using
> gt-epsg-shall for definitions or the wkt one?
>
> If you look up online can you compare the information to what is included
> in GeoTools?
> --
> Jody Garnett
>
>
> On Sun, Jul 14, 2024 at 5:31 PM Mourad HARMIM <mourad.har...@live.fr>
> wrote:
>
> Hello everyone,
> I hope this message finds you well.
>
> My name is Mourad Harmim, a Data Engineer consultant from France.
> Still getting used to GeoTools, I’m facing an issue when I try to
> transform coordinates from *Lambert 2 extended (EPSG :27572) to Lambert
> 93 (EPSE :2154).*
>
> Here is my current situation :
>
>    - When I use : *this.mathTransform =
>    CRS.findMathTransform(CRS.decode("EPSG:27572") , CRS.decode("EPSG:2154"),
>    false)* there is an error telling that Bursa Wolf parameters are
>    missing
>    - When I use : *this.mathTransform =
>    CRS.findMathTransform(CRS.decode("EPSG:27572") , CRS.decode("EPSG:2154"),
>    true)* I get coordinates but they seem inaccurate (I guess it is about
>    a missing grid shift)
>    - When I use intermediate system : * Lambert 2 extended (EPSG :27572)
>    to WSG84 (EPSG:4326) to Lambert 93 (EPSE :2154)* I get better results
>    but still inaccurate.
>
>
> I would like to know what it is the correct approch to have an accurate
> transformation between these two systems.
>
> I hope that it is not inappropriate to ask for your help through this
> email and I hope to hear from you soon.
> Thank you.
>
> Mourad Harmim.
> _______________________________________________
> GeoTools-Devel mailing list
> geotools-de...@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/geotools-devel
>
>
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to