| | |
| | | import com.vividsolutions.jts.geom.GeometryFactory; |
| | | import com.vividsolutions.jts.util.Assert; |
| | | |
| | | import com.ximple.eofms.util.TWDDatumConverter; |
| | | import com.ximple.io.dgn7.GeometryConverter; |
| | | |
| | | public class TWD97GeometryConverterDecorator implements GeometryConverter |
| | |
| | | { |
| | | public void filter(CoordinateSequence coordinateSequence, int i) |
| | | { |
| | | Coordinate pt =coordinateSequence.getCoordinate(i); |
| | | Coordinate pt = coordinateSequence.getCoordinate(i); |
| | | Coordinate pt97 = TWDDatumConverter.fromTM2ToTWD97(pt); |
| | | pt.x = pt97.x; |
| | | pt.y = pt97.y; |