Package org.gdal.ogr
Class ogr
- java.lang.Object
-
- org.gdal.ogr.ogr
-
- All Implemented Interfaces:
ogrConstants
public class ogr extends java.lang.Object implements ogrConstants
-
-
Field Summary
-
Fields inherited from interface org.gdal.ogr.ogrConstants
ALTER_ALL_FLAG, ALTER_DEFAULT_FLAG, ALTER_NAME_FLAG, ALTER_NULLABLE_FLAG, ALTER_TYPE_FLAG, ALTER_WIDTH_PRECISION_FLAG, F_VAL_ALL, F_VAL_ALLOW_NULL_WHEN_DEFAULT, F_VAL_GEOM_TYPE, F_VAL_NULL, F_VAL_WIDTH, NullFID, ODrCCreateDataSource, ODrCDeleteDataSource, ODsCCreateGeomFieldAfterCreateLayer, ODsCCreateLayer, ODsCCurveGeometries, ODsCDeleteLayer, ODsCEmulatedTransactions, ODsCMeasuredGeometries, ODsCRandomLayerRead, ODsCRandomLayerWrite, ODsCTransactions, OFSTBoolean, OFSTFloat32, OFSTInt16, OFSTJSON, OFSTNone, OFTBinary, OFTDate, OFTDateTime, OFTInteger, OFTInteger64, OFTInteger64List, OFTIntegerList, OFTReal, OFTRealList, OFTString, OFTStringList, OFTTime, OFTWideString, OFTWideStringList, OGRERR_CORRUPT_DATA, OGRERR_FAILURE, OGRERR_INVALID_HANDLE, OGRERR_NON_EXISTING_FEATURE, OGRERR_NONE, OGRERR_NOT_ENOUGH_DATA, OGRERR_NOT_ENOUGH_MEMORY, OGRERR_UNSUPPORTED_GEOMETRY_TYPE, OGRERR_UNSUPPORTED_OPERATION, OGRERR_UNSUPPORTED_SRS, OJLeft, OJRight, OJUndefined, OLCAlterFieldDefn, OLCCreateField, OLCCreateGeomField, OLCCurveGeometries, OLCDeleteFeature, OLCDeleteField, OLCFastFeatureCount, OLCFastGetExtent, OLCFastSetNextByIndex, OLCFastSpatialFilter, OLCIgnoreFields, OLCMeasuredGeometries, OLCRandomRead, OLCRandomWrite, OLCReorderFields, OLCSequentialWrite, OLCStringsAsUTF8, OLCTransactions, OLMD_FID64, wkb25Bit, wkb25DBit, wkbCircularString, wkbCircularStringM, wkbCircularStringZ, wkbCircularStringZM, wkbCompoundCurve, wkbCompoundCurveM, wkbCompoundCurveZ, wkbCompoundCurveZM, wkbCurve, wkbCurveM, wkbCurvePolygon, wkbCurvePolygonM, wkbCurvePolygonZ, wkbCurvePolygonZM, wkbCurveZ, wkbCurveZM, wkbGeometryCollection, wkbGeometryCollection25D, wkbGeometryCollectionM, wkbGeometryCollectionZM, wkbLinearRing, wkbLineString, wkbLineString25D, wkbLineStringM, wkbLineStringZM, wkbMultiCurve, wkbMultiCurveM, wkbMultiCurveZ, wkbMultiCurveZM, wkbMultiLineString, wkbMultiLineString25D, wkbMultiLineStringM, wkbMultiLineStringZM, wkbMultiPoint, wkbMultiPoint25D, wkbMultiPointM, wkbMultiPointZM, wkbMultiPolygon, wkbMultiPolygon25D, wkbMultiPolygonM, wkbMultiPolygonZM, wkbMultiSurface, wkbMultiSurfaceM, wkbMultiSurfaceZ, wkbMultiSurfaceZM, wkbNDR, wkbNone, wkbPoint, wkbPoint25D, wkbPointM, wkbPointZM, wkbPolygon, wkbPolygon25D, wkbPolygonM, wkbPolygonZM, wkbPolyhedralSurface, wkbPolyhedralSurfaceM, wkbPolyhedralSurfaceZ, wkbPolyhedralSurfaceZM, wkbSurface, wkbSurfaceM, wkbSurfaceZ, wkbSurfaceZM, wkbTIN, wkbTINM, wkbTINZ, wkbTINZM, wkbTriangle, wkbTriangleM, wkbTriangleZ, wkbTriangleZM, wkbUnknown, wkbXDR
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static GeometryApproximateArcAngles(double dfCenterX, double dfCenterY, double dfZ, double dfPrimaryRadius, double dfSecondaryAxis, double dfRotation, double dfStartAngle, double dfEndAngle, double dfMaxAngleStepSizeDegrees)static GeometryBuildPolygonFromEdges(Geometry hLineCollection)static GeometryBuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort)static GeometryBuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort, int bAutoClose)static GeometryBuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort, int bAutoClose, double dfTolerance)static GeometryCreateGeometryFromEsriJson(java.lang.String input_string)static GeometryCreateGeometryFromGML(java.lang.String input_string)static GeometryCreateGeometryFromJson(java.lang.String input_string)static GeometryCreateGeometryFromWkb(byte[] nLen)static GeometryCreateGeometryFromWkb(byte[] nLen, SpatialReference reference)static GeometryCreateGeometryFromWkt(java.lang.String val)static GeometryCreateGeometryFromWkt(java.lang.String val, SpatialReference reference)static voidDontUseExceptions()static GeometryForceTo(Geometry geom_in, int eTargetType)static GeometryForceTo(Geometry geom_in, int eTargetType, java.util.Vector options)static GeometryForceToLineString(Geometry geom_in)static GeometryForceToMultiLineString(Geometry geom_in)static GeometryForceToMultiPoint(Geometry geom_in)static GeometryForceToMultiPolygon(Geometry geom_in)static GeometryForceToPolygon(Geometry geom_in)static java.lang.String[]GeneralCmdLineProcessor(java.lang.String[] args)static java.lang.String[]GeneralCmdLineProcessor(java.lang.String[] args, int nOptions)static java.util.VectorGeneralCmdLineProcessor(java.util.Vector papszArgv)static java.util.VectorGeneralCmdLineProcessor(java.util.Vector papszArgv, int nOptions)static java.lang.StringGeometryTypeToName(int eType)static DriverGetDriver(int driver_number)static DriverGetDriverByName(java.lang.String name)static intGetDriverCount()static java.lang.StringGetFieldSubTypeName(int type)static java.lang.StringGetFieldTypeName(int type)static intGetNonLinearGeometriesEnabledFlag()static DataSourceGetOpenDS(int ds_number)static intGetOpenDSCount()static intGT_Flatten(int eType)static intGT_GetCollection(int eType)static intGT_GetCurve(int eType)static intGT_GetLinear(int eType)static intGT_HasM(int eType)static intGT_HasZ(int eType)static intGT_IsCurve(int arg0)static intGT_IsNonLinear(int arg0)static intGT_IsSubClassOf(int eType, int eSuperType)static intGT_IsSurface(int arg0)static intGT_SetM(int eType)static intGT_SetModifier(int eType, int bSetZ)static intGT_SetModifier(int eType, int bSetZ, int bSetM)static intGT_SetZ(int eType)static DataSourceOpen(java.lang.String utf8_path)static DataSourceOpen(java.lang.String filename, boolean update)static DataSourceOpen(java.lang.String utf8_path, int update)static DataSourceOpenShared(java.lang.String utf8_path)static DataSourceOpenShared(java.lang.String utf8_path, int update)static voidRegisterAll()static intSetGenerate_DB2_V72_BYTE_ORDER(int bGenerate_DB2_V72_BYTE_ORDER)static voidSetNonLinearGeometriesEnabledFlag(int bFlag)static voidUseExceptions()
-
-
-
Method Detail
-
UseExceptions
public static void UseExceptions()
-
DontUseExceptions
public static void DontUseExceptions()
-
CreateGeometryFromWkb
public static Geometry CreateGeometryFromWkb(byte[] nLen, SpatialReference reference)
-
CreateGeometryFromWkb
public static Geometry CreateGeometryFromWkb(byte[] nLen)
-
CreateGeometryFromWkt
public static Geometry CreateGeometryFromWkt(java.lang.String val, SpatialReference reference)
-
CreateGeometryFromWkt
public static Geometry CreateGeometryFromWkt(java.lang.String val)
-
CreateGeometryFromGML
public static Geometry CreateGeometryFromGML(java.lang.String input_string)
-
CreateGeometryFromJson
public static Geometry CreateGeometryFromJson(java.lang.String input_string)
-
CreateGeometryFromEsriJson
public static Geometry CreateGeometryFromEsriJson(java.lang.String input_string)
-
BuildPolygonFromEdges
public static Geometry BuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort, int bAutoClose, double dfTolerance)
-
BuildPolygonFromEdges
public static Geometry BuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort, int bAutoClose)
-
BuildPolygonFromEdges
public static Geometry BuildPolygonFromEdges(Geometry hLineCollection, int bBestEffort)
-
ApproximateArcAngles
public static Geometry ApproximateArcAngles(double dfCenterX, double dfCenterY, double dfZ, double dfPrimaryRadius, double dfSecondaryAxis, double dfRotation, double dfStartAngle, double dfEndAngle, double dfMaxAngleStepSizeDegrees)
-
ForceTo
public static Geometry ForceTo(Geometry geom_in, int eTargetType, java.util.Vector options)
-
GetDriverCount
public static int GetDriverCount()
-
GetOpenDSCount
public static int GetOpenDSCount()
-
SetGenerate_DB2_V72_BYTE_ORDER
public static int SetGenerate_DB2_V72_BYTE_ORDER(int bGenerate_DB2_V72_BYTE_ORDER)
-
RegisterAll
public static void RegisterAll()
-
GeometryTypeToName
public static java.lang.String GeometryTypeToName(int eType)
-
GetFieldTypeName
public static java.lang.String GetFieldTypeName(int type)
-
GetFieldSubTypeName
public static java.lang.String GetFieldSubTypeName(int type)
-
GT_Flatten
public static int GT_Flatten(int eType)
-
GT_SetZ
public static int GT_SetZ(int eType)
-
GT_SetM
public static int GT_SetM(int eType)
-
GT_SetModifier
public static int GT_SetModifier(int eType, int bSetZ, int bSetM)
-
GT_SetModifier
public static int GT_SetModifier(int eType, int bSetZ)
-
GT_HasZ
public static int GT_HasZ(int eType)
-
GT_HasM
public static int GT_HasM(int eType)
-
GT_IsSubClassOf
public static int GT_IsSubClassOf(int eType, int eSuperType)
-
GT_IsCurve
public static int GT_IsCurve(int arg0)
-
GT_IsSurface
public static int GT_IsSurface(int arg0)
-
GT_IsNonLinear
public static int GT_IsNonLinear(int arg0)
-
GT_GetCollection
public static int GT_GetCollection(int eType)
-
GT_GetCurve
public static int GT_GetCurve(int eType)
-
GT_GetLinear
public static int GT_GetLinear(int eType)
-
SetNonLinearGeometriesEnabledFlag
public static void SetNonLinearGeometriesEnabledFlag(int bFlag)
-
GetNonLinearGeometriesEnabledFlag
public static int GetNonLinearGeometriesEnabledFlag()
-
GetOpenDS
public static DataSource GetOpenDS(int ds_number)
-
Open
public static DataSource Open(java.lang.String utf8_path, int update)
-
Open
public static DataSource Open(java.lang.String utf8_path)
-
OpenShared
public static DataSource OpenShared(java.lang.String utf8_path, int update)
-
OpenShared
public static DataSource OpenShared(java.lang.String utf8_path)
-
GetDriverByName
public static Driver GetDriverByName(java.lang.String name)
-
GetDriver
public static Driver GetDriver(int driver_number)
-
GeneralCmdLineProcessor
public static java.util.Vector GeneralCmdLineProcessor(java.util.Vector papszArgv, int nOptions)
-
GeneralCmdLineProcessor
public static java.util.Vector GeneralCmdLineProcessor(java.util.Vector papszArgv)
-
GeneralCmdLineProcessor
public static java.lang.String[] GeneralCmdLineProcessor(java.lang.String[] args, int nOptions)
-
GeneralCmdLineProcessor
public static java.lang.String[] GeneralCmdLineProcessor(java.lang.String[] args)
-
Open
public static DataSource Open(java.lang.String filename, boolean update)
-
-