java/dbloader/src/main/java/be/bosa/dt/best/dbloader/GeoCoder.java
/**
	 * Convert x y to a set of coordinates, optionally convert lambert72 to GPS coordinates
	 * 
	 * @param x x coordinate
	 * @param y y coordinate
	 * @param gps convert to gps or not
	 * @return hex string
	 * @throws java.io.IOException
	 */
Convert x y to a set of coordinates, optionally convert lambert72 to GPS coordinates


Convert x y to a set of coordinates optionally convert lambert72 to GPS coordinates
public Coordinate toCoords(double x, double y, boolean gps) throws IOException {
		Coordinate coords = new Coordinate(x, y);
		if (gps) {
			try {
				coords = JTS.transform(coords, null, trans);
			} catch (TransformException ex) {
				throw new IOException("Could not convert coordinates");
			}
		}
		return coords;
	}
public Coordinate toCoords ( double x , double y , boolean gps ) throws IOException { Coordinate coords = new Coordinate ( x , y ) ; if ( gps ) { try { coords = JTS . transform ( coords , null , trans ) ; } catch ( TransformException ex ) { throw new IOException ( "Could not convert coordinates" ) ; } } return coords ; }
Convert x y to a set of coordinates, optionally convert lambert72 to GPS coordinates
Convert x y to a set of coordinates optionally convert lambert72 to GPS coordinates