The error would be dependent on "how well" you define your projection.
Ted there is some "AUTO" projections that make up the projection appropriate for different locations on the earth based on a provided set of lat/lon. I don't think any of them are in metric however... The code was modified since I wrote it but you can find an example here: - org.geotools.referencing.factory.wms.Auto42001 The javadocs say ... Auto Universal Transverse Mercator (AUTO:42001). In the notation below, "${var}" denotes a reference to the value of a variable "var". The variables "lat0" and "lon0" are the central point of the projection appearing in the CRS parameter of the map request. The coordinate operation method uses ellipsoidal formulas. There are several more defined /gt-referencing/src/main/java/org/geotools/referencing/factory/wms/Auto42001.java /gt-referencing/src/main/java/org/geotools/referencing/factory/wms/Auto42002.java /gt-referencing/src/main/java/org/geotools/referencing/factory/wms/Auto42003.java /gt-referencing/src/main/java/org/geotools/referencing/factory/wms/Auto42004.java /gt-referencing/src/main/java/org/geotools/referencing/factory/wms/Auto42005.java Out of that list the following looks to be okay? Auto Equirectangular (AUTO:42004). In the notation below, "${var}" denotes a reference to the value of a variable "var". The variables "lat0" and "lon0" are the central point of the projection appearing in the CRS parameter of the map request. PROJCS["WGS 84 / Auto Equirectangular", GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS_1984", 6378137, 298.257223563]], PRIMEM["Greenwich", 0], UNIT["Decimal_Degree", 0.0174532925199433]], PROJECTION["Equirectangular"], PARAMETER["Latitude_of_Origin", 0], PARAMETER["Central_Meridian", ${central_meridian}], PARAMETER["Standard_Parallel_1", ${standard_parallel}], UNIT["Meter", 1]] Where: ${standard_parallel} = ${lat0} ${central_meridian} = ${lon0} So you could try using: final ProjectedCRS eqc = factory.createProjectedCRS("AUTO:42004,9001,0.0,35"); (where 0.0 and 35 seem to be the two parameters being passed in) Can you please let me know if this strategy works; as it woudl be good addition to the user manual.... Jody On 27/06/2010, at 10:58 AM, Ted_Buzz wrote: > > would the error be high??? specially if i m adding a small distance 10 meter > max , > > forgive me but I find it really hard to understand different > projections......I know dat i m using the WGS84 and i want to add meters to > a coordinate in long/lat > -- > View this message in context: > http://osgeo-org.1803224.n2.nabble.com/One-Meter-converted-to-Longitude-and-latitude-and-viceversa-tp5222998p5226641.html > Sent from the geotools-gt2-users mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > This SF.net email is sponsored by Sprint > What will you do first with EVO, the first 4G phone? > Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first > _______________________________________________ > Geotools-gt2-users mailing list > Geotools-gt2-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users ------------------------------------------------------------------------------ This SF.net email is sponsored by Sprint What will you do first with EVO, the first 4G phone? Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users