Class ST_GeomFromGML
- java.lang.Object
-
- org.h2gis.api.AbstractFunction
-
- org.h2gis.api.DeterministicScalarFunction
-
- org.h2gis.functions.spatial.convert.ST_GeomFromGML
-
- All Implemented Interfaces:
org.h2gis.api.Function,org.h2gis.api.ScalarFunction
public class ST_GeomFromGML extends org.h2gis.api.DeterministicScalarFunctionRead a GML representation and convert it to a geometry.- Author:
- Erwan Bocher
-
-
Field Summary
Fields Modifier and Type Field Description static org.locationtech.jts.geom.GeometryFactorygf
-
Constructor Summary
Constructors Constructor Description ST_GeomFromGML()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetJavaStaticMethod()static org.locationtech.jts.geom.GeometrytoGeometry(String gmlFile)Read the GML representationstatic org.locationtech.jts.geom.GeometrytoGeometry(String gmlFile, int srid)Read the GML representation with a specified SRID-
Methods inherited from class org.h2gis.api.AbstractFunction
addProperty, getProperty, removeProperty
-
-
-
-
Method Detail
-
getJavaStaticMethod
public String getJavaStaticMethod()
-
toGeometry
public static org.locationtech.jts.geom.Geometry toGeometry(String gmlFile) throws SAXException, IOException, ParserConfigurationException
Read the GML representation- Parameters:
gmlFile-- Returns:
- Throws:
SAXExceptionIOExceptionParserConfigurationException
-
toGeometry
public static org.locationtech.jts.geom.Geometry toGeometry(String gmlFile, int srid) throws SAXException, IOException, ParserConfigurationException
Read the GML representation with a specified SRID- Parameters:
gmlFile-srid-- Returns:
- Throws:
SAXExceptionIOExceptionParserConfigurationException
-
-