Hi, I'd like to use JTS geom distances methods such as Geometry.isWithinDistance(...). The problem with these methods is that the unit for the distance parameter depends on the SRS of the geoms. If my geoms are in a polar SRS such as EPSG:4326 then the unit is not in meters but in degrees. But I want to always reason in meters for the distance.
So the solution I guess is to transform my geoms I have to test into a "planar" SRS (typically a Lambert projection) *before* to perform the test with Geometry.isWithinDistance(...). This way I could alway reason in meters. Is it the good approach? If it is, I have to find out a good SRS for that, specialy ones which respect distances the best. For geom which are located in France, I should use EPSG:27572 (Lambert2e). But I'd like to find a plannar SRS for the rest of Europe. I heard that a SRS with a Lambert Azimuthal Equal Area (LAEA) projection should be a good candidate for that because it could respect distances quite well. EPSG:3035 seems to be the good one for me but apparently it's not present in the current EPSG database included GeoTools 2.3.x. And I found this mail from Martin: http://www.mail-archive.com/[EMAIL PROTECTED]/msg0483 8.html Apparently there's no SRS in the current (2.3.x) EPSG database. Do I have to wait 2.4 release if I want to use a SRS which use a Lambert Azimuthal Equal Area projection? Thanks, Vincent. ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
