Hi all.
 
I want to ask something about transformation.
 
First, the thing I want is the building's name of the output including its 
coordinates, when I input some coordinates.
 
There are two projection : UTM-K and WGS84.
 
I tried the transformation in ArcGIS.
 
After transfomation UTM-K -> WGS84, I got the Long/Lat.
 
And I did in Geotools below:
 
String utmk = "PROJCS[\"UTM-K\",
                 GEOGCS[\"GCS_Korean_Datum_1985\",
                    DATUM[\"D_Korean_Datum_1985\",
                       
SPHEROID[\"Bessel_1841\",6377397.155,299.1528128,AUTHORITY[\"EPSG\",\"7004\"]],
                       TOWGS84[595.48,121.69,515.35,4.115,-2.9383,0.853,-3.408],
                       AUTHORITY[\"EPSG\",\"1024\"]],
                    PRIMEM[\"Greenwich\",0.0],
                    UNIT[\"Degree\",0.0174532925199433]],
                 PROJECTION[\"Transverse_Mercator\"],
                 PARAMETER[\"False_Easting\",1000000.0],
                 PARAMETER[\"False_Northing\",2000000.0],
                 PARAMETER[\"Central_Meridian\",127.50289027777],
                 PARAMETER[\"Scale_Factor\",0.9996],
                 PARAMETER[\"Latitude_Of_Origin\",38.0],
                 UNIT[\"Meter\",1.0]]";
  CoordinateReferenceSystem targetCRS = CRS.parseWKT(utmk);
  System.out.println(targetCRS.toWKT());
  CoordinateReferenceSystem sourceCRS = 
factory.createCoordinateReferenceSystem("EPSG:4326");
  MathTransform transform = CRS.findMathTransform(sourceCRS, targetCRS);
  GeometryFactory geometryFactory = JTSFactoryFinder.getGeometryFactory( null );
  Coordinate coord = new Coordinate( 117.98962262140743, 19.698503226154997 );
  Point point = geometryFactory.createPoint( coord );
  Geometry geometry2 = JTS.transform(point, transform);
  System.out.println(geometry2);
 
 
The above code, the value of the meter values ​​converted into Long/Lat values.
 
If I converted the Long/Lat values in arcgis and enter the above code, would 
come up with a value of meter?
 
And then the output(meter) and the meter values(UTM-K) before converting in 
ArcGIS are different.
 
The coordinates of the building on Google map coordinates is different checked 
results.
 
So how can I do?
 
Thanks in advanced.
 
 
 
Best Regards.
Kevin Lee.
 
                                          
------------------------------------------------------------------------------
Achieve unprecedented app performance and reliability
What every C/C++ and Fortran developer should know.
Learn how Intel has extended the reach of its next-generation tools
to help boost performance applications - inlcuding clusters.
http://p.sf.net/sfu/intel-dev2devmay
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to