Commit adcc16b3bfc4c5fd5b467086cbb3adde27edf46c

Authored by 王通
1 parent 5ed1eb7a

1.

src/main/java/com/bsth/util/GeoConverter.java
@@ -25,7 +25,7 @@ public class GeoConverter { @@ -25,7 +25,7 @@ public class GeoConverter {
25 throw new IllegalArgumentException("异常的Point wkt数据"); 25 throw new IllegalArgumentException("异常的Point wkt数据");
26 } 26 }
27 CoordinateConverter.Location location = CoordinateConverter.LocationMake(wkt); 27 CoordinateConverter.Location location = CoordinateConverter.LocationMake(wkt);
28 - location = CoordinateConverter.transformFromBDToWGS(location); 28 + location = CoordinateConverter.transformFromWGSToBD(location);
29 29
30 return (Point) Wkt.fromWkt(String.format("POINT(%s)", location.toString())); 30 return (Point) Wkt.fromWkt(String.format("POINT(%s)", location.toString()));
31 } 31 }