org.h2gis.drivers.utility
Class PRJUtil
java.lang.Object
org.h2gis.drivers.utility.PRJUtil
public class PRJUtil
- extends Object
A class to manage PRJ file
- Author:
- Erwan Bocher
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PRJUtil
public PRJUtil()
getSRID
public static int getSRID(Connection connection,
File prjFile)
throws SQLException,
IOException
- Parameters:
connection - prjFile -
- Returns:
-
- Throws:
SQLException
IOException
writePRJ
public static void writePRJ(Connection connection,
TableLocation location,
String geomField,
File fileName)
throws SQLException,
FileNotFoundException
- Write a prj file according a given SRID code.
- Parameters:
connection - location - geomField - fileName -
- Throws:
SQLException
FileNotFoundException
Copyright © 2015 CNRS. All Rights Reserved.