Rising Sun

            BlogJava :: 首頁 :: 新隨筆 :: 聯系 :: 聚合  :: 管理 ::
            148 隨筆 :: 0 文章 :: 22 評論 :: 0 Trackbacks

          arcgis

          CGCS2000_3_Degree_GK_Zone_40

          WKID: 4528 Authority: EPSG

           

          Projection: Gauss_Kruger

          False_Easting: 40500000.0

          False_Northing: 0.0

          Central_Meridian: 120.0

          Scale_Factor: 1.0

          Latitude_Of_Origin: 0.0

          Linear Unit: Meter (1.0)

           

          Geographic Coordinate System: GCS_China_Geodetic_Coordinate_System_2000

          Angular Unit: Degree (0.0174532925199433)

          Prime Meridian: Greenwich (0.0)

          Datum: D_China_2000

            Spheroid: CGCS2000

              Semimajor Axis: 6378137.0

              Semiminor Axis: 6356752.314140356

          Inverse Flattening: 298.257222101

           

          Java 自定義

           

          String [] proj4_w = new String [] { 

          "+proj=tmerc", 
          "+lat_0=0", 
          "+lon_0=120", 
          "+ellps=GRS80", 
          "+units=m", 
          "+x_0=40500000",
          "+y_0=0",
          "+k=1.0"
          };

          經緯度轉換

                 ///+proj=tmerc +lat_0=0 +lon_0=120 +k=1 +x_0=40500000 +y_0=0 +ellps=GRS80 +units=m +no_defs

                          Point2D.Double srcProjec = null;

                          Point2D.Double dstProjec = null;

                          Projection proj = ProjectionFactory.fromPROJ4Specification (proj4_w);

          //  "epsg:4528" 數據從proj4 拷貝 nad

          //      Point2D.Double srcProjec = null;

          //      Point2D.Double dstProjec = null;

          //      Projection proj = ProjectionFactory.getNamedPROJ4CoordinateSystem ("epsg:4528");

           

                  srcProjec = new Point2D.Double (120.159,30.267);

                  //40515348.2903 3349745.5395

                 

                  dstProjec = proj.transform (srcProjec, new Point2D.Double ());

                  System.out.println ("TM:" + dstProjec);

              // TM: Point2D.Double [644904.399587292, 400717.8948938238]

           

                  srcProjec = new Point2D.Double (40515348.2903 ,3349745.5395);

                  dstProjec = proj.inverseTransform (srcProjec, new Point2D.Double ());

                 

                  System.out.println ("TM:" + dstProjec);

          posted on 2014-06-20 11:41 brock 閱讀(3732) 評論(0)  編輯  收藏

          只有注冊用戶登錄后才能發表評論。


          網站導航:
           
          主站蜘蛛池模板: 黔南| 金昌市| 皮山县| 平遥县| SHOW| 色达县| 九龙城区| 高唐县| 长宁县| 子洲县| 临沧市| 久治县| 新竹市| 金平| 桃园县| 临潭县| 宜兰县| 延安市| 安岳县| 建始县| 福建省| 拜泉县| 襄汾县| 彰化县| 射洪县| 沂源县| 孟连| 临邑县| 临洮县| 广德县| 安多县| 抚顺县| 水富县| 宁晋县| 监利县| 都匀市| 阿合奇县| 闽侯县| 伊川县| 松潘县| 冷水江市|