public void main(String[] args) throws FactoryException, ParseException {
CoordinateReferenceSystem sourceCRS = CRS.decode("EPSG:4547");
String str = sourceCRS.toWKT();
Element tree = this.getTree(str, new ParsePosition(0));
Element peek = (Element) tree.peek();
Writer writer = new StringBuilderWriter();
PrintWriter printWriter = new PrintWriter(writer);
peek.print(printWriter, 0);
writer.toString();
}
PROJCS["CGCS2000 / 3-degree Gauss-Kruger CM 114E",
GEOGCS["China Geodetic Coordinate System 2000",
DATUM["China 2000",
SPHEROID["CGCS2000", 6378137.0, 298.257222101, AUTHORITY["EPSG","1024"]],
AUTHORITY["EPSG","1043"],
TOWGS84[59.47, -5.04, 187.44, 0.47, -0.1, 1.024, -4.5993]
],
PRIMEM["Greenwich", 0.0, AUTHORITY["EPSG","8901"]],
UNIT["degree", 0.017453292519943295],
AXIS["Geodetic latitude", NORTH],
AXIS["Geodetic longitude", EAST],
AUTHORITY["EPSG","4490"]
],
PROJECTION["Transverse_Mercator", AUTHORITY["EPSG","9807"]],
PARAMETER["central_meridian", 114.0],
PARAMETER["latitude_of_origin", 0.0],
PARAMETER["scale_factor", 1.0],
PARAMETER["false_easting", 500000.0],
PARAMETER["false_northing", 0.0],
UNIT["m", 1.0],
AXIS["Northing", NORTH],
AXIS["Easting", EAST],
]
加在文件加粗的位置
你好,我是问答小助手,本次您提出的有问必答问题,技术专家团超时未为您做出解答
本次提问扣除的有问必答次数,将会以问答VIP体验卡(1次有问必答机会、商城购买实体图书享受95折优惠)的形式为您补发到账户。
因为有问必答VIP体验卡有效期仅有1天,您在需要使用的时候【私信】联系我,我会为您补发。