Commit adcc16b3bfc4c5fd5b467086cbb3adde27edf46c
1 parent
5ed1eb7a
1.
Showing
1 changed file
with
1 additions
and
1 deletions
src/main/java/com/bsth/util/GeoConverter.java
| ... | ... | @@ -25,7 +25,7 @@ public class GeoConverter { |
| 25 | 25 | throw new IllegalArgumentException("异常的Point wkt数据"); |
| 26 | 26 | } |
| 27 | 27 | CoordinateConverter.Location location = CoordinateConverter.LocationMake(wkt); |
| 28 | - location = CoordinateConverter.transformFromBDToWGS(location); | |
| 28 | + location = CoordinateConverter.transformFromWGSToBD(location); | |
| 29 | 29 | |
| 30 | 30 | return (Point) Wkt.fromWkt(String.format("POINT(%s)", location.toString())); |
| 31 | 31 | } | ... | ... |