From 8794bf075e096ed6f813ba7fdf57c40596ab7799 Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 12 May 2024 19:38:59 +0100 Subject: [PATCH 1/2] update swig files --- Runtime/Scripts/const/GdalConst.cs | 128 ++- Runtime/Scripts/const/GdalConstPINVOKE.cs | 376 +++++++- Runtime/Scripts/gdal/Access.cs | 2 +- Runtime/Scripts/gdal/AsyncReader.cs | 2 +- Runtime/Scripts/gdal/AsyncStatusType.cs | 2 +- Runtime/Scripts/gdal/Attribute.cs | 12 +- Runtime/Scripts/gdal/Band.cs | 17 +- Runtime/Scripts/gdal/CPLErr.cs | 2 +- Runtime/Scripts/gdal/ColorEntry.cs | 2 +- Runtime/Scripts/gdal/ColorInterp.cs | 2 +- Runtime/Scripts/gdal/ColorTable.cs | 2 +- Runtime/Scripts/gdal/DataType.cs | 5 +- Runtime/Scripts/gdal/Dataset.cs | 116 ++- Runtime/Scripts/gdal/Dimension.cs | 12 +- Runtime/Scripts/gdal/Driver.cs | 2 +- Runtime/Scripts/gdal/EDTComponent.cs | 2 +- Runtime/Scripts/gdal/ExtendedDataType.cs | 2 +- Runtime/Scripts/gdal/ExtendedDataTypeClass.cs | 2 +- .../Scripts/gdal/ExtendedDataTypeSubType.cs | 2 +- Runtime/Scripts/gdal/GCP.cs | 2 +- Runtime/Scripts/gdal/GDALBuildVRTOptions.cs | 2 +- .../Scripts/gdal/GDALDEMProcessingOptions.cs | 2 +- .../GDALFootprintOptions.cs} | 38 +- .../Scripts/gdal/GDALFootprintOptions.cs.meta | 2 + Runtime/Scripts/gdal/GDALGridOptions.cs | 2 +- Runtime/Scripts/gdal/GDALInfoOptions.cs | 2 +- .../Scripts/gdal/GDALMultiDimInfoOptions.cs | 2 +- .../gdal/GDALMultiDimTranslateOptions.cs | 2 +- Runtime/Scripts/gdal/GDALNearblackOptions.cs | 2 +- Runtime/Scripts/gdal/GDALRasterizeOptions.cs | 2 +- Runtime/Scripts/gdal/GDALTileIndexOptions.cs | 80 ++ .../Scripts/gdal/GDALTileIndexOptions.cs.meta | 2 + Runtime/Scripts/gdal/GDALTranslateOptions.cs | 2 +- Runtime/Scripts/gdal/GDALVectorInfoOptions.cs | 80 ++ .../gdal/GDALVectorInfoOptions.cs.meta | 2 + .../gdal/GDALVectorTranslateOptions.cs | 2 +- Runtime/Scripts/gdal/GDALWarpAppOptions.cs | 2 +- Runtime/Scripts/gdal/Gdal.cs | 181 +++- Runtime/Scripts/gdal/GdalPINVOKE.cs | 369 ++++++-- Runtime/Scripts/gdal/Group.cs | 41 +- Runtime/Scripts/gdal/MDArray.cs | 43 +- Runtime/Scripts/gdal/MajorObject.cs | 2 +- Runtime/Scripts/gdal/PaletteInterp.cs | 2 +- Runtime/Scripts/gdal/RATFieldType.cs | 2 +- Runtime/Scripts/gdal/RATFieldUsage.cs | 2 +- Runtime/Scripts/gdal/RATTableType.cs | 2 +- Runtime/Scripts/gdal/RIOResampleAlg.cs | 2 +- Runtime/Scripts/gdal/RWFlag.cs | 2 +- Runtime/Scripts/gdal/RasterAttributeTable.cs | 7 +- Runtime/Scripts/gdal/RasterIOExtraArg.cs | 2 +- Runtime/Scripts/gdal/Relationship.cs | 271 ++++++ Runtime/Scripts/gdal/Relationship.cs.meta | 2 + .../RelationshipCardinality.cs} | 21 +- .../gdal/RelationshipCardinality.cs.meta | 2 + .../RelationshipType.cs} | 16 +- Runtime/Scripts/gdal/RelationshipType.cs.meta | 2 + Runtime/Scripts/gdal/ResampleAlg.cs | 2 +- .../gdal/SWIGTYPE_p_GDALProgressFunc.cs | 2 +- .../gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs | 32 + .../SWIGTYPE_p_GDALSubdatasetInfo.cs.meta | 2 + Runtime/Scripts/gdal/SWIGTYPE_p_GUIntBig.cs | 2 +- .../gdal/SWIGTYPE_p_OGRFieldDomainShadow.cs | 2 +- Runtime/Scripts/gdal/SWIGTYPE_p_int.cs | 2 +- .../gdal/SWIGTYPE_p_p_GDALRasterBandShadow.cs | 2 +- Runtime/Scripts/gdal/SWIGTYPE_p_p_char.cs | 2 +- Runtime/Scripts/gdal/SWIGTYPE_p_void.cs | 2 +- Runtime/Scripts/gdal/SubdatasetInfo.cs | 94 ++ Runtime/Scripts/gdal/SubdatasetInfo.cs.meta | 2 + .../Scripts/gdal/SuggestedWarpOutputRes.cs | 129 +++ .../gdal/SuggestedWarpOutputRes.cs.meta | 2 + Runtime/Scripts/gdal/Transformer.cs | 2 +- Runtime/Scripts/gdal/ViewshedMode.cs | 2 +- Runtime/Scripts/gdal/ViewshedOutputType.cs | 2 +- Runtime/Scripts/gdal/XMLNode.cs | 2 +- Runtime/Scripts/gdal/XMLNodeType.cs | 2 +- Runtime/Scripts/ogr/AreaOfUse.cs | 120 --- Runtime/Scripts/ogr/AreaOfUse.cs.meta | 11 - .../Scripts/ogr/AxisMappingStrategy.cs.meta | 11 - Runtime/Scripts/ogr/AxisOrientation.cs.meta | 11 - Runtime/Scripts/ogr/CRSInfo.cs | 176 ---- Runtime/Scripts/ogr/CRSInfo.cs.meta | 11 - Runtime/Scripts/ogr/CRSInfoList.cs.meta | 11 - Runtime/Scripts/ogr/CRSType.cs | 23 - Runtime/Scripts/ogr/CRSType.cs.meta | 11 - .../Scripts/ogr/CoordinateTransformation.cs | 115 --- .../ogr/CoordinateTransformation.cs.meta | 11 - .../ogr/CoordinateTransformationOptions.cs | 104 -- .../CoordinateTransformationOptions.cs.meta | 11 - Runtime/Scripts/ogr/DataSource.cs | 10 +- Runtime/Scripts/ogr/Driver.cs | 2 +- Runtime/Scripts/ogr/Envelope.cs | 2 +- Runtime/Scripts/ogr/Envelope3D.cs | 2 +- Runtime/Scripts/ogr/Feature.cs | 20 +- Runtime/Scripts/ogr/FeatureDefn.cs | 2 +- Runtime/Scripts/ogr/FieldDefn.cs | 24 +- Runtime/Scripts/ogr/FieldDomain.cs | 14 +- Runtime/Scripts/ogr/FieldDomainMergePolicy.cs | 2 +- Runtime/Scripts/ogr/FieldDomainSplitPolicy.cs | 2 +- Runtime/Scripts/ogr/FieldDomainType.cs | 2 +- Runtime/Scripts/ogr/FieldSubType.cs | 2 +- Runtime/Scripts/ogr/FieldType.cs | 2 +- .../Scripts/ogr/GeomCoordinatePrecision.cs | 153 +++ .../ogr/GeomCoordinatePrecision.cs.meta | 2 + Runtime/Scripts/ogr/GeomFieldDefn.cs | 14 +- Runtime/Scripts/ogr/GeomTransformer.cs | 2 +- Runtime/Scripts/ogr/Geometry.cs | 35 +- Runtime/Scripts/ogr/Justification.cs | 2 +- Runtime/Scripts/ogr/Layer.cs | 28 +- Runtime/Scripts/ogr/Ogr.cs | 26 +- Runtime/Scripts/ogr/OgrPINVOKE.cs | 130 ++- Runtime/Scripts/ogr/Osr.cs | 456 --------- Runtime/Scripts/ogr/Osr.cs.meta | 11 - Runtime/Scripts/ogr/OsrPINVOKE.cs | 848 ----------------- Runtime/Scripts/ogr/OsrPINVOKE.cs.meta | 11 - Runtime/Scripts/ogr/PreparedGeometry.cs | 2 +- Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs | 32 + Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs.meta | 2 + Runtime/Scripts/ogr/SWIGTYPE_p_int.cs | 32 + Runtime/Scripts/ogr/SWIGTYPE_p_int.cs.meta | 2 + Runtime/Scripts/ogr/SpatialReference.cs | 892 ------------------ Runtime/Scripts/ogr/SpatialReference.cs.meta | 11 - Runtime/Scripts/ogr/StyleTable.cs | 2 +- Runtime/Scripts/ogr/wkbByteOrder.cs | 2 +- Runtime/Scripts/ogr/wkbGeometryType.cs | 2 +- Runtime/Scripts/osr/AreaOfUse.cs | 2 +- Runtime/Scripts/osr/AxisMappingStrategy.cs | 2 +- Runtime/Scripts/osr/AxisOrientation.cs | 2 +- Runtime/Scripts/osr/CRSInfo.cs | 2 +- Runtime/Scripts/osr/CRSInfoList.cs | 2 +- Runtime/Scripts/osr/CRSType.cs | 2 +- .../Scripts/osr/CoordinateTransformation.cs | 9 +- .../osr/CoordinateTransformationOptions.cs | 12 +- Runtime/Scripts/osr/Osr.cs | 2 +- Runtime/Scripts/osr/OsrPINVOKE.cs | 38 +- Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs | 32 + Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs.meta | 2 + Runtime/Scripts/osr/SpatialReference.cs | 53 +- 137 files changed, 2623 insertions(+), 3122 deletions(-) rename Runtime/Scripts/{ogr/CRSInfoList.cs => gdal/GDALFootprintOptions.cs} (58%) create mode 100644 Runtime/Scripts/gdal/GDALFootprintOptions.cs.meta create mode 100644 Runtime/Scripts/gdal/GDALTileIndexOptions.cs create mode 100644 Runtime/Scripts/gdal/GDALTileIndexOptions.cs.meta create mode 100644 Runtime/Scripts/gdal/GDALVectorInfoOptions.cs create mode 100644 Runtime/Scripts/gdal/GDALVectorInfoOptions.cs.meta create mode 100644 Runtime/Scripts/gdal/Relationship.cs create mode 100644 Runtime/Scripts/gdal/Relationship.cs.meta rename Runtime/Scripts/{ogr/AxisOrientation.cs => gdal/RelationshipCardinality.cs} (52%) create mode 100644 Runtime/Scripts/gdal/RelationshipCardinality.cs.meta rename Runtime/Scripts/{ogr/AxisMappingStrategy.cs => gdal/RelationshipType.cs} (56%) create mode 100644 Runtime/Scripts/gdal/RelationshipType.cs.meta create mode 100644 Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs create mode 100644 Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs.meta create mode 100644 Runtime/Scripts/gdal/SubdatasetInfo.cs create mode 100644 Runtime/Scripts/gdal/SubdatasetInfo.cs.meta create mode 100644 Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs create mode 100644 Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs.meta delete mode 100644 Runtime/Scripts/ogr/AreaOfUse.cs delete mode 100644 Runtime/Scripts/ogr/AreaOfUse.cs.meta delete mode 100644 Runtime/Scripts/ogr/AxisMappingStrategy.cs.meta delete mode 100644 Runtime/Scripts/ogr/AxisOrientation.cs.meta delete mode 100644 Runtime/Scripts/ogr/CRSInfo.cs delete mode 100644 Runtime/Scripts/ogr/CRSInfo.cs.meta delete mode 100644 Runtime/Scripts/ogr/CRSInfoList.cs.meta delete mode 100644 Runtime/Scripts/ogr/CRSType.cs delete mode 100644 Runtime/Scripts/ogr/CRSType.cs.meta delete mode 100644 Runtime/Scripts/ogr/CoordinateTransformation.cs delete mode 100644 Runtime/Scripts/ogr/CoordinateTransformation.cs.meta delete mode 100644 Runtime/Scripts/ogr/CoordinateTransformationOptions.cs delete mode 100644 Runtime/Scripts/ogr/CoordinateTransformationOptions.cs.meta create mode 100644 Runtime/Scripts/ogr/GeomCoordinatePrecision.cs create mode 100644 Runtime/Scripts/ogr/GeomCoordinatePrecision.cs.meta delete mode 100644 Runtime/Scripts/ogr/Osr.cs delete mode 100644 Runtime/Scripts/ogr/Osr.cs.meta delete mode 100644 Runtime/Scripts/ogr/OsrPINVOKE.cs delete mode 100644 Runtime/Scripts/ogr/OsrPINVOKE.cs.meta create mode 100644 Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs create mode 100644 Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs.meta create mode 100644 Runtime/Scripts/ogr/SWIGTYPE_p_int.cs create mode 100644 Runtime/Scripts/ogr/SWIGTYPE_p_int.cs.meta delete mode 100644 Runtime/Scripts/ogr/SpatialReference.cs delete mode 100644 Runtime/Scripts/ogr/SpatialReference.cs.meta create mode 100644 Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs create mode 100644 Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs.meta diff --git a/Runtime/Scripts/const/GdalConst.cs b/Runtime/Scripts/const/GdalConst.cs index fe6e333..7a3b482 100644 --- a/Runtime/Scripts/const/GdalConst.cs +++ b/Runtime/Scripts/const/GdalConst.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -16,6 +16,7 @@ namespace OSGeo.GDAL { public class GdalConst { public static readonly int GDT_Unknown = GdalConstPINVOKE.GDT_Unknown_get(); public static readonly int GDT_Byte = GdalConstPINVOKE.GDT_Byte_get(); + public static readonly int GDT_Int8 = GdalConstPINVOKE.GDT_Int8_get(); public static readonly int GDT_UInt16 = GdalConstPINVOKE.GDT_UInt16_get(); public static readonly int GDT_Int16 = GdalConstPINVOKE.GDT_Int16_get(); public static readonly int GDT_UInt32 = GdalConstPINVOKE.GDT_UInt32_get(); @@ -113,35 +114,149 @@ public class GdalConst { public static readonly int OF_UPDATE = GdalConstPINVOKE.OF_UPDATE_get(); public static readonly int OF_SHARED = GdalConstPINVOKE.OF_SHARED_get(); public static readonly int OF_VERBOSE_ERROR = GdalConstPINVOKE.OF_VERBOSE_ERROR_get(); + public static readonly string DMD_LONGNAME = GdalConstPINVOKE.DMD_LONGNAME_get(); public static readonly string GDAL_DMD_LONGNAME = GdalConstPINVOKE.GDAL_DMD_LONGNAME_get(); + public static readonly string DMD_HELPTOPIC = GdalConstPINVOKE.DMD_HELPTOPIC_get(); public static readonly string GDAL_DMD_HELPTOPIC = GdalConstPINVOKE.GDAL_DMD_HELPTOPIC_get(); + public static readonly string DMD_MIMETYPE = GdalConstPINVOKE.DMD_MIMETYPE_get(); public static readonly string GDAL_DMD_MIMETYPE = GdalConstPINVOKE.GDAL_DMD_MIMETYPE_get(); + public static readonly string DMD_EXTENSION = GdalConstPINVOKE.DMD_EXTENSION_get(); public static readonly string GDAL_DMD_EXTENSION = GdalConstPINVOKE.GDAL_DMD_EXTENSION_get(); - public static readonly string GDAL_DMD_EXTENSIONS = GdalConstPINVOKE.GDAL_DMD_EXTENSIONS_get(); public static readonly string DMD_CONNECTION_PREFIX = GdalConstPINVOKE.DMD_CONNECTION_PREFIX_get(); + public static readonly string GDAL_DMD_CONNECTION_PREFIX = GdalConstPINVOKE.GDAL_DMD_CONNECTION_PREFIX_get(); + public static readonly string DMD_EXTENSIONS = GdalConstPINVOKE.DMD_EXTENSIONS_get(); + public static readonly string GDAL_DMD_EXTENSIONS = GdalConstPINVOKE.GDAL_DMD_EXTENSIONS_get(); + public static readonly string DMD_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_CREATIONOPTIONLIST_get(); public static readonly string GDAL_DMD_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_CREATIONOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_ARRAY_OPENOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get(); + public static readonly string DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST = GdalConstPINVOKE.DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get(); + public static readonly string GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get(); + public static readonly string DMD_OPENOPTIONLIST = GdalConstPINVOKE.DMD_OPENOPTIONLIST_get(); + public static readonly string GDAL_DMD_OPENOPTIONLIST = GdalConstPINVOKE.GDAL_DMD_OPENOPTIONLIST_get(); + public static readonly string DMD_CREATIONDATATYPES = GdalConstPINVOKE.DMD_CREATIONDATATYPES_get(); public static readonly string GDAL_DMD_CREATIONDATATYPES = GdalConstPINVOKE.GDAL_DMD_CREATIONDATATYPES_get(); + public static readonly string DMD_CREATIONFIELDDATATYPES = GdalConstPINVOKE.DMD_CREATIONFIELDDATATYPES_get(); public static readonly string GDAL_DMD_CREATIONFIELDDATATYPES = GdalConstPINVOKE.GDAL_DMD_CREATIONFIELDDATATYPES_get(); + public static readonly string DMD_CREATIONFIELDDATASUBTYPES = GdalConstPINVOKE.DMD_CREATIONFIELDDATASUBTYPES_get(); + public static readonly string GDAL_DMD_CREATIONFIELDDATASUBTYPES = GdalConstPINVOKE.GDAL_DMD_CREATIONFIELDDATASUBTYPES_get(); + public static readonly string GDAL_DMD_CREATION_FIELD_DEFN_FLAGS = GdalConstPINVOKE.GDAL_DMD_CREATION_FIELD_DEFN_FLAGS_get(); + public static readonly string DMD_CREATION_FIELD_DEFN_FLAGS = GdalConstPINVOKE.DMD_CREATION_FIELD_DEFN_FLAGS_get(); + public static readonly string DMD_SUBDATASETS = GdalConstPINVOKE.DMD_SUBDATASETS_get(); public static readonly string GDAL_DMD_SUBDATASETS = GdalConstPINVOKE.GDAL_DMD_SUBDATASETS_get(); + public static readonly string DMD_CREATION_FIELD_DOMAIN_TYPES = GdalConstPINVOKE.DMD_CREATION_FIELD_DOMAIN_TYPES_get(); public static readonly string GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES = GdalConstPINVOKE.GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES_get(); + public static readonly string DMD_ALTER_GEOM_FIELD_DEFN_FLAGS = GdalConstPINVOKE.DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get(); + public static readonly string GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS = GdalConstPINVOKE.GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get(); + public static readonly string DMD_SUPPORTED_SQL_DIALECTS = GdalConstPINVOKE.DMD_SUPPORTED_SQL_DIALECTS_get(); + public static readonly string GDAL_DMD_SUPPORTED_SQL_DIALECTS = GdalConstPINVOKE.GDAL_DMD_SUPPORTED_SQL_DIALECTS_get(); + public static readonly string DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR = GdalConstPINVOKE.DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get(); + public static readonly string GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR = GdalConstPINVOKE.GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get(); + public static readonly string DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN = GdalConstPINVOKE.DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get(); + public static readonly string GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN = GdalConstPINVOKE.GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get(); + public static readonly string DCAP_OPEN = GdalConstPINVOKE.DCAP_OPEN_get(); public static readonly string GDAL_DCAP_OPEN = GdalConstPINVOKE.GDAL_DCAP_OPEN_get(); + public static readonly string DCAP_CREATE = GdalConstPINVOKE.DCAP_CREATE_get(); public static readonly string GDAL_DCAP_CREATE = GdalConstPINVOKE.GDAL_DCAP_CREATE_get(); + public static readonly string DCAP_CREATE_MULTIDIMENSIONAL = GdalConstPINVOKE.DCAP_CREATE_MULTIDIMENSIONAL_get(); + public static readonly string GDAL_DCAP_CREATE_MULTIDIMENSIONAL = GdalConstPINVOKE.GDAL_DCAP_CREATE_MULTIDIMENSIONAL_get(); + public static readonly string DCAP_CREATECOPY = GdalConstPINVOKE.DCAP_CREATECOPY_get(); public static readonly string GDAL_DCAP_CREATECOPY = GdalConstPINVOKE.GDAL_DCAP_CREATECOPY_get(); + public static readonly string DCAP_CREATECOPY_MULTIDIMENSIONAL = GdalConstPINVOKE.DCAP_CREATECOPY_MULTIDIMENSIONAL_get(); + public static readonly string GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL = GdalConstPINVOKE.GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL_get(); + public static readonly string DCAP_MULTIDIM_RASTER = GdalConstPINVOKE.DCAP_MULTIDIM_RASTER_get(); + public static readonly string GDAL_DCAP_MULTIDIM_RASTER = GdalConstPINVOKE.GDAL_DCAP_MULTIDIM_RASTER_get(); + public static readonly string DCAP_SUBCREATECOPY = GdalConstPINVOKE.DCAP_SUBCREATECOPY_get(); + public static readonly string GDAL_DCAP_SUBCREATECOPY = GdalConstPINVOKE.GDAL_DCAP_SUBCREATECOPY_get(); + public static readonly string DCAP_VIRTUALIO = GdalConstPINVOKE.DCAP_VIRTUALIO_get(); public static readonly string GDAL_DCAP_VIRTUALIO = GdalConstPINVOKE.GDAL_DCAP_VIRTUALIO_get(); public static readonly string DCAP_RASTER = GdalConstPINVOKE.DCAP_RASTER_get(); + public static readonly string GDAL_DCAP_RASTER = GdalConstPINVOKE.GDAL_DCAP_RASTER_get(); public static readonly string DCAP_VECTOR = GdalConstPINVOKE.DCAP_VECTOR_get(); + public static readonly string GDAL_DCAP_VECTOR = GdalConstPINVOKE.GDAL_DCAP_VECTOR_get(); + public static readonly string DCAP_GNM = GdalConstPINVOKE.DCAP_GNM_get(); + public static readonly string GDAL_DCAP_GNM = GdalConstPINVOKE.GDAL_DCAP_GNM_get(); + public static readonly string DCAP_CREATE_LAYER = GdalConstPINVOKE.DCAP_CREATE_LAYER_get(); + public static readonly string GDAL_DCAP_CREATE_LAYER = GdalConstPINVOKE.GDAL_DCAP_CREATE_LAYER_get(); + public static readonly string DCAP_DELETE_LAYER = GdalConstPINVOKE.DCAP_DELETE_LAYER_get(); + public static readonly string GDAL_DCAP_DELETE_LAYER = GdalConstPINVOKE.GDAL_DCAP_DELETE_LAYER_get(); + public static readonly string DCAP_CREATE_FIELD = GdalConstPINVOKE.DCAP_CREATE_FIELD_get(); + public static readonly string GDAL_DCAP_CREATE_FIELD = GdalConstPINVOKE.GDAL_DCAP_CREATE_FIELD_get(); + public static readonly string DCAP_DELETE_FIELD = GdalConstPINVOKE.DCAP_DELETE_FIELD_get(); + public static readonly string GDAL_DCAP_DELETE_FIELD = GdalConstPINVOKE.GDAL_DCAP_DELETE_FIELD_get(); + public static readonly string DCAP_REORDER_FIELDS = GdalConstPINVOKE.DCAP_REORDER_FIELDS_get(); + public static readonly string GDAL_DCAP_REORDER_FIELDS = GdalConstPINVOKE.GDAL_DCAP_REORDER_FIELDS_get(); + public static readonly string DMD_ALTER_FIELD_DEFN_FLAGS = GdalConstPINVOKE.DMD_ALTER_FIELD_DEFN_FLAGS_get(); + public static readonly string GDAL_DMD_ALTER_FIELD_DEFN_FLAGS = GdalConstPINVOKE.GDAL_DMD_ALTER_FIELD_DEFN_FLAGS_get(); + public static readonly string DMD_ILLEGAL_FIELD_NAMES = GdalConstPINVOKE.DMD_ILLEGAL_FIELD_NAMES_get(); + public static readonly string GDAL_DMD_ILLEGAL_FIELD_NAMES = GdalConstPINVOKE.GDAL_DMD_ILLEGAL_FIELD_NAMES_get(); public static readonly string DCAP_NOTNULL_FIELDS = GdalConstPINVOKE.DCAP_NOTNULL_FIELDS_get(); + public static readonly string GDAL_DCAP_NOTNULL_FIELDS = GdalConstPINVOKE.GDAL_DCAP_NOTNULL_FIELDS_get(); + public static readonly string DCAP_UNIQUE_FIELDS = GdalConstPINVOKE.DCAP_UNIQUE_FIELDS_get(); + public static readonly string GDAL_DCAP_UNIQUE_FIELDS = GdalConstPINVOKE.GDAL_DCAP_UNIQUE_FIELDS_get(); public static readonly string DCAP_DEFAULT_FIELDS = GdalConstPINVOKE.DCAP_DEFAULT_FIELDS_get(); + public static readonly string GDAL_DCAP_DEFAULT_FIELDS = GdalConstPINVOKE.GDAL_DCAP_DEFAULT_FIELDS_get(); public static readonly string DCAP_NOTNULL_GEOMFIELDS = GdalConstPINVOKE.DCAP_NOTNULL_GEOMFIELDS_get(); - public static readonly string DCAP_UNIQUE_FIELDS = GdalConstPINVOKE.DCAP_UNIQUE_FIELDS_get(); + public static readonly string GDAL_DCAP_NOTNULL_GEOMFIELDS = GdalConstPINVOKE.GDAL_DCAP_NOTNULL_GEOMFIELDS_get(); + public static readonly string DCAP_NONSPATIAL = GdalConstPINVOKE.DCAP_NONSPATIAL_get(); + public static readonly string GDAL_DCAP_NONSPATIAL = GdalConstPINVOKE.GDAL_DCAP_NONSPATIAL_get(); + public static readonly string DCAP_CURVE_GEOMETRIES = GdalConstPINVOKE.DCAP_CURVE_GEOMETRIES_get(); + public static readonly string GDAL_DCAP_CURVE_GEOMETRIES = GdalConstPINVOKE.GDAL_DCAP_CURVE_GEOMETRIES_get(); + public static readonly string DCAP_MEASURED_GEOMETRIES = GdalConstPINVOKE.DCAP_MEASURED_GEOMETRIES_get(); + public static readonly string GDAL_DCAP_MEASURED_GEOMETRIES = GdalConstPINVOKE.GDAL_DCAP_MEASURED_GEOMETRIES_get(); + public static readonly string DCAP_Z_GEOMETRIES = GdalConstPINVOKE.DCAP_Z_GEOMETRIES_get(); + public static readonly string GDAL_DCAP_Z_GEOMETRIES = GdalConstPINVOKE.GDAL_DCAP_Z_GEOMETRIES_get(); + public static readonly string DMD_GEOMETRY_FLAGS = GdalConstPINVOKE.DMD_GEOMETRY_FLAGS_get(); + public static readonly string GDAL_DMD_GEOMETRY_FLAGS = GdalConstPINVOKE.GDAL_DMD_GEOMETRY_FLAGS_get(); + public static readonly string DCAP_FEATURE_STYLES = GdalConstPINVOKE.DCAP_FEATURE_STYLES_get(); + public static readonly string GDAL_DCAP_FEATURE_STYLES = GdalConstPINVOKE.GDAL_DCAP_FEATURE_STYLES_get(); + public static readonly string DCAP_FEATURE_STYLES_READ = GdalConstPINVOKE.DCAP_FEATURE_STYLES_READ_get(); + public static readonly string GDAL_DCAP_FEATURE_STYLES_READ = GdalConstPINVOKE.GDAL_DCAP_FEATURE_STYLES_READ_get(); + public static readonly string DCAP_FEATURE_STYLES_WRITE = GdalConstPINVOKE.DCAP_FEATURE_STYLES_WRITE_get(); + public static readonly string GDAL_DCAP_FEATURE_STYLES_WRITE = GdalConstPINVOKE.GDAL_DCAP_FEATURE_STYLES_WRITE_get(); public static readonly string DCAP_COORDINATE_EPOCH = GdalConstPINVOKE.DCAP_COORDINATE_EPOCH_get(); + public static readonly string GDAL_DCAP_COORDINATE_EPOCH = GdalConstPINVOKE.GDAL_DCAP_COORDINATE_EPOCH_get(); + public static readonly string DCAP_MULTIPLE_VECTOR_LAYERS = GdalConstPINVOKE.DCAP_MULTIPLE_VECTOR_LAYERS_get(); + public static readonly string GDAL_DCAP_MULTIPLE_VECTOR_LAYERS = GdalConstPINVOKE.GDAL_DCAP_MULTIPLE_VECTOR_LAYERS_get(); public static readonly string DCAP_FIELD_DOMAINS = GdalConstPINVOKE.DCAP_FIELD_DOMAINS_get(); + public static readonly string GDAL_DCAP_FIELD_DOMAINS = GdalConstPINVOKE.GDAL_DCAP_FIELD_DOMAINS_get(); + public static readonly string DCAP_RELATIONSHIPS = GdalConstPINVOKE.DCAP_RELATIONSHIPS_get(); + public static readonly string GDAL_DCAP_RELATIONSHIPS = GdalConstPINVOKE.GDAL_DCAP_RELATIONSHIPS_get(); + public static readonly string DCAP_CREATE_RELATIONSHIP = GdalConstPINVOKE.DCAP_CREATE_RELATIONSHIP_get(); + public static readonly string GDAL_DCAP_CREATE_RELATIONSHIP = GdalConstPINVOKE.GDAL_DCAP_CREATE_RELATIONSHIP_get(); + public static readonly string DCAP_DELETE_RELATIONSHIP = GdalConstPINVOKE.DCAP_DELETE_RELATIONSHIP_get(); + public static readonly string GDAL_DCAP_DELETE_RELATIONSHIP = GdalConstPINVOKE.GDAL_DCAP_DELETE_RELATIONSHIP_get(); + public static readonly string DCAP_UPDATE_RELATIONSHIP = GdalConstPINVOKE.DCAP_UPDATE_RELATIONSHIP_get(); + public static readonly string GDAL_DCAP_UPDATE_RELATIONSHIP = GdalConstPINVOKE.GDAL_DCAP_UPDATE_RELATIONSHIP_get(); + public static readonly string DMD_RELATIONSHIP_FLAGS = GdalConstPINVOKE.DMD_RELATIONSHIP_FLAGS_get(); + public static readonly string GDAL_DMD_RELATIONSHIP_FLAGS = GdalConstPINVOKE.GDAL_DMD_RELATIONSHIP_FLAGS_get(); + public static readonly string DMD_RELATIONSHIP_RELATED_TABLE_TYPES = GdalConstPINVOKE.DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get(); + public static readonly string GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES = GdalConstPINVOKE.GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get(); public static readonly string DCAP_RENAME_LAYERS = GdalConstPINVOKE.DCAP_RENAME_LAYERS_get(); + public static readonly string GDAL_DCAP_RENAME_LAYERS = GdalConstPINVOKE.GDAL_DCAP_RENAME_LAYERS_get(); + public static readonly string DCAP_FLUSHCACHE_CONSISTENT_STATE = GdalConstPINVOKE.DCAP_FLUSHCACHE_CONSISTENT_STATE_get(); + public static readonly string GDAL_DCAP_FLUSHCACHE_CONSISTENT_STATE = GdalConstPINVOKE.GDAL_DCAP_FLUSHCACHE_CONSISTENT_STATE_get(); public static readonly string DIM_TYPE_HORIZONTAL_X = GdalConstPINVOKE.DIM_TYPE_HORIZONTAL_X_get(); + public static readonly string GDAL_DIM_TYPE_HORIZONTAL_X = GdalConstPINVOKE.GDAL_DIM_TYPE_HORIZONTAL_X_get(); public static readonly string DIM_TYPE_HORIZONTAL_Y = GdalConstPINVOKE.DIM_TYPE_HORIZONTAL_Y_get(); + public static readonly string GDAL_DIM_TYPE_HORIZONTAL_Y = GdalConstPINVOKE.GDAL_DIM_TYPE_HORIZONTAL_Y_get(); public static readonly string DIM_TYPE_VERTICAL = GdalConstPINVOKE.DIM_TYPE_VERTICAL_get(); + public static readonly string GDAL_DIM_TYPE_VERTICAL = GdalConstPINVOKE.GDAL_DIM_TYPE_VERTICAL_get(); public static readonly string DIM_TYPE_TEMPORAL = GdalConstPINVOKE.DIM_TYPE_TEMPORAL_get(); + public static readonly string GDAL_DIM_TYPE_TEMPORAL = GdalConstPINVOKE.GDAL_DIM_TYPE_TEMPORAL_get(); public static readonly string DIM_TYPE_PARAMETRIC = GdalConstPINVOKE.DIM_TYPE_PARAMETRIC_get(); + public static readonly string GDAL_DIM_TYPE_PARAMETRIC = GdalConstPINVOKE.GDAL_DIM_TYPE_PARAMETRIC_get(); + public static readonly string GDsCAddRelationship = GdalConstPINVOKE.GDsCAddRelationship_get(); + public static readonly string GDsCDeleteRelationship = GdalConstPINVOKE.GDsCDeleteRelationship_get(); + public static readonly string GDsCUpdateRelationship = GdalConstPINVOKE.GDsCUpdateRelationship_get(); public static readonly int CPLES_BackslashQuotable = GdalConstPINVOKE.CPLES_BackslashQuotable_get(); public static readonly int CPLES_XML = GdalConstPINVOKE.CPLES_XML_get(); public static readonly int CPLES_XML_BUT_QUOTES = GdalConstPINVOKE.CPLES_XML_BUT_QUOTES_get(); @@ -187,6 +302,13 @@ public class GdalConst { public static readonly int GTO_TIP = GdalConstPINVOKE.GTO_TIP_get(); public static readonly int GTO_BIT = GdalConstPINVOKE.GTO_BIT_get(); public static readonly int GTO_BSQ = GdalConstPINVOKE.GTO_BSQ_get(); + public static readonly int GRC_ONE_TO_ONE = GdalConstPINVOKE.GRC_ONE_TO_ONE_get(); + public static readonly int GRC_ONE_TO_MANY = GdalConstPINVOKE.GRC_ONE_TO_MANY_get(); + public static readonly int GRC_MANY_TO_ONE = GdalConstPINVOKE.GRC_MANY_TO_ONE_get(); + public static readonly int GRC_MANY_TO_MANY = GdalConstPINVOKE.GRC_MANY_TO_MANY_get(); + public static readonly int GRT_COMPOSITE = GdalConstPINVOKE.GRT_COMPOSITE_get(); + public static readonly int GRT_ASSOCIATION = GdalConstPINVOKE.GRT_ASSOCIATION_get(); + public static readonly int GRT_AGGREGATION = GdalConstPINVOKE.GRT_AGGREGATION_get(); } } diff --git a/Runtime/Scripts/const/GdalConstPINVOKE.cs b/Runtime/Scripts/const/GdalConstPINVOKE.cs index 4db2d0e..2769ab1 100644 --- a/Runtime/Scripts/const/GdalConstPINVOKE.cs +++ b/Runtime/Scripts/const/GdalConstPINVOKE.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -230,6 +230,9 @@ static GdalConstPINVOKE() { [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDT_Byte_get___")] public static extern int GDT_Byte_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDT_Int8_get___")] + public static extern int GDT_Int8_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDT_UInt16_get___")] public static extern int GDT_UInt16_get(); @@ -521,93 +524,435 @@ static GdalConstPINVOKE() { [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_OF_VERBOSE_ERROR_get___")] public static extern int OF_VERBOSE_ERROR_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_LONGNAME_get___")] + public static extern string DMD_LONGNAME_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_LONGNAME_get___")] public static extern string GDAL_DMD_LONGNAME_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_HELPTOPIC_get___")] + public static extern string DMD_HELPTOPIC_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_HELPTOPIC_get___")] public static extern string GDAL_DMD_HELPTOPIC_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MIMETYPE_get___")] + public static extern string DMD_MIMETYPE_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MIMETYPE_get___")] public static extern string GDAL_DMD_MIMETYPE_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_EXTENSION_get___")] + public static extern string DMD_EXTENSION_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_EXTENSION_get___")] public static extern string GDAL_DMD_EXTENSION_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CONNECTION_PREFIX_get___")] + public static extern string DMD_CONNECTION_PREFIX_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CONNECTION_PREFIX_get___")] + public static extern string GDAL_DMD_CONNECTION_PREFIX_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_EXTENSIONS_get___")] + public static extern string DMD_EXTENSIONS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_EXTENSIONS_get___")] public static extern string GDAL_DMD_EXTENSIONS_get(); - [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CONNECTION_PREFIX_get___")] - public static extern string DMD_CONNECTION_PREFIX_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATIONOPTIONLIST_get___")] + public static extern string DMD_CREATIONOPTIONLIST_get(); [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATIONOPTIONLIST_get___")] public static extern string GDAL_DMD_CREATIONOPTIONLIST_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_DATASET_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_GROUP_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_DIMENSION_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_ARRAY_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_ARRAY_OPENOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get___")] + public static extern string DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get___")] + public static extern string GDAL_DMD_MULTIDIM_ATTRIBUTE_CREATIONOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_OPENOPTIONLIST_get___")] + public static extern string DMD_OPENOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_OPENOPTIONLIST_get___")] + public static extern string GDAL_DMD_OPENOPTIONLIST_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATIONDATATYPES_get___")] + public static extern string DMD_CREATIONDATATYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATIONDATATYPES_get___")] public static extern string GDAL_DMD_CREATIONDATATYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATIONFIELDDATATYPES_get___")] + public static extern string DMD_CREATIONFIELDDATATYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATIONFIELDDATATYPES_get___")] public static extern string GDAL_DMD_CREATIONFIELDDATATYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATIONFIELDDATASUBTYPES_get___")] + public static extern string DMD_CREATIONFIELDDATASUBTYPES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATIONFIELDDATASUBTYPES_get___")] + public static extern string GDAL_DMD_CREATIONFIELDDATASUBTYPES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATION_FIELD_DEFN_FLAGS_get___")] + public static extern string GDAL_DMD_CREATION_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATION_FIELD_DEFN_FLAGS_get___")] + public static extern string DMD_CREATION_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_SUBDATASETS_get___")] + public static extern string DMD_SUBDATASETS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_SUBDATASETS_get___")] public static extern string GDAL_DMD_SUBDATASETS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_CREATION_FIELD_DOMAIN_TYPES_get___")] + public static extern string DMD_CREATION_FIELD_DOMAIN_TYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES_get___")] public static extern string GDAL_DMD_CREATION_FIELD_DOMAIN_TYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get___")] + public static extern string DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get___")] + public static extern string GDAL_DMD_ALTER_GEOM_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_SUPPORTED_SQL_DIALECTS_get___")] + public static extern string DMD_SUPPORTED_SQL_DIALECTS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_SUPPORTED_SQL_DIALECTS_get___")] + public static extern string GDAL_DMD_SUPPORTED_SQL_DIALECTS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get___")] + public static extern string DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get___")] + public static extern string GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_DECIMAL_SEPARATOR_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get___")] + public static extern string DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get___")] + public static extern string GDAL_DMD_NUMERIC_FIELD_WIDTH_INCLUDES_SIGN_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_OPEN_get___")] + public static extern string DCAP_OPEN_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_OPEN_get___")] public static extern string GDAL_DCAP_OPEN_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATE_get___")] + public static extern string DCAP_CREATE_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATE_get___")] public static extern string GDAL_DCAP_CREATE_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATE_MULTIDIMENSIONAL_get___")] + public static extern string DCAP_CREATE_MULTIDIMENSIONAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATE_MULTIDIMENSIONAL_get___")] + public static extern string GDAL_DCAP_CREATE_MULTIDIMENSIONAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATECOPY_get___")] + public static extern string DCAP_CREATECOPY_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATECOPY_get___")] public static extern string GDAL_DCAP_CREATECOPY_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL_get___")] + public static extern string DCAP_CREATECOPY_MULTIDIMENSIONAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL_get___")] + public static extern string GDAL_DCAP_CREATECOPY_MULTIDIMENSIONAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_MULTIDIM_RASTER_get___")] + public static extern string DCAP_MULTIDIM_RASTER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_MULTIDIM_RASTER_get___")] + public static extern string GDAL_DCAP_MULTIDIM_RASTER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_SUBCREATECOPY_get___")] + public static extern string DCAP_SUBCREATECOPY_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_SUBCREATECOPY_get___")] + public static extern string GDAL_DCAP_SUBCREATECOPY_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_VIRTUALIO_get___")] + public static extern string DCAP_VIRTUALIO_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_VIRTUALIO_get___")] public static extern string GDAL_DCAP_VIRTUALIO_get(); [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_RASTER_get___")] public static extern string DCAP_RASTER_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_RASTER_get___")] + public static extern string GDAL_DCAP_RASTER_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_VECTOR_get___")] public static extern string DCAP_VECTOR_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_VECTOR_get___")] + public static extern string GDAL_DCAP_VECTOR_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_GNM_get___")] + public static extern string DCAP_GNM_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_GNM_get___")] + public static extern string GDAL_DCAP_GNM_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATE_LAYER_get___")] + public static extern string DCAP_CREATE_LAYER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATE_LAYER_get___")] + public static extern string GDAL_DCAP_CREATE_LAYER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_DELETE_LAYER_get___")] + public static extern string DCAP_DELETE_LAYER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_DELETE_LAYER_get___")] + public static extern string GDAL_DCAP_DELETE_LAYER_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATE_FIELD_get___")] + public static extern string DCAP_CREATE_FIELD_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATE_FIELD_get___")] + public static extern string GDAL_DCAP_CREATE_FIELD_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_DELETE_FIELD_get___")] + public static extern string DCAP_DELETE_FIELD_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_DELETE_FIELD_get___")] + public static extern string GDAL_DCAP_DELETE_FIELD_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_REORDER_FIELDS_get___")] + public static extern string DCAP_REORDER_FIELDS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_REORDER_FIELDS_get___")] + public static extern string GDAL_DCAP_REORDER_FIELDS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_ALTER_FIELD_DEFN_FLAGS_get___")] + public static extern string DMD_ALTER_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_ALTER_FIELD_DEFN_FLAGS_get___")] + public static extern string GDAL_DMD_ALTER_FIELD_DEFN_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_ILLEGAL_FIELD_NAMES_get___")] + public static extern string DMD_ILLEGAL_FIELD_NAMES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_ILLEGAL_FIELD_NAMES_get___")] + public static extern string GDAL_DMD_ILLEGAL_FIELD_NAMES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_NOTNULL_FIELDS_get___")] public static extern string DCAP_NOTNULL_FIELDS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_NOTNULL_FIELDS_get___")] + public static extern string GDAL_DCAP_NOTNULL_FIELDS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_UNIQUE_FIELDS_get___")] + public static extern string DCAP_UNIQUE_FIELDS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_UNIQUE_FIELDS_get___")] + public static extern string GDAL_DCAP_UNIQUE_FIELDS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_DEFAULT_FIELDS_get___")] public static extern string DCAP_DEFAULT_FIELDS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_DEFAULT_FIELDS_get___")] + public static extern string GDAL_DCAP_DEFAULT_FIELDS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_NOTNULL_GEOMFIELDS_get___")] public static extern string DCAP_NOTNULL_GEOMFIELDS_get(); - [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_UNIQUE_FIELDS_get___")] - public static extern string DCAP_UNIQUE_FIELDS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_NOTNULL_GEOMFIELDS_get___")] + public static extern string GDAL_DCAP_NOTNULL_GEOMFIELDS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_NONSPATIAL_get___")] + public static extern string DCAP_NONSPATIAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_NONSPATIAL_get___")] + public static extern string GDAL_DCAP_NONSPATIAL_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CURVE_GEOMETRIES_get___")] + public static extern string DCAP_CURVE_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CURVE_GEOMETRIES_get___")] + public static extern string GDAL_DCAP_CURVE_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_MEASURED_GEOMETRIES_get___")] + public static extern string DCAP_MEASURED_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_MEASURED_GEOMETRIES_get___")] + public static extern string GDAL_DCAP_MEASURED_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_Z_GEOMETRIES_get___")] + public static extern string DCAP_Z_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_Z_GEOMETRIES_get___")] + public static extern string GDAL_DCAP_Z_GEOMETRIES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_GEOMETRY_FLAGS_get___")] + public static extern string DMD_GEOMETRY_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_GEOMETRY_FLAGS_get___")] + public static extern string GDAL_DMD_GEOMETRY_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_FEATURE_STYLES_get___")] + public static extern string DCAP_FEATURE_STYLES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_FEATURE_STYLES_get___")] + public static extern string GDAL_DCAP_FEATURE_STYLES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_FEATURE_STYLES_READ_get___")] + public static extern string DCAP_FEATURE_STYLES_READ_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_FEATURE_STYLES_READ_get___")] + public static extern string GDAL_DCAP_FEATURE_STYLES_READ_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_FEATURE_STYLES_WRITE_get___")] + public static extern string DCAP_FEATURE_STYLES_WRITE_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_FEATURE_STYLES_WRITE_get___")] + public static extern string GDAL_DCAP_FEATURE_STYLES_WRITE_get(); [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_COORDINATE_EPOCH_get___")] public static extern string DCAP_COORDINATE_EPOCH_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_COORDINATE_EPOCH_get___")] + public static extern string GDAL_DCAP_COORDINATE_EPOCH_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_MULTIPLE_VECTOR_LAYERS_get___")] + public static extern string DCAP_MULTIPLE_VECTOR_LAYERS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_MULTIPLE_VECTOR_LAYERS_get___")] + public static extern string GDAL_DCAP_MULTIPLE_VECTOR_LAYERS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_FIELD_DOMAINS_get___")] public static extern string DCAP_FIELD_DOMAINS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_FIELD_DOMAINS_get___")] + public static extern string GDAL_DCAP_FIELD_DOMAINS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_RELATIONSHIPS_get___")] + public static extern string DCAP_RELATIONSHIPS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_RELATIONSHIPS_get___")] + public static extern string GDAL_DCAP_RELATIONSHIPS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_CREATE_RELATIONSHIP_get___")] + public static extern string DCAP_CREATE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_CREATE_RELATIONSHIP_get___")] + public static extern string GDAL_DCAP_CREATE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_DELETE_RELATIONSHIP_get___")] + public static extern string DCAP_DELETE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_DELETE_RELATIONSHIP_get___")] + public static extern string GDAL_DCAP_DELETE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_UPDATE_RELATIONSHIP_get___")] + public static extern string DCAP_UPDATE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_UPDATE_RELATIONSHIP_get___")] + public static extern string GDAL_DCAP_UPDATE_RELATIONSHIP_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_RELATIONSHIP_FLAGS_get___")] + public static extern string DMD_RELATIONSHIP_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_RELATIONSHIP_FLAGS_get___")] + public static extern string GDAL_DMD_RELATIONSHIP_FLAGS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get___")] + public static extern string DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get___")] + public static extern string GDAL_DMD_RELATIONSHIP_RELATED_TABLE_TYPES_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_RENAME_LAYERS_get___")] public static extern string DCAP_RENAME_LAYERS_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_RENAME_LAYERS_get___")] + public static extern string GDAL_DCAP_RENAME_LAYERS_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DCAP_FLUSHCACHE_CONSISTENT_STATE_get___")] + public static extern string DCAP_FLUSHCACHE_CONSISTENT_STATE_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DCAP_FLUSHCACHE_CONSISTENT_STATE_get___")] + public static extern string GDAL_DCAP_FLUSHCACHE_CONSISTENT_STATE_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DIM_TYPE_HORIZONTAL_X_get___")] public static extern string DIM_TYPE_HORIZONTAL_X_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DIM_TYPE_HORIZONTAL_X_get___")] + public static extern string GDAL_DIM_TYPE_HORIZONTAL_X_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DIM_TYPE_HORIZONTAL_Y_get___")] public static extern string DIM_TYPE_HORIZONTAL_Y_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DIM_TYPE_HORIZONTAL_Y_get___")] + public static extern string GDAL_DIM_TYPE_HORIZONTAL_Y_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DIM_TYPE_VERTICAL_get___")] public static extern string DIM_TYPE_VERTICAL_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DIM_TYPE_VERTICAL_get___")] + public static extern string GDAL_DIM_TYPE_VERTICAL_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DIM_TYPE_TEMPORAL_get___")] public static extern string DIM_TYPE_TEMPORAL_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DIM_TYPE_TEMPORAL_get___")] + public static extern string GDAL_DIM_TYPE_TEMPORAL_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_DIM_TYPE_PARAMETRIC_get___")] public static extern string DIM_TYPE_PARAMETRIC_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDAL_DIM_TYPE_PARAMETRIC_get___")] + public static extern string GDAL_DIM_TYPE_PARAMETRIC_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDsCAddRelationship_get___")] + public static extern string GDsCAddRelationship_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDsCDeleteRelationship_get___")] + public static extern string GDsCDeleteRelationship_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GDsCUpdateRelationship_get___")] + public static extern string GDsCUpdateRelationship_get(); + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_CPLES_BackslashQuotable_get___")] public static extern int CPLES_BackslashQuotable_get(); @@ -742,6 +1087,27 @@ static GdalConstPINVOKE() { [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GTO_BSQ_get___")] public static extern int GTO_BSQ_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRC_ONE_TO_ONE_get___")] + public static extern int GRC_ONE_TO_ONE_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRC_ONE_TO_MANY_get___")] + public static extern int GRC_ONE_TO_MANY_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRC_MANY_TO_ONE_get___")] + public static extern int GRC_MANY_TO_ONE_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRC_MANY_TO_MANY_get___")] + public static extern int GRC_MANY_TO_MANY_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRT_COMPOSITE_get___")] + public static extern int GRT_COMPOSITE_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRT_ASSOCIATION_get___")] + public static extern int GRT_ASSOCIATION_get(); + + [global::System.Runtime.InteropServices.DllImport("gdalconst_wrap", EntryPoint="CSharp_OSGeofGDAL_GRT_AGGREGATION_get___")] + public static extern int GRT_AGGREGATION_get(); } } diff --git a/Runtime/Scripts/gdal/Access.cs b/Runtime/Scripts/gdal/Access.cs index 23201b0..74064ea 100644 --- a/Runtime/Scripts/gdal/Access.cs +++ b/Runtime/Scripts/gdal/Access.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/AsyncReader.cs b/Runtime/Scripts/gdal/AsyncReader.cs index 8e320f6..c4cfce2 100644 --- a/Runtime/Scripts/gdal/AsyncReader.cs +++ b/Runtime/Scripts/gdal/AsyncReader.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/AsyncStatusType.cs b/Runtime/Scripts/gdal/AsyncStatusType.cs index 32ca607..62df9a0 100644 --- a/Runtime/Scripts/gdal/AsyncStatusType.cs +++ b/Runtime/Scripts/gdal/AsyncStatusType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/Attribute.cs b/Runtime/Scripts/gdal/Attribute.cs index f74087e..95c9a30 100644 --- a/Runtime/Scripts/gdal/Attribute.cs +++ b/Runtime/Scripts/gdal/Attribute.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -83,8 +83,8 @@ public string GetFullName() { return ret; } - public ulong GetTotalElementsCount() { - ulong ret = GdalPINVOKE.Attribute_GetTotalElementsCount(swigCPtr); + public SWIGTYPE_p_GUIntBig GetTotalElementsCount() { + SWIGTYPE_p_GUIntBig ret = new SWIGTYPE_p_GUIntBig(GdalPINVOKE.Attribute_GetTotalElementsCount(swigCPtr), true, null); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -167,6 +167,12 @@ public CPLErr WriteDouble(double val) { return ret; } + public CPLErr Rename(string newName) { + CPLErr ret = (CPLErr)GdalPINVOKE.Attribute_Rename(swigCPtr, newName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/gdal/Band.cs b/Runtime/Scripts/gdal/Band.cs index e17fc26..fdf84b1 100644 --- a/Runtime/Scripts/gdal/Band.cs +++ b/Runtime/Scripts/gdal/Band.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -64,7 +64,7 @@ public override void Dispose() { base.Dispose(); } } -/*! Eight bit unsigned integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,90,%rasterio_functions@*/ +/*! Eight bit unsigned integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,92,%rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, byte[] buffer, int buf_xSize, int buf_ySize, int pixelSpace, int lineSpace) { CPLErr retval; GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -111,7 +111,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, byte[] buffe } /*@SWIG@*/ -/*! Sixteen bit signed integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,90,%rasterio_functions@*/ +/*! Sixteen bit signed integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,92,%rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, short[] buffer, int buf_xSize, int buf_ySize, int pixelSpace, int lineSpace) { CPLErr retval; GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -158,7 +158,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, short[] buff } /*@SWIG@*/ -/*! Thirty two bit signed integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,90,%rasterio_functions@*/ +/*! Thirty two bit signed integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,92,%rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, int[] buffer, int buf_xSize, int buf_ySize, int pixelSpace, int lineSpace) { CPLErr retval; GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -205,7 +205,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, int[] buffer } /*@SWIG@*/ -/*! Thirty two bit floating point */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,90,%rasterio_functions@*/ +/*! Thirty two bit floating point */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,92,%rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, float[] buffer, int buf_xSize, int buf_ySize, int pixelSpace, int lineSpace) { CPLErr retval; GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -252,7 +252,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, float[] buff } /*@SWIG@*/ -/*! Sixty four bit floating point */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,90,%rasterio_functions@*/ +/*! Sixty four bit floating point */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,92,%rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, double[] buffer, int buf_xSize, int buf_ySize, int pixelSpace, int lineSpace) { CPLErr retval; GCHandle handle = GCHandle.Alloc(buffer, GCHandleType.Pinned); @@ -639,6 +639,11 @@ public MDArray AsMDArray() { return ret; } + public void _EnablePixelTypeSignedByteWarning(bool b) { + GdalPINVOKE.Band__EnablePixelTypeSignedByteWarning(swigCPtr, b); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, IntPtr buffer, int buf_xSize, int buf_ySize, DataType buf_type, int pixelSpace, int lineSpace) { CPLErr ret = (CPLErr)GdalPINVOKE.Band_ReadRaster__SWIG_0(swigCPtr, xOff, yOff, xSize, ySize, buffer, buf_xSize, buf_ySize, (int)buf_type, pixelSpace, lineSpace); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); diff --git a/Runtime/Scripts/gdal/CPLErr.cs b/Runtime/Scripts/gdal/CPLErr.cs index f6df993..ddc1c23 100644 --- a/Runtime/Scripts/gdal/CPLErr.cs +++ b/Runtime/Scripts/gdal/CPLErr.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ColorEntry.cs b/Runtime/Scripts/gdal/ColorEntry.cs index 35b6b2a..e3ca1ef 100644 --- a/Runtime/Scripts/gdal/ColorEntry.cs +++ b/Runtime/Scripts/gdal/ColorEntry.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ColorInterp.cs b/Runtime/Scripts/gdal/ColorInterp.cs index 0565c15..f2f31a9 100644 --- a/Runtime/Scripts/gdal/ColorInterp.cs +++ b/Runtime/Scripts/gdal/ColorInterp.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ColorTable.cs b/Runtime/Scripts/gdal/ColorTable.cs index 7479f80..368a1aa 100644 --- a/Runtime/Scripts/gdal/ColorTable.cs +++ b/Runtime/Scripts/gdal/ColorTable.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/DataType.cs b/Runtime/Scripts/gdal/DataType.cs index 59a9ad2..60ed709 100644 --- a/Runtime/Scripts/gdal/DataType.cs +++ b/Runtime/Scripts/gdal/DataType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -13,6 +13,7 @@ namespace OSGeo.GDAL { public enum DataType { GDT_Unknown = 0, GDT_Byte = 1, + GDT_Int8 = 14, GDT_UInt16 = 2, GDT_Int16 = 3, GDT_UInt32 = 4, @@ -25,7 +26,7 @@ public enum DataType { GDT_CInt32 = 9, GDT_CFloat32 = 10, GDT_CFloat64 = 11, - GDT_TypeCount = 12 + GDT_TypeCount = 15 } } diff --git a/Runtime/Scripts/gdal/Dataset.cs b/Runtime/Scripts/gdal/Dataset.cs index b60edf6..fda22fc 100644 --- a/Runtime/Scripts/gdal/Dataset.cs +++ b/Runtime/Scripts/gdal/Dataset.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -64,7 +64,7 @@ public override void Dispose() { base.Dispose(); } } -/*! Eight bit unsigned integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,153,%ds_rasterio_functions@*/ +/*! Eight bit unsigned integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,155,%ds_rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, byte[] buffer, int buf_xSize, int buf_ySize, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr retval; @@ -119,7 +119,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, byte[] buffe } /*@SWIG@*/ -/*! Sixteen bit signed integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,153,%ds_rasterio_functions@*/ +/*! Sixteen bit signed integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,155,%ds_rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, short[] buffer, int buf_xSize, int buf_ySize, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr retval; @@ -174,7 +174,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, short[] buff } /*@SWIG@*/ -/*! Thirty two bit signed integer */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,153,%ds_rasterio_functions@*/ +/*! Thirty two bit signed integer */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,155,%ds_rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, int[] buffer, int buf_xSize, int buf_ySize, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr retval; @@ -229,7 +229,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, int[] buffer } /*@SWIG@*/ -/*! Thirty two bit floating point */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,153,%ds_rasterio_functions@*/ +/*! Thirty two bit floating point */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,155,%ds_rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, float[] buffer, int buf_xSize, int buf_ySize, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr retval; @@ -284,7 +284,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, float[] buff } /*@SWIG@*/ -/*! Sixty four bit floating point */ /*@SWIG:C:/Users/runes/anaconda3/conda-bld/gdal-csharp_1668719543295/work/swig/include/csharp\gdal_csharp.i,153,%ds_rasterio_functions@*/ +/*! Sixty four bit floating point */ /*@SWIG:/Users/paulharwood/opt/miniconda3/conda-bld/gdal-csharp_1715520809672/work/swig/include/csharp/gdal_csharp.i,155,%ds_rasterio_functions@*/ public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, double[] buffer, int buf_xSize, int buf_ySize, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr retval; @@ -340,7 +340,7 @@ public CPLErr WriteRaster(int xOff, int yOff, int xSize, int ySize, double[] buf /*@SWIG@*/ -public int BuildOverviews( string resampling, int[] overviewlist, Gdal.GDALProgressFuncDelegate callback, string callback_data) { +public int BuildOverviews( string resampling, int[] overviewlist, Gdal.GDALProgressFuncDelegate callback, string callback_data, string[] options) { int retval; if (overviewlist.Length <= 0) throw new ArgumentException("overviewlist size is small (BuildOverviews)"); @@ -348,13 +348,18 @@ public int BuildOverviews( string resampling, int[] overviewlist, Gdal.GDALProgr IntPtr ptr = Marshal.AllocHGlobal(overviewlist.Length * Marshal.SizeOf(overviewlist[0])); try { Marshal.Copy(overviewlist, 0, ptr, overviewlist.Length); - retval = BuildOverviews(resampling, overviewlist.Length, ptr, callback, callback_data); + retval = BuildOverviews(resampling, overviewlist.Length, ptr, callback, callback_data, options); } finally { Marshal.FreeHGlobal(ptr); } GC.KeepAlive(this); return retval; } + +public int BuildOverviews( string resampling, int[] overviewlist, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + return BuildOverviews( resampling, overviewlist, null, null, null); + } + public int BuildOverviews( string resampling, int[] overviewlist) { return BuildOverviews( resampling, overviewlist, null, null); } @@ -420,6 +425,12 @@ public int RasterCount { } } + public CPLErr Close() { + CPLErr ret = (CPLErr)GdalPINVOKE.Dataset_Close(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public Driver GetDriver() { IntPtr cPtr = GdalPINVOKE.Dataset_GetDriver(swigCPtr); Driver ret = (cPtr == IntPtr.Zero) ? null : new Driver(cPtr, false, ThisOwn_false()); @@ -483,8 +494,8 @@ public CPLErr SetGeoTransform(double[] argin) { return ret; } - public int BuildOverviews(string resampling, int overviewlist, IntPtr pOverviews, Gdal.GDALProgressFuncDelegate callback, string callback_data) { - int ret = GdalPINVOKE.Dataset_BuildOverviews(swigCPtr, resampling, overviewlist, pOverviews, callback, callback_data); + public int BuildOverviews(string resampling, int overviewlist, IntPtr pOverviews, Gdal.GDALProgressFuncDelegate callback, string callback_data, string[] options) { + int ret = GdalPINVOKE.Dataset_BuildOverviews(swigCPtr, resampling, overviewlist, pOverviews, callback, callback_data, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -501,9 +512,10 @@ public string GetGCPProjection() { return ret; } - public void FlushCache() { - GdalPINVOKE.Dataset_FlushCache(swigCPtr); + public CPLErr FlushCache() { + CPLErr ret = (CPLErr)GdalPINVOKE.Dataset_FlushCache(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; } public CPLErr AddBand(DataType datatype, string[] options) { @@ -547,6 +559,38 @@ public CPLErr AdviseRead(int xoff, int yoff, int xsize, int ysize, SWIGTYPE_p_in return ret; } + public OSGeo.OGR.Layer GetLayer(int index) { + IntPtr cPtr = GdalPINVOKE.Dataset_GetLayer(swigCPtr, index); + OSGeo.OGR.Layer ret = (cPtr == IntPtr.Zero) ? null : new OSGeo.OGR.Layer(cPtr, false, ThisOwn_false()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public OSGeo.OGR.Layer GetLayerByName(string layer_name) { + IntPtr cPtr = GdalPINVOKE.Dataset_GetLayerByName(swigCPtr, Gdal.StringToUtf8Bytes(layer_name)); + OSGeo.OGR.Layer ret = (cPtr == IntPtr.Zero) ? null : new OSGeo.OGR.Layer(cPtr, false, ThisOwn_false()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void ResetReading() { + GdalPINVOKE.Dataset_ResetReading(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public int GetLayerCount() { + int ret = GdalPINVOKE.Dataset_GetLayerCount(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public OSGeo.OGR.Feature GetNextFeature(ref IntPtr ppoBelongingLayer, ref double pdfProgressPct, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + IntPtr cPtr = GdalPINVOKE.Dataset_GetNextFeature(swigCPtr, ref ppoBelongingLayer, ref pdfProgressPct, callback, callback_data); + OSGeo.OGR.Feature ret = (cPtr == IntPtr.Zero) ? null : new OSGeo.OGR.Feature(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int AbortSQL() { int ret = GdalPINVOKE.Dataset_AbortSQL(swigCPtr); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -624,6 +668,54 @@ public bool UpdateFieldDomain(SWIGTYPE_p_OGRFieldDomainShadow fieldDomain) { return ret; } + public string[] GetRelationshipNames(string[] options) { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = GdalPINVOKE.Dataset_GetRelationshipNames(swigCPtr, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + GdalPINVOKE.StringListDestroy(cPtr); + + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public Relationship GetRelationship(string name) { + IntPtr cPtr = GdalPINVOKE.Dataset_GetRelationship(swigCPtr, name); + Relationship ret = (cPtr == IntPtr.Zero) ? null : new Relationship(cPtr, false, ThisOwn_false()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool AddRelationship(Relationship relationship) { + bool ret = GdalPINVOKE.Dataset_AddRelationship(swigCPtr, Relationship.getCPtr(relationship)); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool DeleteRelationship(string name) { + bool ret = GdalPINVOKE.Dataset_DeleteRelationship(swigCPtr, name); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool UpdateRelationship(Relationship relationship) { + bool ret = GdalPINVOKE.Dataset_UpdateRelationship(swigCPtr, Relationship.getCPtr(relationship)); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public CPLErr ReadRaster(int xOff, int yOff, int xSize, int ySize, IntPtr buffer, int buf_xSize, int buf_ySize, DataType buf_type, int bandCount, int[] bandMap, int pixelSpace, int lineSpace, int bandSpace) { CPLErr ret = (CPLErr)GdalPINVOKE.Dataset_ReadRaster__SWIG_0(swigCPtr, xOff, yOff, xSize, ySize, buffer, buf_xSize, buf_ySize, (int)buf_type, bandCount, bandMap, pixelSpace, lineSpace, bandSpace); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); diff --git a/Runtime/Scripts/gdal/Dimension.cs b/Runtime/Scripts/gdal/Dimension.cs index 4ac7067..c50a235 100644 --- a/Runtime/Scripts/gdal/Dimension.cs +++ b/Runtime/Scripts/gdal/Dimension.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -95,8 +95,8 @@ public string GetDirection() { return ret; } - public ulong GetSize() { - ulong ret = GdalPINVOKE.Dimension_GetSize(swigCPtr); + public SWIGTYPE_p_GUIntBig GetSize() { + SWIGTYPE_p_GUIntBig ret = new SWIGTYPE_p_GUIntBig(GdalPINVOKE.Dimension_GetSize(swigCPtr), true, null); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -114,6 +114,12 @@ public bool SetIndexingVariable(MDArray array) { return ret; } + public CPLErr Rename(string newName) { + CPLErr ret = (CPLErr)GdalPINVOKE.Dimension_Rename(swigCPtr, newName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/gdal/Driver.cs b/Runtime/Scripts/gdal/Driver.cs index bcd0e19..7da03b6 100644 --- a/Runtime/Scripts/gdal/Driver.cs +++ b/Runtime/Scripts/gdal/Driver.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/EDTComponent.cs b/Runtime/Scripts/gdal/EDTComponent.cs index 00ccd52..d968551 100644 --- a/Runtime/Scripts/gdal/EDTComponent.cs +++ b/Runtime/Scripts/gdal/EDTComponent.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ExtendedDataType.cs b/Runtime/Scripts/gdal/ExtendedDataType.cs index 106d8e8..159f113 100644 --- a/Runtime/Scripts/gdal/ExtendedDataType.cs +++ b/Runtime/Scripts/gdal/ExtendedDataType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ExtendedDataTypeClass.cs b/Runtime/Scripts/gdal/ExtendedDataTypeClass.cs index 32ba08e..60ef6c5 100644 --- a/Runtime/Scripts/gdal/ExtendedDataTypeClass.cs +++ b/Runtime/Scripts/gdal/ExtendedDataTypeClass.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ExtendedDataTypeSubType.cs b/Runtime/Scripts/gdal/ExtendedDataTypeSubType.cs index 2065bdd..6e2027a 100644 --- a/Runtime/Scripts/gdal/ExtendedDataTypeSubType.cs +++ b/Runtime/Scripts/gdal/ExtendedDataTypeSubType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GCP.cs b/Runtime/Scripts/gdal/GCP.cs index 58d4ce1..f2d32c0 100644 --- a/Runtime/Scripts/gdal/GCP.cs +++ b/Runtime/Scripts/gdal/GCP.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALBuildVRTOptions.cs b/Runtime/Scripts/gdal/GDALBuildVRTOptions.cs index 486d411..ee3c048 100644 --- a/Runtime/Scripts/gdal/GDALBuildVRTOptions.cs +++ b/Runtime/Scripts/gdal/GDALBuildVRTOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALDEMProcessingOptions.cs b/Runtime/Scripts/gdal/GDALDEMProcessingOptions.cs index 149ac84..a7c3c72 100644 --- a/Runtime/Scripts/gdal/GDALDEMProcessingOptions.cs +++ b/Runtime/Scripts/gdal/GDALDEMProcessingOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/CRSInfoList.cs b/Runtime/Scripts/gdal/GDALFootprintOptions.cs similarity index 58% rename from Runtime/Scripts/ogr/CRSInfoList.cs rename to Runtime/Scripts/gdal/GDALFootprintOptions.cs index c21713b..24dcfb9 100644 --- a/Runtime/Scripts/ogr/CRSInfoList.cs +++ b/Runtime/Scripts/gdal/GDALFootprintOptions.cs @@ -1,19 +1,19 @@ //------------------------------------------------------------------------------ // // -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 // -// Do not make changes to this file unless you know what you are doing--modify +// Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. //------------------------------------------------------------------------------ -namespace OSGeo.OGR { +namespace OSGeo.GDAL { using global::System; using global::System.Runtime.InteropServices; -public class CRSInfoList : global::System.IDisposable { +public class GDALFootprintOptions : global::System.IDisposable { private HandleRef swigCPtr; protected bool swigCMemOwn; protected object swigParentRef; @@ -21,16 +21,16 @@ public class CRSInfoList : global::System.IDisposable { protected static object ThisOwn_true() { return null; } protected object ThisOwn_false() { return this; } - public CRSInfoList(IntPtr cPtr, bool cMemoryOwn, object parent) { + public GDALFootprintOptions(IntPtr cPtr, bool cMemoryOwn, object parent) { swigCMemOwn = cMemoryOwn; swigParentRef = parent; swigCPtr = new HandleRef(this, cPtr); } - public static HandleRef getCPtr(CRSInfoList obj) { + public static HandleRef getCPtr(GDALFootprintOptions obj) { return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; } - public static HandleRef getCPtrAndDisown(CRSInfoList obj, object parent) { + public static HandleRef getCPtrAndDisown(GDALFootprintOptions obj, object parent) { if (obj != null) { obj.swigCMemOwn = false; @@ -42,7 +42,7 @@ public static HandleRef getCPtrAndDisown(CRSInfoList obj, object parent) { return new HandleRef(null, IntPtr.Zero); } } - public static HandleRef getCPtrAndSetReference(CRSInfoList obj, object parent) { + public static HandleRef getCPtrAndSetReference(GDALFootprintOptions obj, object parent) { if (obj != null) { obj.swigParentRef = parent; @@ -54,7 +54,7 @@ public static HandleRef getCPtrAndSetReference(CRSInfoList obj, object parent) { } } - ~CRSInfoList() { + ~GDALFootprintOptions() { Dispose(); } @@ -63,28 +63,16 @@ public virtual void Dispose() { if (swigCPtr.Handle != global::System.IntPtr.Zero) { if (swigCMemOwn) { swigCMemOwn = false; - OsrPINVOKE.delete_CRSInfoList(swigCPtr); + GdalPINVOKE.delete_GDALFootprintOptions(swigCPtr); } swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); } global::System.GC.SuppressFinalize(this); } } - - public CRSInfo this[int i] - { - get { return get(i); } - } - - public CRSInfo get(int index) { - IntPtr cPtr = OsrPINVOKE.CRSInfoList_get(swigCPtr, index); - CRSInfo ret = (cPtr == IntPtr.Zero) ? null : new CRSInfo(cPtr, false, ThisOwn_false()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - public CRSInfoList() : this(OsrPINVOKE.new_CRSInfoList(), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + public GDALFootprintOptions(string[] options) : this(GdalPINVOKE.new_GDALFootprintOptions((options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null), true, null) { + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); } } diff --git a/Runtime/Scripts/gdal/GDALFootprintOptions.cs.meta b/Runtime/Scripts/gdal/GDALFootprintOptions.cs.meta new file mode 100644 index 0000000..ca556d3 --- /dev/null +++ b/Runtime/Scripts/gdal/GDALFootprintOptions.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: a849ae02274de4e6cb886abfaba0ab3a \ No newline at end of file diff --git a/Runtime/Scripts/gdal/GDALGridOptions.cs b/Runtime/Scripts/gdal/GDALGridOptions.cs index 28ee233..8d493b7 100644 --- a/Runtime/Scripts/gdal/GDALGridOptions.cs +++ b/Runtime/Scripts/gdal/GDALGridOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALInfoOptions.cs b/Runtime/Scripts/gdal/GDALInfoOptions.cs index 0004d4b..866cc04 100644 --- a/Runtime/Scripts/gdal/GDALInfoOptions.cs +++ b/Runtime/Scripts/gdal/GDALInfoOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALMultiDimInfoOptions.cs b/Runtime/Scripts/gdal/GDALMultiDimInfoOptions.cs index ec77edd..ba0af70 100644 --- a/Runtime/Scripts/gdal/GDALMultiDimInfoOptions.cs +++ b/Runtime/Scripts/gdal/GDALMultiDimInfoOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALMultiDimTranslateOptions.cs b/Runtime/Scripts/gdal/GDALMultiDimTranslateOptions.cs index d0b2e9e..21b3807 100644 --- a/Runtime/Scripts/gdal/GDALMultiDimTranslateOptions.cs +++ b/Runtime/Scripts/gdal/GDALMultiDimTranslateOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALNearblackOptions.cs b/Runtime/Scripts/gdal/GDALNearblackOptions.cs index f7bb69c..c792b03 100644 --- a/Runtime/Scripts/gdal/GDALNearblackOptions.cs +++ b/Runtime/Scripts/gdal/GDALNearblackOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALRasterizeOptions.cs b/Runtime/Scripts/gdal/GDALRasterizeOptions.cs index 44ff0bf..7e4bc40 100644 --- a/Runtime/Scripts/gdal/GDALRasterizeOptions.cs +++ b/Runtime/Scripts/gdal/GDALRasterizeOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALTileIndexOptions.cs b/Runtime/Scripts/gdal/GDALTileIndexOptions.cs new file mode 100644 index 0000000..17c88ae --- /dev/null +++ b/Runtime/Scripts/gdal/GDALTileIndexOptions.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class GDALTileIndexOptions : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public GDALTileIndexOptions(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(GDALTileIndexOptions obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(GDALTileIndexOptions obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(GDALTileIndexOptions obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~GDALTileIndexOptions() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + GdalPINVOKE.delete_GDALTileIndexOptions(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public GDALTileIndexOptions(string[] options) : this(GdalPINVOKE.new_GDALTileIndexOptions((options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null), true, null) { + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} diff --git a/Runtime/Scripts/gdal/GDALTileIndexOptions.cs.meta b/Runtime/Scripts/gdal/GDALTileIndexOptions.cs.meta new file mode 100644 index 0000000..1eb2169 --- /dev/null +++ b/Runtime/Scripts/gdal/GDALTileIndexOptions.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 89d8f58499bc44cf99748ed51e6d1c10 \ No newline at end of file diff --git a/Runtime/Scripts/gdal/GDALTranslateOptions.cs b/Runtime/Scripts/gdal/GDALTranslateOptions.cs index 4334a6b..2140af0 100644 --- a/Runtime/Scripts/gdal/GDALTranslateOptions.cs +++ b/Runtime/Scripts/gdal/GDALTranslateOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs b/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs new file mode 100644 index 0000000..259b3bc --- /dev/null +++ b/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs @@ -0,0 +1,80 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class GDALVectorInfoOptions : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public GDALVectorInfoOptions(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(GDALVectorInfoOptions obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(GDALVectorInfoOptions obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(GDALVectorInfoOptions obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~GDALVectorInfoOptions() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + GdalPINVOKE.delete_GDALVectorInfoOptions(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public GDALVectorInfoOptions(string[] options) : this(GdalPINVOKE.new_GDALVectorInfoOptions((options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null), true, null) { + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} diff --git a/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs.meta b/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs.meta new file mode 100644 index 0000000..dcda589 --- /dev/null +++ b/Runtime/Scripts/gdal/GDALVectorInfoOptions.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: be1cd61b801c54c3d9bf177bc8874abe \ No newline at end of file diff --git a/Runtime/Scripts/gdal/GDALVectorTranslateOptions.cs b/Runtime/Scripts/gdal/GDALVectorTranslateOptions.cs index f21f69e..895dad7 100644 --- a/Runtime/Scripts/gdal/GDALVectorTranslateOptions.cs +++ b/Runtime/Scripts/gdal/GDALVectorTranslateOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/GDALWarpAppOptions.cs b/Runtime/Scripts/gdal/GDALWarpAppOptions.cs index 7df8a0e..2e4b896 100644 --- a/Runtime/Scripts/gdal/GDALWarpAppOptions.cs +++ b/Runtime/Scripts/gdal/GDALWarpAppOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/Gdal.cs b/Runtime/Scripts/gdal/Gdal.cs index 2adce5d..8e5603b 100644 --- a/Runtime/Scripts/gdal/Gdal.cs +++ b/Runtime/Scripts/gdal/Gdal.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -130,6 +130,46 @@ public static Dataset Warp(string dest, Dataset[] poObjects, GDALWarpAppOptions return retval; } + public static Dataset BuildVRT(string dest, string[] poObjects, GDALBuildVRTOptions buildVrtAppOptions, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + return wrapper_GDALBuildVRT_names(dest, poObjects, buildVrtAppOptions, callback, callback_data); + } + + public static Dataset BuildVRT(string dest, Dataset[] poObjects, GDALBuildVRTOptions buildVrtAppOptions, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + Dataset retval = null; + if (poObjects.Length <= 0) + throw new ArgumentException("poObjects size is small (BuildVRT)"); + + int intPtrSize = Marshal.SizeOf(typeof(IntPtr)); + IntPtr nativeArray = Marshal.AllocHGlobal(poObjects.Length * intPtrSize); + try { + for (int i=0; i < poObjects.Length; i++) + Marshal.WriteIntPtr(nativeArray, i * intPtrSize, Dataset.getCPtr(poObjects[i]).Handle); + + retval = wrapper_GDALBuildVRT_objects(dest, poObjects.Length, nativeArray, buildVrtAppOptions, callback, callback_data); + } finally { + Marshal.FreeHGlobal(nativeArray); + } + return retval; + } + + public static Dataset MultiDimTranslate(string dest, Dataset[] poObjects, GDALMultiDimTranslateOptions multiDimAppOptions, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + Dataset retval = null; + if (poObjects.Length <= 0) + throw new ArgumentException("poObjects size is small (GDALMultiDimTranslateDestName)"); + + int intPtrSize = Marshal.SizeOf(typeof(IntPtr)); + IntPtr nativeArray = Marshal.AllocHGlobal(poObjects.Length * intPtrSize); + try { + for (int i=0; i < poObjects.Length; i++) + Marshal.WriteIntPtr(nativeArray, i * intPtrSize, Dataset.getCPtr(poObjects[i]).Handle); + + retval = wrapper_GDALMultiDimTranslateDestName(dest, poObjects.Length, nativeArray, multiDimAppOptions, callback, callback_data); + } finally { + Marshal.FreeHGlobal(nativeArray); + } + return retval; + } + public static void Debug(string msg_class, string message) { GdalPINVOKE.Debug(msg_class, message); @@ -321,12 +361,30 @@ public static string GetConfigOption(string pszKey, string pszDefault) { return ret; } + public static string GetGlobalConfigOption(string pszKey, string pszDefault) { + string ret = GdalPINVOKE.GetGlobalConfigOption(pszKey, pszDefault); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static string GetThreadLocalConfigOption(string pszKey, string pszDefault) { string ret = GdalPINVOKE.GetThreadLocalConfigOption(pszKey, pszDefault); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public static SWIGTYPE_p_p_char GetConfigOptions() { + IntPtr cPtr = GdalPINVOKE.GetConfigOptions(); + SWIGTYPE_p_p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false, ThisOwn_false()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static void SetPathSpecificOption(string pszPathPrefix, string pszKey, string pszValue) { + GdalPINVOKE.SetPathSpecificOption(pszPathPrefix, pszKey, pszValue); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + public static void SetCredential(string pszPathPrefix, string pszKey, string pszValue) { GdalPINVOKE.SetCredential(pszPathPrefix, pszKey, pszValue); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -338,11 +396,22 @@ public static string GetCredential(string pszPathPrefix, string pszKey, string p return ret; } + public static string GetPathSpecificOption(string pszPathPrefix, string pszKey, string pszDefault) { + string ret = GdalPINVOKE.GetPathSpecificOption(pszPathPrefix, pszKey, pszDefault); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static void ClearCredentials(string pszPathPrefix) { GdalPINVOKE.ClearCredentials(pszPathPrefix); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); } + public static void ClearPathSpecificOptions(string pszPathPrefix) { + GdalPINVOKE.ClearPathSpecificOptions(pszPathPrefix); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + public static string CPLBinaryToHex(int nBytes, IntPtr pabyData) { string ret = GdalPINVOKE.CPLBinaryToHex(nBytes, pabyData); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -355,9 +424,10 @@ public static IntPtr CPLHexToBinary(string pszHex, out int pnBytes) { return ret; } - public static void FileFromMemBuffer(string utf8_path, int nBytes, IntPtr pabyData) { - GdalPINVOKE.FileFromMemBuffer(Gdal.StringToUtf8Bytes(utf8_path), nBytes, pabyData); + public static int FileFromMemBuffer(string utf8_path, int nBytes, IntPtr pabyData) { + int ret = GdalPINVOKE.FileFromMemBuffer(Gdal.StringToUtf8Bytes(utf8_path), nBytes, pabyData); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; } public static int Unlink(string utf8_path) { @@ -408,6 +478,12 @@ public static int Rename(string pszOld, string pszNew) { return ret; } + public static int CopyFile(string pszSource, string pszTarget, IntPtr fpSource, long nSourceSize, string[] options, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + int ret = GdalPINVOKE.CopyFile(Gdal.StringToUtf8Bytes(pszSource), Gdal.StringToUtf8Bytes(pszTarget), fpSource, nSourceSize, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null, callback, callback_data); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static string GetActualURL(string utf8_path) { string ret = GdalPINVOKE.GetActualURL(Gdal.StringToUtf8Bytes(utf8_path)); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -449,26 +525,12 @@ public static string GetFileSystemOptions(string utf8_path) { return ret; } - public static string[] GetFileMetadata(string utf8_path, string domain, string[] options) { - /* %typemap(csout) char**options */ - IntPtr cPtr = GdalPINVOKE.GetFileMetadata(Gdal.StringToUtf8Bytes(utf8_path), domain, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); - IntPtr objPtr; - int count = 0; - if (cPtr != IntPtr.Zero) { - while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) - ++count; - } - string[] ret = new string[count]; - if (count > 0) { - for(int cx = 0; cx < count; cx++) { - objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); - ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); - } - } - + public static SWIGTYPE_p_p_char GetFileMetadata(string utf8_path, string domain, string[] options) { + IntPtr cPtr = GdalPINVOKE.GetFileMetadata(Gdal.StringToUtf8Bytes(utf8_path), domain, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + SWIGTYPE_p_p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false, ThisOwn_false()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); - return ret; -} + return ret; + } public static bool SetFileMetadata(string utf8_path, string[] metadata, string domain, string[] options) { bool ret = GdalPINVOKE.SetFileMetadata(Gdal.StringToUtf8Bytes(utf8_path), (metadata != null)? new GdalPINVOKE.StringListMarshal(metadata)._ar : null, domain, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); @@ -574,6 +636,18 @@ public static string[] ParseCommandLine(string utf8_path) { return ret; } + public static int GetNumCPUs() { + int ret = GdalPINVOKE.GetNumCPUs(); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static long GetUsablePhysicalRAM() { + long res = GdalPINVOKE.GetUsablePhysicalRAM(); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return res; +} + public static double GDAL_GCP_GCPX_get(GCP gcp) { double ret = GdalPINVOKE.GDAL_GCP_GCPX_get(GCP.getCPtr(gcp)); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -734,6 +808,13 @@ private static int GCPsToGeoTransform(int nGCPs, IntPtr pGCPs, double[] argout, return res; } + public static SWIGTYPE_p_GDALSubdatasetInfo GetSubdatasetInfo(string pszFileName) { + IntPtr cPtr = GdalPINVOKE.GetSubdatasetInfo(pszFileName); + SWIGTYPE_p_GDALSubdatasetInfo ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_GDALSubdatasetInfo(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int ComputeMedianCutPCT(Band red, Band green, Band blue, int num_colors, ColorTable colors, Gdal.GDALProgressFuncDelegate callback, string callback_data) { int ret = GdalPINVOKE.ComputeMedianCutPCT(Band.getCPtr(red), Band.getCPtr(green), Band.getCPtr(blue), num_colors, ColorTable.getCPtr(colors), callback, callback_data); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -812,13 +893,19 @@ public static int ContourGenerateEx(Band srcBand, OSGeo.OGR.Layer dstLayer, stri return ret; } - public static Dataset ViewshedGenerate(Band srcBand, string driverName, string targetRasterName, SWIGTYPE_p_p_char creationOptions, double observerX, double observerY, double observerHeight, double targetHeight, double visibleVal, double invisibleVal, double outOfRangeVal, double noDataVal, double dfCurvCoeff, ViewshedMode mode, double maxDistance, Gdal.GDALProgressFuncDelegate callback, string callback_data, ViewshedOutputType heightMode, SWIGTYPE_p_p_char papszOptions) { - IntPtr cPtr = GdalPINVOKE.ViewshedGenerate(Band.getCPtr(srcBand), driverName, targetRasterName, SWIGTYPE_p_p_char.getCPtr(creationOptions), observerX, observerY, observerHeight, targetHeight, visibleVal, invisibleVal, outOfRangeVal, noDataVal, dfCurvCoeff, (int)mode, maxDistance, callback, callback_data, (int)heightMode, SWIGTYPE_p_p_char.getCPtr(papszOptions)); + public static Dataset ViewshedGenerate(Band srcBand, string driverName, string targetRasterName, string[] creationOptions, double observerX, double observerY, double observerHeight, double targetHeight, double visibleVal, double invisibleVal, double outOfRangeVal, double noDataVal, double dfCurvCoeff, ViewshedMode mode, double maxDistance, Gdal.GDALProgressFuncDelegate callback, string callback_data, ViewshedOutputType heightMode, string[] options) { + IntPtr cPtr = GdalPINVOKE.ViewshedGenerate(Band.getCPtr(srcBand), driverName, targetRasterName, (creationOptions != null)? new GdalPINVOKE.StringListMarshal(creationOptions)._ar : null, observerX, observerY, observerHeight, targetHeight, visibleVal, invisibleVal, outOfRangeVal, noDataVal, dfCurvCoeff, (int)mode, maxDistance, callback, callback_data, (int)heightMode, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public static bool IsLineOfSightVisible(Band band, int xA, int yA, double zA, int xB, int yB, double zB, string[] options) { + bool ret = GdalPINVOKE.IsLineOfSightVisible(Band.getCPtr(band), xA, yA, zA, xB, yB, zB, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static Dataset AutoCreateWarpedVRT(Dataset src_ds, string src_wkt, string dst_wkt, ResampleAlg eResampleAlg, double maxerror) { IntPtr cPtr = GdalPINVOKE.AutoCreateWarpedVRT(Dataset.getCPtr(src_ds), src_wkt, dst_wkt, (int)eResampleAlg, maxerror); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); @@ -833,6 +920,20 @@ public static Dataset CreatePansharpenedVRT(string pszXML, Band panchroBand, int return ret; } + public static SuggestedWarpOutputRes SuggestedWarpOutput(Dataset src, Transformer transformer) { + IntPtr cPtr = GdalPINVOKE.SuggestedWarpOutput__SWIG_0(Dataset.getCPtr(src), Transformer.getCPtr(transformer)); + SuggestedWarpOutputRes ret = (cPtr == IntPtr.Zero) ? null : new SuggestedWarpOutputRes(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static SuggestedWarpOutputRes SuggestedWarpOutput(Dataset src, string[] options) { + IntPtr cPtr = GdalPINVOKE.SuggestedWarpOutput__SWIG_1(Dataset.getCPtr(src), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + SuggestedWarpOutputRes ret = (cPtr == IntPtr.Zero) ? null : new SuggestedWarpOutputRes(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static Dataset ApplyVerticalShiftGrid(Dataset src_ds, Dataset grid_ds, bool inverse, double srcUnitToMeter, double dstUnitToMeter, string[] options) { IntPtr cPtr = GdalPINVOKE.ApplyVerticalShiftGrid(Dataset.getCPtr(src_ds), Dataset.getCPtr(grid_ds), inverse, srcUnitToMeter, dstUnitToMeter, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); @@ -963,6 +1064,12 @@ public static string GetJPEG2000StructureAsString(string pszFilename, string[] o return ret; } + public static int HasTriangulation() { + int ret = GdalPINVOKE.HasTriangulation(); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int GetDriverCount() { int ret = GdalPINVOKE.GetDriverCount(); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -1068,6 +1175,12 @@ public static string GDALInfo(Dataset hDataset, GDALInfoOptions infoOptions) { return ret; } + public static string GDALVectorInfo(Dataset hDataset, GDALVectorInfoOptions infoOptions) { + string ret = GdalPINVOKE.GDALVectorInfo(Dataset.getCPtr(hDataset), GDALVectorInfoOptions.getCPtr(infoOptions)); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static string GDALMultiDimInfo(Dataset hDataset, GDALMultiDimInfoOptions infoOptions) { string ret = GdalPINVOKE.GDALMultiDimInfo(Dataset.getCPtr(hDataset), GDALMultiDimInfoOptions.getCPtr(infoOptions)); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -1147,6 +1260,19 @@ public static Dataset wrapper_GDALRasterizeDestName(string dest, Dataset srcDS, return ret; } + public static int wrapper_GDALFootprintDestDS(Dataset dstDS, Dataset srcDS, GDALFootprintOptions options, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + int ret = GdalPINVOKE.wrapper_GDALFootprintDestDS(Dataset.getCPtr(dstDS), Dataset.getCPtr(srcDS), GDALFootprintOptions.getCPtr(options), callback, callback_data); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public static Dataset wrapper_GDALFootprintDestName(string dest, Dataset srcDS, GDALFootprintOptions options, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + IntPtr cPtr = GdalPINVOKE.wrapper_GDALFootprintDestName(Gdal.StringToUtf8Bytes(dest), Dataset.getCPtr(srcDS), GDALFootprintOptions.getCPtr(options), callback, callback_data); + Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static Dataset wrapper_GDALBuildVRT_objects(string dest, int object_list_count, IntPtr poObjects, GDALBuildVRTOptions options, Gdal.GDALProgressFuncDelegate callback, string callback_data) { IntPtr cPtr = GdalPINVOKE.wrapper_GDALBuildVRT_objects(Gdal.StringToUtf8Bytes(dest), object_list_count, poObjects, GDALBuildVRTOptions.getCPtr(options), callback, callback_data); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); @@ -1161,6 +1287,13 @@ public static Dataset wrapper_GDALBuildVRT_names(string dest, string[] source_fi return ret; } + public static Dataset wrapper_TileIndex_names(string dest, string[] source_filenames, GDALTileIndexOptions options, Gdal.GDALProgressFuncDelegate callback, string callback_data) { + IntPtr cPtr = GdalPINVOKE.wrapper_TileIndex_names(Gdal.StringToUtf8Bytes(dest), (source_filenames != null)? new GdalPINVOKE.StringListMarshal(source_filenames)._ar : null, GDALTileIndexOptions.getCPtr(options), callback, callback_data); + Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static Dataset wrapper_GDALMultiDimTranslateDestName(string dest, int object_list_count, IntPtr poObjects, GDALMultiDimTranslateOptions multiDimTranslateOptions, Gdal.GDALProgressFuncDelegate callback, string callback_data) { IntPtr cPtr = GdalPINVOKE.wrapper_GDALMultiDimTranslateDestName(Gdal.StringToUtf8Bytes(dest), object_list_count, poObjects, GDALMultiDimTranslateOptions.getCPtr(multiDimTranslateOptions), callback, callback_data); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); diff --git a/Runtime/Scripts/gdal/GdalPINVOKE.cs b/Runtime/Scripts/gdal/GdalPINVOKE.cs index 6c06417..1d0b518 100644 --- a/Runtime/Scripts/gdal/GdalPINVOKE.cs +++ b/Runtime/Scripts/gdal/GdalPINVOKE.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -399,18 +399,33 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetConfigOption___")] public static extern string GetConfigOption(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetGlobalConfigOption___")] + public static extern string GetGlobalConfigOption(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetThreadLocalConfigOption___")] public static extern string GetThreadLocalConfigOption(string jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetConfigOptions___")] + public static extern global::System.IntPtr GetConfigOptions(); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SetPathSpecificOption___")] + public static extern void SetPathSpecificOption(string jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SetCredential___")] public static extern void SetCredential(string jarg1, string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetCredential___")] public static extern string GetCredential(string jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetPathSpecificOption___")] + public static extern string GetPathSpecificOption(string jarg1, string jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ClearCredentials___")] public static extern void ClearCredentials(string jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ClearPathSpecificOptions___")] + public static extern void ClearPathSpecificOptions(string jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_CPLBinaryToHex___")] public static extern string CPLBinaryToHex(int jarg1, IntPtr jarg2); @@ -418,7 +433,7 @@ public virtual void Dispose() { public static extern IntPtr CPLHexToBinary(string jarg1, out int jarg2); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_FileFromMemBuffer___")] - public static extern void FileFromMemBuffer(byte[] jarg1, int jarg2, IntPtr jarg3); + public static extern int FileFromMemBuffer(byte[] jarg1, int jarg2, IntPtr jarg3); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Unlink___")] public static extern int Unlink(byte[] jarg1); @@ -444,6 +459,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Rename___")] public static extern int Rename(byte[] jarg1, byte[] jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_CopyFile___")] + public static extern int CopyFile(byte[] jarg1, byte[] jarg2, IntPtr jarg3, long jarg4, IntPtr[] jarg5, Gdal.GDALProgressFuncDelegate jarg6, string jarg7); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetActualURL___")] public static extern string GetActualURL(byte[] jarg1); @@ -457,7 +475,7 @@ public virtual void Dispose() { public static extern string GetFileSystemOptions(byte[] jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetFileMetadata___")] - public static extern IntPtr GetFileMetadata(byte[] jarg1, string jarg2, IntPtr[] jarg3); + public static extern global::System.IntPtr GetFileMetadata(byte[] jarg1, string jarg2, IntPtr[] jarg3); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SetFileMetadata___")] public static extern bool SetFileMetadata(byte[] jarg1, IntPtr[] jarg2, string jarg3, IntPtr[] jarg4); @@ -504,6 +522,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ParseCommandLine___")] public static extern IntPtr ParseCommandLine(byte[] jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetNumCPUs___")] + public static extern int GetNumCPUs(); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetUsablePhysicalRAM___")] + public static extern long GetUsablePhysicalRAM(); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_XMLNode_Type_get___")] public static extern int XMLNode_Type_get(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -810,6 +834,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_Dataset___")] public static extern void delete_Dataset(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_Close___")] + public static extern int Dataset_Close(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetDriver___")] public static extern global::System.IntPtr Dataset_GetDriver(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -841,7 +868,7 @@ public virtual void Dispose() { public static extern int Dataset_SetGeoTransform(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_BuildOverviews___")] - public static extern int Dataset_BuildOverviews(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, IntPtr jarg4, Gdal.GDALProgressFuncDelegate jarg5, string jarg6); + public static extern int Dataset_BuildOverviews(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, IntPtr jarg4, Gdal.GDALProgressFuncDelegate jarg5, string jarg6, IntPtr[] jarg7); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetGCPCount___")] public static extern int Dataset_GetGCPCount(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -850,7 +877,7 @@ public virtual void Dispose() { public static extern string Dataset_GetGCPProjection(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_FlushCache___")] - public static extern void Dataset_FlushCache(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern int Dataset_FlushCache(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_AddBand___")] public static extern int Dataset_AddBand(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, IntPtr[] jarg3); @@ -864,6 +891,21 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_AdviseRead___")] public static extern int Dataset_AdviseRead(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, global::System.Runtime.InteropServices.HandleRef jarg7, IntPtr jarg8, int jarg9, global::System.Runtime.InteropServices.HandleRef jarg10, IntPtr[] jarg11); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetLayer___")] + public static extern global::System.IntPtr Dataset_GetLayer(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetLayerByName___")] + public static extern global::System.IntPtr Dataset_GetLayerByName(global::System.Runtime.InteropServices.HandleRef jarg1, byte[] jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_ResetReading___")] + public static extern void Dataset_ResetReading(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetLayerCount___")] + public static extern int Dataset_GetLayerCount(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetNextFeature___")] + public static extern global::System.IntPtr Dataset_GetNextFeature(global::System.Runtime.InteropServices.HandleRef jarg1, ref IntPtr jarg2, ref double jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_AbortSQL___")] public static extern int Dataset_AbortSQL(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -894,6 +936,21 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_UpdateFieldDomain___")] public static extern bool Dataset_UpdateFieldDomain(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetRelationshipNames___")] + public static extern IntPtr Dataset_GetRelationshipNames(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_GetRelationship___")] + public static extern global::System.IntPtr Dataset_GetRelationship(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_AddRelationship___")] + public static extern bool Dataset_AddRelationship(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_DeleteRelationship___")] + public static extern bool Dataset_DeleteRelationship(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_UpdateRelationship___")] + public static extern bool Dataset_UpdateRelationship(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset_ReadRaster__SWIG_0___")] public static extern int Dataset_ReadRaster__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, IntPtr jarg6, int jarg7, int jarg8, int jarg9, int jarg10, int[] jarg11, int jarg12, int jarg13, int jarg14); @@ -924,6 +981,81 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dataset___FreeCArray_GDAL_GCP___")] public static extern void Dataset___FreeCArray_GDAL_GCP(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_RasterAttributeTable___")] + public static extern global::System.IntPtr new_RasterAttributeTable(); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_RasterAttributeTable___")] + public static extern void delete_RasterAttributeTable(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_Clone___")] + public static extern global::System.IntPtr RasterAttributeTable_Clone(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetColumnCount___")] + public static extern int RasterAttributeTable_GetColumnCount(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetNameOfCol___")] + public static extern string RasterAttributeTable_GetNameOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetUsageOfCol___")] + public static extern int RasterAttributeTable_GetUsageOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetTypeOfCol___")] + public static extern int RasterAttributeTable_GetTypeOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetColOfUsage___")] + public static extern int RasterAttributeTable_GetColOfUsage(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetRowCount___")] + public static extern int RasterAttributeTable_GetRowCount(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsString___")] + public static extern string RasterAttributeTable_GetValueAsString(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsInt___")] + public static extern int RasterAttributeTable_GetValueAsInt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsDouble___")] + public static extern double RasterAttributeTable_GetValueAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsString___")] + public static extern void RasterAttributeTable_SetValueAsString(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsInt___")] + public static extern void RasterAttributeTable_SetValueAsInt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsDouble___")] + public static extern void RasterAttributeTable_SetValueAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, double jarg4); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetRowCount___")] + public static extern void RasterAttributeTable_SetRowCount(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_CreateColumn___")] + public static extern int RasterAttributeTable_CreateColumn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetLinearBinning___")] + public static extern bool RasterAttributeTable_GetLinearBinning(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetLinearBinning___")] + public static extern int RasterAttributeTable_SetLinearBinning(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetRowOfValue___")] + public static extern int RasterAttributeTable_GetRowOfValue(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_ChangesAreWrittenToFile___")] + public static extern int RasterAttributeTable_ChangesAreWrittenToFile(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_DumpReadable___")] + public static extern void RasterAttributeTable_DumpReadable(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetTableType___")] + public static extern void RasterAttributeTable_SetTableType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetTableType___")] + public static extern int RasterAttributeTable_GetTableType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_RemoveStatistics___")] + public static extern void RasterAttributeTable_RemoveStatistics(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_Group___")] public static extern void delete_Group(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -969,12 +1101,27 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_CreateGroup___")] public static extern global::System.IntPtr Group_CreateGroup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_DeleteGroup___")] + public static extern int Group_DeleteGroup(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_CreateDimension___")] - public static extern global::System.IntPtr Group_CreateDimension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, ulong jarg5, IntPtr[] jarg6); + public static extern global::System.IntPtr Group_CreateDimension(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr[] jarg6); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_DeleteMDArray___")] + public static extern int Group_DeleteMDArray(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_CreateAttribute___")] public static extern global::System.IntPtr Group_CreateAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr[] jarg6); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_DeleteAttribute___")] + public static extern int Group_DeleteAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_Rename___")] + public static extern int Group_Rename(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Group_SubsetDimensionFromSelection___")] + public static extern global::System.IntPtr Group_SubsetDimensionFromSelection(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_MDArray___")] public static extern void delete_MDArray(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -985,7 +1132,7 @@ public virtual void Dispose() { public static extern string MDArray_GetFullName(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetTotalElementsCount___")] - public static extern ulong MDArray_GetTotalElementsCount(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern global::System.IntPtr MDArray_GetTotalElementsCount(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetDimensionCount___")] public static extern uint MDArray_GetDimensionCount(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -996,12 +1143,18 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetStructuralInfo___")] public static extern IntPtr MDArray_GetStructuralInfo(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_Resize___")] + public static extern int MDArray_Resize(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, IntPtr[] jarg4); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetAttribute___")] public static extern global::System.IntPtr MDArray_GetAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_CreateAttribute___")] public static extern global::System.IntPtr MDArray_CreateAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, IntPtr[] jarg6); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_DeleteAttribute___")] + public static extern int MDArray_DeleteAttribute(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetNoDataValueAsDouble___")] public static extern void MDArray_GetNoDataValueAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out int jarg3); @@ -1045,7 +1198,7 @@ public virtual void Dispose() { public static extern global::System.IntPtr MDArray_GetView(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_Transpose___")] - public static extern global::System.IntPtr MDArray_Transpose(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int[] jarg3); + public static extern global::System.IntPtr MDArray_Transpose(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetUnscaled___")] public static extern global::System.IntPtr MDArray_GetUnscaled(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1053,12 +1206,18 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetMask___")] public static extern global::System.IntPtr MDArray_GetMask(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_GetGridded___")] + public static extern global::System.IntPtr MDArray_GetGridded(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr[] jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_AsClassicDataset___")] - public static extern global::System.IntPtr MDArray_AsClassicDataset(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3); + public static extern global::System.IntPtr MDArray_AsClassicDataset(global::System.Runtime.InteropServices.HandleRef jarg1, uint jarg2, uint jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, IntPtr[] jarg5); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_Cache___")] public static extern bool MDArray_Cache(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_MDArray_Rename___")] + public static extern int MDArray_Rename(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_Attribute___")] public static extern void delete_Attribute(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1069,7 +1228,7 @@ public virtual void Dispose() { public static extern string Attribute_GetFullName(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Attribute_GetTotalElementsCount___")] - public static extern ulong Attribute_GetTotalElementsCount(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern global::System.IntPtr Attribute_GetTotalElementsCount(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Attribute_GetDimensionCount___")] public static extern uint Attribute_GetDimensionCount(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1101,6 +1260,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Attribute_WriteDouble___")] public static extern int Attribute_WriteDouble(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Attribute_Rename___")] + public static extern int Attribute_Rename(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_Dimension___")] public static extern void delete_Dimension(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1117,7 +1279,7 @@ public virtual void Dispose() { public static extern string Dimension_GetDirection(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dimension_GetSize___")] - public static extern ulong Dimension_GetSize(global::System.Runtime.InteropServices.HandleRef jarg1); + public static extern global::System.IntPtr Dimension_GetSize(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dimension_GetIndexingVariable___")] public static extern global::System.IntPtr Dimension_GetIndexingVariable(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1125,6 +1287,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dimension_SetIndexingVariable___")] public static extern bool Dimension_SetIndexingVariable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Dimension_Rename___")] + public static extern int Dimension_Rename(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_ExtendedDataType___")] public static extern void delete_ExtendedDataType(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1326,6 +1491,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Band_AsMDArray___")] public static extern global::System.IntPtr Band_AsMDArray(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Band__EnablePixelTypeSignedByteWarning___")] + public static extern void Band__EnablePixelTypeSignedByteWarning(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Band_ReadRaster__SWIG_0___")] public static extern int Band_ReadRaster__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4, int jarg5, IntPtr jarg6, int jarg7, int jarg8, int jarg9, int jarg10, int jarg11); @@ -1365,77 +1533,92 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ColorTable_CreateColorRamp___")] public static extern void ColorTable_CreateColorRamp(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_RasterAttributeTable___")] - public static extern global::System.IntPtr new_RasterAttributeTable(); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_SubdatasetInfo___")] + public static extern void delete_SubdatasetInfo(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_RasterAttributeTable___")] - public static extern void delete_RasterAttributeTable(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SubdatasetInfo_GetPathComponent___")] + public static extern string SubdatasetInfo_GetPathComponent(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_Clone___")] - public static extern global::System.IntPtr RasterAttributeTable_Clone(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SubdatasetInfo_GetSubdatasetComponent___")] + public static extern string SubdatasetInfo_GetSubdatasetComponent(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetColumnCount___")] - public static extern int RasterAttributeTable_GetColumnCount(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SubdatasetInfo_ModifyPathComponent___")] + public static extern string SubdatasetInfo_ModifyPathComponent(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetNameOfCol___")] - public static extern string RasterAttributeTable_GetNameOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetSubdatasetInfo___")] + public static extern global::System.IntPtr GetSubdatasetInfo(string jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetUsageOfCol___")] - public static extern int RasterAttributeTable_GetUsageOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_Relationship___")] + public static extern global::System.IntPtr new_Relationship(string jarg1, string jarg2, string jarg3, int jarg4); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetTypeOfCol___")] - public static extern int RasterAttributeTable_GetTypeOfCol(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_Relationship___")] + public static extern void delete_Relationship(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetColOfUsage___")] - public static extern int RasterAttributeTable_GetColOfUsage(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetName___")] + public static extern string Relationship_GetName(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetRowCount___")] - public static extern int RasterAttributeTable_GetRowCount(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetCardinality___")] + public static extern int Relationship_GetCardinality(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsString___")] - public static extern string RasterAttributeTable_GetValueAsString(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetLeftTableName___")] + public static extern string Relationship_GetLeftTableName(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsInt___")] - public static extern int RasterAttributeTable_GetValueAsInt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetRightTableName___")] + public static extern string Relationship_GetRightTableName(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetValueAsDouble___")] - public static extern double RasterAttributeTable_GetValueAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetMappingTableName___")] + public static extern string Relationship_GetMappingTableName(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsString___")] - public static extern void RasterAttributeTable_SetValueAsString(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetMappingTableName___")] + public static extern void Relationship_SetMappingTableName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsInt___")] - public static extern void RasterAttributeTable_SetValueAsInt(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetLeftTableFields___")] + public static extern IntPtr Relationship_GetLeftTableFields(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetValueAsDouble___")] - public static extern void RasterAttributeTable_SetValueAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, double jarg4); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetRightTableFields___")] + public static extern IntPtr Relationship_GetRightTableFields(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetRowCount___")] - public static extern void RasterAttributeTable_SetRowCount(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetLeftTableFields___")] + public static extern void Relationship_SetLeftTableFields(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_CreateColumn___")] - public static extern int RasterAttributeTable_CreateColumn(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetRightTableFields___")] + public static extern void Relationship_SetRightTableFields(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetLinearBinning___")] - public static extern bool RasterAttributeTable_GetLinearBinning(global::System.Runtime.InteropServices.HandleRef jarg1, out double jarg2, out double jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetLeftMappingTableFields___")] + public static extern IntPtr Relationship_GetLeftMappingTableFields(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetLinearBinning___")] - public static extern int RasterAttributeTable_SetLinearBinning(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetRightMappingTableFields___")] + public static extern IntPtr Relationship_GetRightMappingTableFields(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetRowOfValue___")] - public static extern int RasterAttributeTable_GetRowOfValue(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetLeftMappingTableFields___")] + public static extern void Relationship_SetLeftMappingTableFields(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_ChangesAreWrittenToFile___")] - public static extern int RasterAttributeTable_ChangesAreWrittenToFile(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetRightMappingTableFields___")] + public static extern void Relationship_SetRightMappingTableFields(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_DumpReadable___")] - public static extern void RasterAttributeTable_DumpReadable(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetType___")] + public static extern int Relationship_GetType(global::System.Runtime.InteropServices.HandleRef jarg1); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_SetTableType___")] - public static extern void RasterAttributeTable_SetTableType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetType___")] + public static extern void Relationship_SetType(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_RasterAttributeTable_GetTableType___")] - public static extern int RasterAttributeTable_GetTableType(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetForwardPathLabel___")] + public static extern string Relationship_GetForwardPathLabel(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetForwardPathLabel___")] + public static extern void Relationship_SetForwardPathLabel(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetBackwardPathLabel___")] + public static extern string Relationship_GetBackwardPathLabel(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetBackwardPathLabel___")] + public static extern void Relationship_SetBackwardPathLabel(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_GetRelatedTableType___")] + public static extern string Relationship_GetRelatedTableType(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Relationship_SetRelatedTableType___")] + public static extern void Relationship_SetRelatedTableType(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ComputeMedianCutPCT___")] public static extern int ComputeMedianCutPCT(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4, global::System.Runtime.InteropServices.HandleRef jarg5, Gdal.GDALProgressFuncDelegate jarg6, string jarg7); @@ -1477,7 +1660,10 @@ public virtual void Dispose() { public static extern int ContourGenerateEx(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr[] jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ViewshedGenerate___")] - public static extern global::System.IntPtr ViewshedGenerate(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, double jarg13, int jarg14, double jarg15, Gdal.GDALProgressFuncDelegate jarg16, string jarg17, int jarg18, global::System.Runtime.InteropServices.HandleRef jarg19); + public static extern global::System.IntPtr ViewshedGenerate(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, IntPtr[] jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9, double jarg10, double jarg11, double jarg12, double jarg13, int jarg14, double jarg15, Gdal.GDALProgressFuncDelegate jarg16, string jarg17, int jarg18, IntPtr[] jarg19); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_IsLineOfSightVisible___")] + public static extern bool IsLineOfSightVisible(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, double jarg4, int jarg5, int jarg6, double jarg7, IntPtr[] jarg8); [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_AutoCreateWarpedVRT___")] public static extern global::System.IntPtr AutoCreateWarpedVRT(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4, double jarg5); @@ -1503,6 +1689,36 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_Transformer_TransformGeolocations___")] public static extern int Transformer_TransformGeolocations(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, Gdal.GDALProgressFuncDelegate jarg5, string jarg6, IntPtr[] jarg7); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_width_get___")] + public static extern int SuggestedWarpOutputRes_width_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_height_get___")] + public static extern int SuggestedWarpOutputRes_height_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_xmin_get___")] + public static extern double SuggestedWarpOutputRes_xmin_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_ymin_get___")] + public static extern double SuggestedWarpOutputRes_ymin_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_xmax_get___")] + public static extern double SuggestedWarpOutputRes_xmax_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_ymax_get___")] + public static extern double SuggestedWarpOutputRes_ymax_get(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_SuggestedWarpOutputRes___")] + public static extern void delete_SuggestedWarpOutputRes(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutputRes_GetGeotransform___")] + public static extern void SuggestedWarpOutputRes_GetGeotransform(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutput__SWIG_0___")] + public static extern global::System.IntPtr SuggestedWarpOutput__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_SuggestedWarpOutput__SWIG_1___")] + public static extern global::System.IntPtr SuggestedWarpOutput__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_ApplyVerticalShiftGrid___")] public static extern global::System.IntPtr ApplyVerticalShiftGrid(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, double jarg4, double jarg5, IntPtr[] jarg6); @@ -1569,6 +1785,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetJPEG2000StructureAsString___")] public static extern string GetJPEG2000StructureAsString(string jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_HasTriangulation___")] + public static extern int HasTriangulation(); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GetDriverCount___")] public static extern int GetDriverCount(); @@ -1617,6 +1836,15 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GDALInfo___")] public static extern string GDALInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALVectorInfoOptions___")] + public static extern global::System.IntPtr new_GDALVectorInfoOptions(IntPtr[] jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_GDALVectorInfoOptions___")] + public static extern void delete_GDALVectorInfoOptions(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_GDALVectorInfo___")] + public static extern string GDALVectorInfo(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALMultiDimInfoOptions___")] public static extern global::System.IntPtr new_GDALMultiDimInfoOptions(IntPtr[] jarg1); @@ -1701,6 +1929,18 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_wrapper_GDALRasterizeDestName___")] public static extern global::System.IntPtr wrapper_GDALRasterizeDestName(byte[] jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALFootprintOptions___")] + public static extern global::System.IntPtr new_GDALFootprintOptions(IntPtr[] jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_GDALFootprintOptions___")] + public static extern void delete_GDALFootprintOptions(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_wrapper_GDALFootprintDestDS___")] + public static extern int wrapper_GDALFootprintDestDS(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_wrapper_GDALFootprintDestName___")] + public static extern global::System.IntPtr wrapper_GDALFootprintDestName(byte[] jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALBuildVRTOptions___")] public static extern global::System.IntPtr new_GDALBuildVRTOptions(IntPtr[] jarg1); @@ -1713,6 +1953,15 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_wrapper_GDALBuildVRT_names___")] public static extern global::System.IntPtr wrapper_GDALBuildVRT_names(byte[] jarg1, IntPtr[] jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALTileIndexOptions___")] + public static extern global::System.IntPtr new_GDALTileIndexOptions(IntPtr[] jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_delete_GDALTileIndexOptions___")] + public static extern void delete_GDALTileIndexOptions(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_wrapper_TileIndex_names___")] + public static extern global::System.IntPtr wrapper_TileIndex_names(byte[] jarg1, IntPtr[] jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, Gdal.GDALProgressFuncDelegate jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("gdal_wrap", EntryPoint="CSharp_OSGeofGDAL_new_GDALMultiDimTranslateOptions___")] public static extern global::System.IntPtr new_GDALMultiDimTranslateOptions(IntPtr[] jarg1); diff --git a/Runtime/Scripts/gdal/Group.cs b/Runtime/Scripts/gdal/Group.cs index cbbfc19..de7343d 100644 --- a/Runtime/Scripts/gdal/Group.cs +++ b/Runtime/Scripts/gdal/Group.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -229,20 +229,51 @@ public Group CreateGroup(string name, string[] options) { return ret; } - public Dimension CreateDimension(string name, string type, string direction, ulong size, string[] options) { - IntPtr cPtr = GdalPINVOKE.Group_CreateDimension(swigCPtr, name, type, direction, size, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + public CPLErr DeleteGroup(string name, string[] options) { + CPLErr ret = (CPLErr)GdalPINVOKE.Group_DeleteGroup(swigCPtr, name, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public Dimension CreateDimension(string name, string type, string direction, SWIGTYPE_p_GUIntBig size, string[] options) { + IntPtr cPtr = GdalPINVOKE.Group_CreateDimension(swigCPtr, name, type, direction, SWIGTYPE_p_GUIntBig.getCPtr(size), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Dimension ret = (cPtr == IntPtr.Zero) ? null : new Dimension(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } - public Attribute CreateAttribute(string name, int nDimensions, SWIGTYPE_p_GUIntBig dimensions, ExtendedDataType data_type, string[] options) { - IntPtr cPtr = GdalPINVOKE.Group_CreateAttribute(swigCPtr, name, nDimensions, SWIGTYPE_p_GUIntBig.getCPtr(dimensions), ExtendedDataType.getCPtr(data_type), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + public CPLErr DeleteMDArray(string name, string[] options) { + CPLErr ret = (CPLErr)GdalPINVOKE.Group_DeleteMDArray(swigCPtr, name, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public Attribute CreateAttribute(string name, int dimensions, SWIGTYPE_p_GUIntBig sizes, ExtendedDataType data_type, string[] options) { + IntPtr cPtr = GdalPINVOKE.Group_CreateAttribute(swigCPtr, name, dimensions, SWIGTYPE_p_GUIntBig.getCPtr(sizes), ExtendedDataType.getCPtr(data_type), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Attribute ret = (cPtr == IntPtr.Zero) ? null : new Attribute(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public CPLErr DeleteAttribute(string name, string[] options) { + CPLErr ret = (CPLErr)GdalPINVOKE.Group_DeleteAttribute(swigCPtr, name, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public CPLErr Rename(string newName) { + CPLErr ret = (CPLErr)GdalPINVOKE.Group_Rename(swigCPtr, newName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public Group SubsetDimensionFromSelection(string selection, string[] options) { + IntPtr cPtr = GdalPINVOKE.Group_SubsetDimensionFromSelection(swigCPtr, selection, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + Group ret = (cPtr == IntPtr.Zero) ? null : new Group(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/gdal/MDArray.cs b/Runtime/Scripts/gdal/MDArray.cs index 0a64dbd..70106ee 100644 --- a/Runtime/Scripts/gdal/MDArray.cs +++ b/Runtime/Scripts/gdal/MDArray.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -83,8 +83,8 @@ public string GetFullName() { return ret; } - public ulong GetTotalElementsCount() { - ulong ret = GdalPINVOKE.MDArray_GetTotalElementsCount(swigCPtr); + public SWIGTYPE_p_GUIntBig GetTotalElementsCount() { + SWIGTYPE_p_GUIntBig ret = new SWIGTYPE_p_GUIntBig(GdalPINVOKE.MDArray_GetTotalElementsCount(swigCPtr), true, null); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -123,6 +123,12 @@ public string[] GetStructuralInfo() { return ret; } + public CPLErr Resize(int newDimensions, SWIGTYPE_p_GUIntBig newSizes, string[] options) { + CPLErr ret = (CPLErr)GdalPINVOKE.MDArray_Resize(swigCPtr, newDimensions, SWIGTYPE_p_GUIntBig.getCPtr(newSizes), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public Attribute GetAttribute(string name) { IntPtr cPtr = GdalPINVOKE.MDArray_GetAttribute(swigCPtr, name); Attribute ret = (cPtr == IntPtr.Zero) ? null : new Attribute(cPtr, true, ThisOwn_true()); @@ -130,13 +136,19 @@ public Attribute GetAttribute(string name) { return ret; } - public Attribute CreateAttribute(string name, int nDimensions, SWIGTYPE_p_GUIntBig dimensions, ExtendedDataType data_type, string[] options) { - IntPtr cPtr = GdalPINVOKE.MDArray_CreateAttribute(swigCPtr, name, nDimensions, SWIGTYPE_p_GUIntBig.getCPtr(dimensions), ExtendedDataType.getCPtr(data_type), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + public Attribute CreateAttribute(string name, int dimensions, SWIGTYPE_p_GUIntBig sizes, ExtendedDataType data_type, string[] options) { + IntPtr cPtr = GdalPINVOKE.MDArray_CreateAttribute(swigCPtr, name, dimensions, SWIGTYPE_p_GUIntBig.getCPtr(sizes), ExtendedDataType.getCPtr(data_type), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Attribute ret = (cPtr == IntPtr.Zero) ? null : new Attribute(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; } + public CPLErr DeleteAttribute(string name, string[] options) { + CPLErr ret = (CPLErr)GdalPINVOKE.MDArray_DeleteAttribute(swigCPtr, name, (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public void GetNoDataValueAsDouble(out double val, out int hasval) { GdalPINVOKE.MDArray_GetNoDataValueAsDouble(swigCPtr, out val, out hasval); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); @@ -219,8 +231,8 @@ public MDArray GetView(string viewExpr) { return ret; } - public MDArray Transpose(int nList, int[] pList) { - IntPtr cPtr = GdalPINVOKE.MDArray_Transpose(swigCPtr, nList, pList); + public MDArray Transpose(int axisMap, SWIGTYPE_p_int mapInts) { + IntPtr cPtr = GdalPINVOKE.MDArray_Transpose(swigCPtr, axisMap, SWIGTYPE_p_int.getCPtr(mapInts)); MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -240,8 +252,15 @@ public MDArray GetMask(string[] options) { return ret; } - public Dataset AsClassicDataset(uint iXDim, uint iYDim) { - IntPtr cPtr = GdalPINVOKE.MDArray_AsClassicDataset(swigCPtr, iXDim, iYDim); + public MDArray GetGridded(string pszGridOptions, MDArray xArray, MDArray yArray, string[] options) { + IntPtr cPtr = GdalPINVOKE.MDArray_GetGridded(swigCPtr, pszGridOptions, MDArray.getCPtr(xArray), MDArray.getCPtr(yArray), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); + MDArray ret = (cPtr == IntPtr.Zero) ? null : new MDArray(cPtr, true, ThisOwn_true()); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public Dataset AsClassicDataset(uint iXDim, uint iYDim, Group hRootGroup, string[] options) { + IntPtr cPtr = GdalPINVOKE.MDArray_AsClassicDataset(swigCPtr, iXDim, iYDim, Group.getCPtr(hRootGroup), (options != null)? new GdalPINVOKE.StringListMarshal(options)._ar : null); Dataset ret = (cPtr == IntPtr.Zero) ? null : new Dataset(cPtr, true, ThisOwn_true()); if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); return ret; @@ -253,6 +272,12 @@ public bool Cache(string[] options) { return ret; } + public CPLErr Rename(string newName) { + CPLErr ret = (CPLErr)GdalPINVOKE.MDArray_Rename(swigCPtr, newName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/gdal/MajorObject.cs b/Runtime/Scripts/gdal/MajorObject.cs index d9e3366..08fe77b 100644 --- a/Runtime/Scripts/gdal/MajorObject.cs +++ b/Runtime/Scripts/gdal/MajorObject.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/PaletteInterp.cs b/Runtime/Scripts/gdal/PaletteInterp.cs index 1420ee4..1a5f0b4 100644 --- a/Runtime/Scripts/gdal/PaletteInterp.cs +++ b/Runtime/Scripts/gdal/PaletteInterp.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RATFieldType.cs b/Runtime/Scripts/gdal/RATFieldType.cs index fbaaaa0..0d1466c 100644 --- a/Runtime/Scripts/gdal/RATFieldType.cs +++ b/Runtime/Scripts/gdal/RATFieldType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RATFieldUsage.cs b/Runtime/Scripts/gdal/RATFieldUsage.cs index d1b7c63..2a9d1ed 100644 --- a/Runtime/Scripts/gdal/RATFieldUsage.cs +++ b/Runtime/Scripts/gdal/RATFieldUsage.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RATTableType.cs b/Runtime/Scripts/gdal/RATTableType.cs index e79b302..6c03788 100644 --- a/Runtime/Scripts/gdal/RATTableType.cs +++ b/Runtime/Scripts/gdal/RATTableType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RIOResampleAlg.cs b/Runtime/Scripts/gdal/RIOResampleAlg.cs index bf93c35..3587965 100644 --- a/Runtime/Scripts/gdal/RIOResampleAlg.cs +++ b/Runtime/Scripts/gdal/RIOResampleAlg.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RWFlag.cs b/Runtime/Scripts/gdal/RWFlag.cs index 2ce98b2..834b91a 100644 --- a/Runtime/Scripts/gdal/RWFlag.cs +++ b/Runtime/Scripts/gdal/RWFlag.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/RasterAttributeTable.cs b/Runtime/Scripts/gdal/RasterAttributeTable.cs index b38475b..9dd91f4 100644 --- a/Runtime/Scripts/gdal/RasterAttributeTable.cs +++ b/Runtime/Scripts/gdal/RasterAttributeTable.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -202,6 +202,11 @@ public RATTableType GetTableType() { return ret; } + public void RemoveStatistics() { + GdalPINVOKE.RasterAttributeTable_RemoveStatistics(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + } } diff --git a/Runtime/Scripts/gdal/RasterIOExtraArg.cs b/Runtime/Scripts/gdal/RasterIOExtraArg.cs index 891c650..829a7be 100644 --- a/Runtime/Scripts/gdal/RasterIOExtraArg.cs +++ b/Runtime/Scripts/gdal/RasterIOExtraArg.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/Relationship.cs b/Runtime/Scripts/gdal/Relationship.cs new file mode 100644 index 0000000..789a4d5 --- /dev/null +++ b/Runtime/Scripts/gdal/Relationship.cs @@ -0,0 +1,271 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class Relationship : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public Relationship(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(Relationship obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(Relationship obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(Relationship obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~Relationship() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + GdalPINVOKE.delete_Relationship(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public Relationship(string name, string leftTableName, string rightTableName, RelationshipCardinality cardinality) : this(GdalPINVOKE.new_Relationship(name, leftTableName, rightTableName, (int)cardinality), true, null) { + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string GetName() { + string ret = GdalPINVOKE.Relationship_GetName(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public RelationshipCardinality GetCardinality() { + RelationshipCardinality ret = (RelationshipCardinality)GdalPINVOKE.Relationship_GetCardinality(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetLeftTableName() { + string ret = GdalPINVOKE.Relationship_GetLeftTableName(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetRightTableName() { + string ret = GdalPINVOKE.Relationship_GetRightTableName(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetMappingTableName() { + string ret = GdalPINVOKE.Relationship_GetMappingTableName(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetMappingTableName(string pszName) { + GdalPINVOKE.Relationship_SetMappingTableName(swigCPtr, pszName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string[] GetLeftTableFields() { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = GdalPINVOKE.Relationship_GetLeftTableFields(swigCPtr); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + GdalPINVOKE.StringListDestroy(cPtr); + + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public string[] GetRightTableFields() { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = GdalPINVOKE.Relationship_GetRightTableFields(swigCPtr); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + GdalPINVOKE.StringListDestroy(cPtr); + + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public void SetLeftTableFields(string[] pFields) { + GdalPINVOKE.Relationship_SetLeftTableFields(swigCPtr, (pFields != null)? new GdalPINVOKE.StringListMarshal(pFields)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public void SetRightTableFields(string[] pFields) { + GdalPINVOKE.Relationship_SetRightTableFields(swigCPtr, (pFields != null)? new GdalPINVOKE.StringListMarshal(pFields)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string[] GetLeftMappingTableFields() { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = GdalPINVOKE.Relationship_GetLeftMappingTableFields(swigCPtr); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + GdalPINVOKE.StringListDestroy(cPtr); + + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public string[] GetRightMappingTableFields() { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = GdalPINVOKE.Relationship_GetRightMappingTableFields(swigCPtr); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + GdalPINVOKE.StringListDestroy(cPtr); + + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public void SetLeftMappingTableFields(string[] pFields) { + GdalPINVOKE.Relationship_SetLeftMappingTableFields(swigCPtr, (pFields != null)? new GdalPINVOKE.StringListMarshal(pFields)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public void SetRightMappingTableFields(string[] pFields) { + GdalPINVOKE.Relationship_SetRightMappingTableFields(swigCPtr, (pFields != null)? new GdalPINVOKE.StringListMarshal(pFields)._ar : null); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public RelationshipType GetType() { + RelationshipType ret = (RelationshipType)GdalPINVOKE.Relationship_GetType(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetType(RelationshipType type) { + GdalPINVOKE.Relationship_SetType(swigCPtr, (int)type); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string GetForwardPathLabel() { + string ret = GdalPINVOKE.Relationship_GetForwardPathLabel(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetForwardPathLabel(string pszLabel) { + GdalPINVOKE.Relationship_SetForwardPathLabel(swigCPtr, pszLabel); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string GetBackwardPathLabel() { + string ret = GdalPINVOKE.Relationship_GetBackwardPathLabel(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetBackwardPathLabel(string pszLabel) { + GdalPINVOKE.Relationship_SetBackwardPathLabel(swigCPtr, pszLabel); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + + public string GetRelatedTableType() { + string ret = GdalPINVOKE.Relationship_GetRelatedTableType(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetRelatedTableType(string pszType) { + GdalPINVOKE.Relationship_SetRelatedTableType(swigCPtr, pszType); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} diff --git a/Runtime/Scripts/gdal/Relationship.cs.meta b/Runtime/Scripts/gdal/Relationship.cs.meta new file mode 100644 index 0000000..400c718 --- /dev/null +++ b/Runtime/Scripts/gdal/Relationship.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 9be9d624b783044ddb9a5354ea85d77b \ No newline at end of file diff --git a/Runtime/Scripts/ogr/AxisOrientation.cs b/Runtime/Scripts/gdal/RelationshipCardinality.cs similarity index 52% rename from Runtime/Scripts/ogr/AxisOrientation.cs rename to Runtime/Scripts/gdal/RelationshipCardinality.cs index 74e2a98..94def64 100644 --- a/Runtime/Scripts/ogr/AxisOrientation.cs +++ b/Runtime/Scripts/gdal/RelationshipCardinality.cs @@ -1,23 +1,20 @@ //------------------------------------------------------------------------------ // // -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 // -// Do not make changes to this file unless you know what you are doing--modify +// Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. //------------------------------------------------------------------------------ -namespace OSGeo.OGR { +namespace OSGeo.GDAL { -public enum AxisOrientation { - OAO_Other = 0, - OAO_North = 1, - OAO_South = 2, - OAO_East = 3, - OAO_West = 4, - OAO_Up = 5, - OAO_Down = 6 +public enum RelationshipCardinality { + GRC_ONE_TO_ONE = 0, + GRC_ONE_TO_MANY = 1, + GRC_MANY_TO_ONE = 2, + GRC_MANY_TO_MANY = 3 } } diff --git a/Runtime/Scripts/gdal/RelationshipCardinality.cs.meta b/Runtime/Scripts/gdal/RelationshipCardinality.cs.meta new file mode 100644 index 0000000..82ff2b4 --- /dev/null +++ b/Runtime/Scripts/gdal/RelationshipCardinality.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd773998f57c746f8a4ebe6b32ccd25b \ No newline at end of file diff --git a/Runtime/Scripts/ogr/AxisMappingStrategy.cs b/Runtime/Scripts/gdal/RelationshipType.cs similarity index 56% rename from Runtime/Scripts/ogr/AxisMappingStrategy.cs rename to Runtime/Scripts/gdal/RelationshipType.cs index d498dc0..758a427 100644 --- a/Runtime/Scripts/ogr/AxisMappingStrategy.cs +++ b/Runtime/Scripts/gdal/RelationshipType.cs @@ -1,19 +1,19 @@ //------------------------------------------------------------------------------ // // -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 // -// Do not make changes to this file unless you know what you are doing--modify +// Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. //------------------------------------------------------------------------------ -namespace OSGeo.OGR { +namespace OSGeo.GDAL { -public enum AxisMappingStrategy { - OAMS_TRADITIONAL_GIS_ORDER, - OAMS_AUTHORITY_COMPLIANT, - OAMS_CUSTOM +public enum RelationshipType { + GRT_COMPOSITE = 0, + GRT_ASSOCIATION = 1, + GRT_AGGREGATION = 2 } } diff --git a/Runtime/Scripts/gdal/RelationshipType.cs.meta b/Runtime/Scripts/gdal/RelationshipType.cs.meta new file mode 100644 index 0000000..73043f1 --- /dev/null +++ b/Runtime/Scripts/gdal/RelationshipType.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ad4804c78bd8642f1b87404434633a67 \ No newline at end of file diff --git a/Runtime/Scripts/gdal/ResampleAlg.cs b/Runtime/Scripts/gdal/ResampleAlg.cs index 86482a0..40e55e7 100644 --- a/Runtime/Scripts/gdal/ResampleAlg.cs +++ b/Runtime/Scripts/gdal/ResampleAlg.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_GDALProgressFunc.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALProgressFunc.cs index 5dfff2f..8299a15 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_GDALProgressFunc.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALProgressFunc.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs new file mode 100644 index 0000000..48b9556 --- /dev/null +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SWIGTYPE_p_GDALSubdatasetInfo { + private HandleRef swigCPtr; + + public SWIGTYPE_p_GDALSubdatasetInfo(IntPtr cPtr, bool futureUse, object parent) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_GDALSubdatasetInfo() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + public static HandleRef getCPtr(SWIGTYPE_p_GDALSubdatasetInfo obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs.meta b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs.meta new file mode 100644 index 0000000..1235b67 --- /dev/null +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_GDALSubdatasetInfo.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac4b12a4fb06345039f950e74fad85b5 \ No newline at end of file diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_GUIntBig.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_GUIntBig.cs index 01e93e4..f8700e1 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_GUIntBig.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_GUIntBig.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_OGRFieldDomainShadow.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_OGRFieldDomainShadow.cs index eb349db..afe2d13 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_OGRFieldDomainShadow.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_OGRFieldDomainShadow.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_int.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_int.cs index 3381e12..dd2236b 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_int.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_int.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_p_GDALRasterBandShadow.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_p_GDALRasterBandShadow.cs index 668d7aa..5949709 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_p_GDALRasterBandShadow.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_p_GDALRasterBandShadow.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_p_char.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_p_char.cs index 8639018..4bc44d3 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_p_char.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_p_char.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SWIGTYPE_p_void.cs b/Runtime/Scripts/gdal/SWIGTYPE_p_void.cs index 637e69f..357c869 100644 --- a/Runtime/Scripts/gdal/SWIGTYPE_p_void.cs +++ b/Runtime/Scripts/gdal/SWIGTYPE_p_void.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/SubdatasetInfo.cs b/Runtime/Scripts/gdal/SubdatasetInfo.cs new file mode 100644 index 0000000..9919158 --- /dev/null +++ b/Runtime/Scripts/gdal/SubdatasetInfo.cs @@ -0,0 +1,94 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SubdatasetInfo : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public SubdatasetInfo(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(SubdatasetInfo obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(SubdatasetInfo obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(SubdatasetInfo obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~SubdatasetInfo() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + GdalPINVOKE.delete_SubdatasetInfo(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public string GetPathComponent() { + string ret = GdalPINVOKE.SubdatasetInfo_GetPathComponent(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetSubdatasetComponent() { + string ret = GdalPINVOKE.SubdatasetInfo_GetSubdatasetComponent(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string ModifyPathComponent(string pszNewFileName) { + string ret = GdalPINVOKE.SubdatasetInfo_ModifyPathComponent(swigCPtr, pszNewFileName); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + +} + +} diff --git a/Runtime/Scripts/gdal/SubdatasetInfo.cs.meta b/Runtime/Scripts/gdal/SubdatasetInfo.cs.meta new file mode 100644 index 0000000..2c8554b --- /dev/null +++ b/Runtime/Scripts/gdal/SubdatasetInfo.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 7c2f86c96afb54d5ab2b5b315fb48fa3 \ No newline at end of file diff --git a/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs b/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs new file mode 100644 index 0000000..c816bd3 --- /dev/null +++ b/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs @@ -0,0 +1,129 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.GDAL { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SuggestedWarpOutputRes : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public SuggestedWarpOutputRes(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(SuggestedWarpOutputRes obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(SuggestedWarpOutputRes obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(SuggestedWarpOutputRes obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~SuggestedWarpOutputRes() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + GdalPINVOKE.delete_SuggestedWarpOutputRes(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public int width { + get { + int ret = GdalPINVOKE.SuggestedWarpOutputRes_width_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public int height { + get { + int ret = GdalPINVOKE.SuggestedWarpOutputRes_height_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public double xmin { + get { + double ret = GdalPINVOKE.SuggestedWarpOutputRes_xmin_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public double ymin { + get { + double ret = GdalPINVOKE.SuggestedWarpOutputRes_ymin_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public double xmax { + get { + double ret = GdalPINVOKE.SuggestedWarpOutputRes_xmax_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public double ymax { + get { + double ret = GdalPINVOKE.SuggestedWarpOutputRes_ymax_get(swigCPtr); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } + + public void GetGeotransform(double[] geotransform) { + GdalPINVOKE.SuggestedWarpOutputRes_GetGeotransform(swigCPtr, geotransform); + if (GdalPINVOKE.SWIGPendingException.Pending) throw GdalPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} diff --git a/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs.meta b/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs.meta new file mode 100644 index 0000000..a9fe3f7 --- /dev/null +++ b/Runtime/Scripts/gdal/SuggestedWarpOutputRes.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 34697808bca9645258c0495a8e446caf \ No newline at end of file diff --git a/Runtime/Scripts/gdal/Transformer.cs b/Runtime/Scripts/gdal/Transformer.cs index a3d173b..759ca26 100644 --- a/Runtime/Scripts/gdal/Transformer.cs +++ b/Runtime/Scripts/gdal/Transformer.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ViewshedMode.cs b/Runtime/Scripts/gdal/ViewshedMode.cs index 43aff04..c4f0ce1 100644 --- a/Runtime/Scripts/gdal/ViewshedMode.cs +++ b/Runtime/Scripts/gdal/ViewshedMode.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/ViewshedOutputType.cs b/Runtime/Scripts/gdal/ViewshedOutputType.cs index 421570d..6289287 100644 --- a/Runtime/Scripts/gdal/ViewshedOutputType.cs +++ b/Runtime/Scripts/gdal/ViewshedOutputType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/XMLNode.cs b/Runtime/Scripts/gdal/XMLNode.cs index bbf55d7..2d12654 100644 --- a/Runtime/Scripts/gdal/XMLNode.cs +++ b/Runtime/Scripts/gdal/XMLNode.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/gdal/XMLNodeType.cs b/Runtime/Scripts/gdal/XMLNodeType.cs index 853125a..20054bb 100644 --- a/Runtime/Scripts/gdal/XMLNodeType.cs +++ b/Runtime/Scripts/gdal/XMLNodeType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/AreaOfUse.cs b/Runtime/Scripts/ogr/AreaOfUse.cs deleted file mode 100644 index e5d90ca..0000000 --- a/Runtime/Scripts/ogr/AreaOfUse.cs +++ /dev/null @@ -1,120 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class AreaOfUse : global::System.IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - protected object swigParentRef; - - protected static object ThisOwn_true() { return null; } - protected object ThisOwn_false() { return this; } - - public AreaOfUse(IntPtr cPtr, bool cMemoryOwn, object parent) { - swigCMemOwn = cMemoryOwn; - swigParentRef = parent; - swigCPtr = new HandleRef(this, cPtr); - } - - public static HandleRef getCPtr(AreaOfUse obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - public static HandleRef getCPtrAndDisown(AreaOfUse obj, object parent) { - if (obj != null) - { - obj.swigCMemOwn = false; - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - public static HandleRef getCPtrAndSetReference(AreaOfUse obj, object parent) { - if (obj != null) - { - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - - ~AreaOfUse() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsrPINVOKE.delete_AreaOfUse(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public double west_lon_degree { - get { - double ret = OsrPINVOKE.AreaOfUse_west_lon_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double south_lat_degree { - get { - double ret = OsrPINVOKE.AreaOfUse_south_lat_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double east_lon_degree { - get { - double ret = OsrPINVOKE.AreaOfUse_east_lon_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double north_lat_degree { - get { - double ret = OsrPINVOKE.AreaOfUse_north_lat_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string name { - get { - string ret = OsrPINVOKE.AreaOfUse_name_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public AreaOfUse(double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, string name) : this(OsrPINVOKE.new_AreaOfUse(west_lon_degree, south_lat_degree, east_lon_degree, north_lat_degree, name), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - -} - -} diff --git a/Runtime/Scripts/ogr/AreaOfUse.cs.meta b/Runtime/Scripts/ogr/AreaOfUse.cs.meta deleted file mode 100644 index 00ad919..0000000 --- a/Runtime/Scripts/ogr/AreaOfUse.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cb3df8f7e5daf47baaf1d2d616e274c5 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/AxisMappingStrategy.cs.meta b/Runtime/Scripts/ogr/AxisMappingStrategy.cs.meta deleted file mode 100644 index ff788a5..0000000 --- a/Runtime/Scripts/ogr/AxisMappingStrategy.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 102a23790d86d47d68653ffba3070569 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/AxisOrientation.cs.meta b/Runtime/Scripts/ogr/AxisOrientation.cs.meta deleted file mode 100644 index a1547c5..0000000 --- a/Runtime/Scripts/ogr/AxisOrientation.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 6ec0b2f3a5460485b8d450c5fb886e0d -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/CRSInfo.cs b/Runtime/Scripts/ogr/CRSInfo.cs deleted file mode 100644 index 71c607b..0000000 --- a/Runtime/Scripts/ogr/CRSInfo.cs +++ /dev/null @@ -1,176 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class CRSInfo : global::System.IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - protected object swigParentRef; - - protected static object ThisOwn_true() { return null; } - protected object ThisOwn_false() { return this; } - - public CRSInfo(IntPtr cPtr, bool cMemoryOwn, object parent) { - swigCMemOwn = cMemoryOwn; - swigParentRef = parent; - swigCPtr = new HandleRef(this, cPtr); - } - - public static HandleRef getCPtr(CRSInfo obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - public static HandleRef getCPtrAndDisown(CRSInfo obj, object parent) { - if (obj != null) - { - obj.swigCMemOwn = false; - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - public static HandleRef getCPtrAndSetReference(CRSInfo obj, object parent) { - if (obj != null) - { - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - - ~CRSInfo() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsrPINVOKE.delete_CRSInfo(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public string auth_name { - get { - string ret = OsrPINVOKE.CRSInfo_auth_name_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string code { - get { - string ret = OsrPINVOKE.CRSInfo_code_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string name { - get { - string ret = OsrPINVOKE.CRSInfo_name_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public CRSType type { - get { - CRSType ret = (CRSType)OsrPINVOKE.CRSInfo_type_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public bool deprecated { - get { - bool ret = OsrPINVOKE.CRSInfo_deprecated_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public bool bbox_valid { - get { - bool ret = OsrPINVOKE.CRSInfo_bbox_valid_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double west_lon_degree { - get { - double ret = OsrPINVOKE.CRSInfo_west_lon_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double south_lat_degree { - get { - double ret = OsrPINVOKE.CRSInfo_south_lat_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double east_lon_degree { - get { - double ret = OsrPINVOKE.CRSInfo_east_lon_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public double north_lat_degree { - get { - double ret = OsrPINVOKE.CRSInfo_north_lat_degree_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string area_name { - get { - string ret = OsrPINVOKE.CRSInfo_area_name_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public string projection_method { - get { - string ret = OsrPINVOKE.CRSInfo_projection_method_get(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - } - - public CRSInfo(string auth_name, string code, string name, CRSType type, bool deprecated, bool bbox_valid, double west_lon_degree, double south_lat_degree, double east_lon_degree, double north_lat_degree, string area_name, string projection_method) : this(OsrPINVOKE.new_CRSInfo(auth_name, code, name, (int)type, deprecated, bbox_valid, west_lon_degree, south_lat_degree, east_lon_degree, north_lat_degree, area_name, projection_method), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - -} - -} diff --git a/Runtime/Scripts/ogr/CRSInfo.cs.meta b/Runtime/Scripts/ogr/CRSInfo.cs.meta deleted file mode 100644 index ec604ba..0000000 --- a/Runtime/Scripts/ogr/CRSInfo.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 79c384c9f23d14dbfa375f398b9c87d0 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/CRSInfoList.cs.meta b/Runtime/Scripts/ogr/CRSInfoList.cs.meta deleted file mode 100644 index a2a38c4..0000000 --- a/Runtime/Scripts/ogr/CRSInfoList.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 588a83d4dc00a41c0a3f74b5e56388e1 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/CRSType.cs b/Runtime/Scripts/ogr/CRSType.cs deleted file mode 100644 index 5e407e4..0000000 --- a/Runtime/Scripts/ogr/CRSType.cs +++ /dev/null @@ -1,23 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -public enum CRSType { - OSR_CRS_TYPE_GEOGRAPHIC_2D = 0, - OSR_CRS_TYPE_GEOGRAPHIC_3D = 1, - OSR_CRS_TYPE_GEOCENTRIC = 2, - OSR_CRS_TYPE_PROJECTED = 3, - OSR_CRS_TYPE_VERTICAL = 4, - OSR_CRS_TYPE_COMPOUND = 5, - OSR_CRS_TYPE_OTHER = 6 -} - -} diff --git a/Runtime/Scripts/ogr/CRSType.cs.meta b/Runtime/Scripts/ogr/CRSType.cs.meta deleted file mode 100644 index 3b74278..0000000 --- a/Runtime/Scripts/ogr/CRSType.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 59120d9e9eeca43ff8280db3b7f6f476 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/CoordinateTransformation.cs b/Runtime/Scripts/ogr/CoordinateTransformation.cs deleted file mode 100644 index a1408d9..0000000 --- a/Runtime/Scripts/ogr/CoordinateTransformation.cs +++ /dev/null @@ -1,115 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class CoordinateTransformation : global::System.IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - protected object swigParentRef; - - protected static object ThisOwn_true() { return null; } - protected object ThisOwn_false() { return this; } - - public CoordinateTransformation(IntPtr cPtr, bool cMemoryOwn, object parent) { - swigCMemOwn = cMemoryOwn; - swigParentRef = parent; - swigCPtr = new HandleRef(this, cPtr); - } - - public static HandleRef getCPtr(CoordinateTransformation obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - public static HandleRef getCPtrAndDisown(CoordinateTransformation obj, object parent) { - if (obj != null) - { - obj.swigCMemOwn = false; - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - public static HandleRef getCPtrAndSetReference(CoordinateTransformation obj, object parent) { - if (obj != null) - { - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - - ~CoordinateTransformation() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsrPINVOKE.delete_CoordinateTransformation(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public CoordinateTransformation(SpatialReference src, SpatialReference dst) : this(OsrPINVOKE.new_CoordinateTransformation__SWIG_0(SpatialReference.getCPtr(src), SpatialReference.getCPtr(dst)), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public CoordinateTransformation(SpatialReference src, SpatialReference dst, CoordinateTransformationOptions options) : this(OsrPINVOKE.new_CoordinateTransformation__SWIG_1(SpatialReference.getCPtr(src), SpatialReference.getCPtr(dst), CoordinateTransformationOptions.getCPtr(options)), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public void TransformPoint(double[] inout) { - OsrPINVOKE.CoordinateTransformation_TransformPoint__SWIG_0(swigCPtr, inout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public void TransformPoint(double[] argout, double x, double y, double z) { - OsrPINVOKE.CoordinateTransformation_TransformPoint__SWIG_2(swigCPtr, argout, x, y, z); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public void TransformPoint(double[] argout, double x, double y, double z, double t) { - OsrPINVOKE.CoordinateTransformation_TransformPoint__SWIG_3(swigCPtr, argout, x, y, z, t); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public int TransformPointWithErrorCode(double[] argout, double x, double y, double z, double t) { - int ret = OsrPINVOKE.CoordinateTransformation_TransformPointWithErrorCode(swigCPtr, argout, x, y, z, t); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void TransformPoints(int nCount, double[] x, double[] y, double[] z) { - OsrPINVOKE.CoordinateTransformation_TransformPoints(swigCPtr, nCount, x, y, z); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public void TransformBounds(double[] argout, double minx, double miny, double maxx, double maxy, int densify_pts) { - OsrPINVOKE.CoordinateTransformation_TransformBounds(swigCPtr, argout, minx, miny, maxx, maxy, densify_pts); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - -} - -} diff --git a/Runtime/Scripts/ogr/CoordinateTransformation.cs.meta b/Runtime/Scripts/ogr/CoordinateTransformation.cs.meta deleted file mode 100644 index 99da947..0000000 --- a/Runtime/Scripts/ogr/CoordinateTransformation.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: aa7beb9d2e73c4c8682d9bfff513d80e -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs b/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs deleted file mode 100644 index 0184726..0000000 --- a/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs +++ /dev/null @@ -1,104 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class CoordinateTransformationOptions : global::System.IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - protected object swigParentRef; - - protected static object ThisOwn_true() { return null; } - protected object ThisOwn_false() { return this; } - - public CoordinateTransformationOptions(IntPtr cPtr, bool cMemoryOwn, object parent) { - swigCMemOwn = cMemoryOwn; - swigParentRef = parent; - swigCPtr = new HandleRef(this, cPtr); - } - - public static HandleRef getCPtr(CoordinateTransformationOptions obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - public static HandleRef getCPtrAndDisown(CoordinateTransformationOptions obj, object parent) { - if (obj != null) - { - obj.swigCMemOwn = false; - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - public static HandleRef getCPtrAndSetReference(CoordinateTransformationOptions obj, object parent) { - if (obj != null) - { - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - - ~CoordinateTransformationOptions() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsrPINVOKE.delete_CoordinateTransformationOptions(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public CoordinateTransformationOptions() : this(OsrPINVOKE.new_CoordinateTransformationOptions(), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public bool SetAreaOfInterest(double westLongitudeDeg, double southLatitudeDeg, double eastLongitudeDeg, double northLatitudeDeg) { - bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetAreaOfInterest(swigCPtr, westLongitudeDeg, southLatitudeDeg, eastLongitudeDeg, northLatitudeDeg); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool SetOperation(string operation) { - bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetOperation(swigCPtr, operation); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool SetDesiredAccuracy(double accuracy) { - bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetDesiredAccuracy(swigCPtr, accuracy); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool SetBallparkAllowed(bool allowBallpark) { - bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetBallparkAllowed(swigCPtr, allowBallpark); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} - -} diff --git a/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs.meta b/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs.meta deleted file mode 100644 index c72c242..0000000 --- a/Runtime/Scripts/ogr/CoordinateTransformationOptions.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: cf88fed1123dd4033aa6152bb9c9c5fd -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/DataSource.cs b/Runtime/Scripts/ogr/DataSource.cs index 584e8a1..e1dfe5a 100644 --- a/Runtime/Scripts/ogr/DataSource.cs +++ b/Runtime/Scripts/ogr/DataSource.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -79,6 +79,12 @@ public string name { } } + public SWIGTYPE_p_CPLErr Close() { + SWIGTYPE_p_CPLErr ret = new SWIGTYPE_p_CPLErr(OgrPINVOKE.DataSource_Close(swigCPtr), true, null); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int GetRefCount() { int ret = OgrPINVOKE.DataSource_GetRefCount(swigCPtr); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -149,7 +155,7 @@ public Layer GetLayerByIndex(int index) { } public Layer GetLayerByName(string layer_name) { - IntPtr cPtr = OgrPINVOKE.DataSource_GetLayerByName(swigCPtr, layer_name); + IntPtr cPtr = OgrPINVOKE.DataSource_GetLayerByName(swigCPtr, Ogr.StringToUtf8Bytes(layer_name)); Layer ret = (cPtr == IntPtr.Zero) ? null : new Layer(cPtr, false, ThisOwn_false()); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); return ret; diff --git a/Runtime/Scripts/ogr/Driver.cs b/Runtime/Scripts/ogr/Driver.cs index 2e1e75e..ae9fef6 100644 --- a/Runtime/Scripts/ogr/Driver.cs +++ b/Runtime/Scripts/ogr/Driver.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/Envelope.cs b/Runtime/Scripts/ogr/Envelope.cs index 52c45d1..628cfcd 100644 --- a/Runtime/Scripts/ogr/Envelope.cs +++ b/Runtime/Scripts/ogr/Envelope.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/Envelope3D.cs b/Runtime/Scripts/ogr/Envelope3D.cs index 5328775..cf7ff77 100644 --- a/Runtime/Scripts/ogr/Envelope3D.cs +++ b/Runtime/Scripts/ogr/Envelope3D.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/Feature.cs b/Runtime/Scripts/ogr/Feature.cs index f8a02b5..1138ed7 100644 --- a/Runtime/Scripts/ogr/Feature.cs +++ b/Runtime/Scripts/ogr/Feature.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -210,6 +210,18 @@ public string GetFieldAsString(string field_name) { return ret; } + public string GetFieldAsISO8601DateTime(int id, string[] options) { + string ret = OgrPINVOKE.Feature_GetFieldAsISO8601DateTime__SWIG_0(swigCPtr, id, (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string GetFieldAsISO8601DateTime(string field_name, string[] options) { + string ret = OgrPINVOKE.Feature_GetFieldAsISO8601DateTime__SWIG_1(swigCPtr, field_name, (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int GetFieldAsInteger(int id) { int ret = OgrPINVOKE.Feature_GetFieldAsInteger__SWIG_0(swigCPtr, id); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -366,6 +378,12 @@ public void DumpReadable() { if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); } + public string DumpReadableAsString(string[] options) { + string ret = OgrPINVOKE.Feature_DumpReadableAsString(swigCPtr, (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public void UnsetField(int id) { OgrPINVOKE.Feature_UnsetField__SWIG_0(swigCPtr, id); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); diff --git a/Runtime/Scripts/ogr/FeatureDefn.cs b/Runtime/Scripts/ogr/FeatureDefn.cs index 7801276..32c8d33 100644 --- a/Runtime/Scripts/ogr/FeatureDefn.cs +++ b/Runtime/Scripts/ogr/FeatureDefn.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/FieldDefn.cs b/Runtime/Scripts/ogr/FieldDefn.cs index c29b07d..75ff370 100644 --- a/Runtime/Scripts/ogr/FieldDefn.cs +++ b/Runtime/Scripts/ogr/FieldDefn.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -164,6 +164,17 @@ public void SetPrecision(int precision) { if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); } + public int GetTZFlag() { + int ret = OgrPINVOKE.FieldDefn_GetTZFlag(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetTZFlag(int tzflag) { + OgrPINVOKE.FieldDefn_SetTZFlag(swigCPtr, tzflag); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + public string GetTypeName() { string ret = OgrPINVOKE.FieldDefn_GetTypeName(swigCPtr); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -237,6 +248,17 @@ public void SetDomainName(string name) { if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); } + public string GetComment() { + string ret = OgrPINVOKE.FieldDefn_GetComment(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetComment(string comment) { + OgrPINVOKE.FieldDefn_SetComment(swigCPtr, comment); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + } } diff --git a/Runtime/Scripts/ogr/FieldDomain.cs b/Runtime/Scripts/ogr/FieldDomain.cs index f33deca..9d08a79 100644 --- a/Runtime/Scripts/ogr/FieldDomain.cs +++ b/Runtime/Scripts/ogr/FieldDomain.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -129,6 +129,12 @@ public double GetMinAsDouble() { return ret; } + public string GetMinAsString() { + string ret = OgrPINVOKE.FieldDomain_GetMinAsString(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public bool IsMinInclusive() { bool ret = OgrPINVOKE.FieldDomain_IsMinInclusive(swigCPtr); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -141,6 +147,12 @@ public double GetMaxAsDouble() { return ret; } + public string GetMaxAsString() { + string ret = OgrPINVOKE.FieldDomain_GetMaxAsString(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public bool IsMaxInclusive() { bool ret = OgrPINVOKE.FieldDomain_IsMaxInclusive(swigCPtr); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); diff --git a/Runtime/Scripts/ogr/FieldDomainMergePolicy.cs b/Runtime/Scripts/ogr/FieldDomainMergePolicy.cs index c12c570..ea8ae5b 100644 --- a/Runtime/Scripts/ogr/FieldDomainMergePolicy.cs +++ b/Runtime/Scripts/ogr/FieldDomainMergePolicy.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/FieldDomainSplitPolicy.cs b/Runtime/Scripts/ogr/FieldDomainSplitPolicy.cs index 4bceaf5..9030d5e 100644 --- a/Runtime/Scripts/ogr/FieldDomainSplitPolicy.cs +++ b/Runtime/Scripts/ogr/FieldDomainSplitPolicy.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/FieldDomainType.cs b/Runtime/Scripts/ogr/FieldDomainType.cs index 4d8e34a..38335ae 100644 --- a/Runtime/Scripts/ogr/FieldDomainType.cs +++ b/Runtime/Scripts/ogr/FieldDomainType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/FieldSubType.cs b/Runtime/Scripts/ogr/FieldSubType.cs index 0b13629..e9b5723 100644 --- a/Runtime/Scripts/ogr/FieldSubType.cs +++ b/Runtime/Scripts/ogr/FieldSubType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/FieldType.cs b/Runtime/Scripts/ogr/FieldType.cs index 284d9d0..ed1953a 100644 --- a/Runtime/Scripts/ogr/FieldType.cs +++ b/Runtime/Scripts/ogr/FieldType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs b/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs new file mode 100644 index 0000000..7ab14d2 --- /dev/null +++ b/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs @@ -0,0 +1,153 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.OGR { + +using global::System; +using global::System.Runtime.InteropServices; + +public class GeomCoordinatePrecision : global::System.IDisposable { + private HandleRef swigCPtr; + protected bool swigCMemOwn; + protected object swigParentRef; + + protected static object ThisOwn_true() { return null; } + protected object ThisOwn_false() { return this; } + + public GeomCoordinatePrecision(IntPtr cPtr, bool cMemoryOwn, object parent) { + swigCMemOwn = cMemoryOwn; + swigParentRef = parent; + swigCPtr = new HandleRef(this, cPtr); + } + + public static HandleRef getCPtr(GeomCoordinatePrecision obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } + public static HandleRef getCPtrAndDisown(GeomCoordinatePrecision obj, object parent) { + if (obj != null) + { + obj.swigCMemOwn = false; + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + public static HandleRef getCPtrAndSetReference(GeomCoordinatePrecision obj, object parent) { + if (obj != null) + { + obj.swigParentRef = parent; + return obj.swigCPtr; + } + else + { + return new HandleRef(null, IntPtr.Zero); + } + } + + ~GeomCoordinatePrecision() { + Dispose(); + } + + public virtual void Dispose() { + lock(this) { + if (swigCPtr.Handle != global::System.IntPtr.Zero) { + if (swigCMemOwn) { + swigCMemOwn = false; + OgrPINVOKE.delete_GeomCoordinatePrecision(swigCPtr); + } + swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); + } + global::System.GC.SuppressFinalize(this); + } + } + + public void Set(double xyResolution, double zResolution, double mResolution) { + OgrPINVOKE.GeomCoordinatePrecision_Set(swigCPtr, xyResolution, zResolution, mResolution); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + + public void SetFromMeter(OSGeo.OSR.SpatialReference srs, double xyMeterResolution, double zMeterResolution, double mResolution) { + OgrPINVOKE.GeomCoordinatePrecision_SetFromMeter(swigCPtr, OSGeo.OSR.SpatialReference.getCPtr(srs), xyMeterResolution, zMeterResolution, mResolution); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + + public double GetXYResolution() { + double ret = OgrPINVOKE.GeomCoordinatePrecision_GetXYResolution(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double GetZResolution() { + double ret = OgrPINVOKE.GeomCoordinatePrecision_GetZResolution(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public double GetMResolution() { + double ret = OgrPINVOKE.GeomCoordinatePrecision_GetMResolution(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string[] GetFormats() { + /* %typemap(csout) char** CSL */ + IntPtr cPtr = OgrPINVOKE.GeomCoordinatePrecision_GetFormats(swigCPtr); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + if (cPtr != IntPtr.Zero) + OgrPINVOKE.StringListDestroy(cPtr); + + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public string[] GetFormatSpecificOptions(string formatName) { + /* %typemap(csout) char**options */ + IntPtr cPtr = OgrPINVOKE.GeomCoordinatePrecision_GetFormatSpecificOptions(swigCPtr, formatName); + IntPtr objPtr; + int count = 0; + if (cPtr != IntPtr.Zero) { + while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) + ++count; + } + string[] ret = new string[count]; + if (count > 0) { + for(int cx = 0; cx < count; cx++) { + objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); + ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); + } + } + + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; +} + + public void SetFormatSpecificOptions(string formatName, string[] formatSpecificOptions) { + OgrPINVOKE.GeomCoordinatePrecision_SetFormatSpecificOptions(swigCPtr, formatName, (formatSpecificOptions != null)? new OgrPINVOKE.StringListMarshal(formatSpecificOptions)._ar : null); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + +} + +} diff --git a/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs.meta b/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs.meta new file mode 100644 index 0000000..0aa177f --- /dev/null +++ b/Runtime/Scripts/ogr/GeomCoordinatePrecision.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: 19da7766f5de444a3aa9ecc61bb620d0 \ No newline at end of file diff --git a/Runtime/Scripts/ogr/GeomFieldDefn.cs b/Runtime/Scripts/ogr/GeomFieldDefn.cs index 3a3ca10..74f1ccc 100644 --- a/Runtime/Scripts/ogr/GeomFieldDefn.cs +++ b/Runtime/Scripts/ogr/GeomFieldDefn.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -137,6 +137,18 @@ public void SetNullable(int bNullable) { if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); } + public GeomCoordinatePrecision GetCoordinatePrecision() { + IntPtr cPtr = OgrPINVOKE.GeomFieldDefn_GetCoordinatePrecision(swigCPtr); + GeomCoordinatePrecision ret = (cPtr == IntPtr.Zero) ? null : new GeomCoordinatePrecision(cPtr, false, ThisOwn_false()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public void SetCoordinatePrecision(GeomCoordinatePrecision coordPrec) { + OgrPINVOKE.GeomFieldDefn_SetCoordinatePrecision(swigCPtr, GeomCoordinatePrecision.getCPtr(coordPrec)); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + } + } } diff --git a/Runtime/Scripts/ogr/GeomTransformer.cs b/Runtime/Scripts/ogr/GeomTransformer.cs index 290df99..b8ad11b 100644 --- a/Runtime/Scripts/ogr/GeomTransformer.cs +++ b/Runtime/Scripts/ogr/GeomTransformer.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/Geometry.cs b/Runtime/Scripts/ogr/Geometry.cs index e97bed2..4857fcc 100644 --- a/Runtime/Scripts/ogr/Geometry.cs +++ b/Runtime/Scripts/ogr/Geometry.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -226,6 +226,18 @@ public double Area() { return ret; } + public double GeodesicArea() { + double ret = OgrPINVOKE.Geometry_GeodesicArea(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public bool IsClockwise() { + bool ret = OgrPINVOKE.Geometry_IsClockwise(swigCPtr); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public double GetArea() { double ret = OgrPINVOKE.Geometry_GetArea(swigCPtr); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -364,6 +376,13 @@ public Geometry ConvexHull() { return ret; } + public Geometry ConcaveHull(double ratio, bool allowHoles) { + IntPtr cPtr = OgrPINVOKE.Geometry_ConcaveHull(swigCPtr, ratio, allowHoles); + Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public Geometry MakeValid(string[] options) { IntPtr cPtr = OgrPINVOKE.Geometry_MakeValid(swigCPtr, (options != null)? new OgrPINVOKE.StringListMarshal(options)._ar : null); Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); @@ -371,6 +390,13 @@ public Geometry MakeValid(string[] options) { return ret; } + public Geometry SetPrecision(double gridSize, int flags) { + IntPtr cPtr = OgrPINVOKE.Geometry_SetPrecision(swigCPtr, gridSize, flags); + Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public Geometry Normalize() { IntPtr cPtr = OgrPINVOKE.Geometry_Normalize(swigCPtr); Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); @@ -413,6 +439,13 @@ public Geometry UnionCascaded() { return ret; } + public Geometry UnaryUnion() { + IntPtr cPtr = OgrPINVOKE.Geometry_UnaryUnion(swigCPtr); + Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public Geometry Difference(Geometry other) { IntPtr cPtr = OgrPINVOKE.Geometry_Difference(swigCPtr, Geometry.getCPtr(other)); Geometry ret = (cPtr == IntPtr.Zero) ? null : new Geometry(cPtr, true, ThisOwn_true()); diff --git a/Runtime/Scripts/ogr/Justification.cs b/Runtime/Scripts/ogr/Justification.cs index f84146b..3c22695 100644 --- a/Runtime/Scripts/ogr/Justification.cs +++ b/Runtime/Scripts/ogr/Justification.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/Layer.cs b/Runtime/Scripts/ogr/Layer.cs index 268fbd0..eccb307 100644 --- a/Runtime/Scripts/ogr/Layer.cs +++ b/Runtime/Scripts/ogr/Layer.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -177,6 +177,18 @@ public int CreateFeature(Feature feature) { return ret; } + public int UpsertFeature(Feature feature) { + int ret = OgrPINVOKE.Layer_UpsertFeature(swigCPtr, Feature.getCPtr(feature)); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public int UpdateFeature(Feature feature, int nUpdatedFieldsCount, SWIGTYPE_p_int panUpdatedFieldsIdx, int nUpdatedGeomFieldsCount, SWIGTYPE_p_int panUpdatedGeomFieldsIdx, bool bUpdateStyleString) { + int ret = OgrPINVOKE.Layer_UpdateFeature(swigCPtr, Feature.getCPtr(feature), nUpdatedFieldsCount, SWIGTYPE_p_int.getCPtr(panUpdatedFieldsIdx), nUpdatedGeomFieldsCount, SWIGTYPE_p_int.getCPtr(panUpdatedGeomFieldsIdx), bUpdateStyleString); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int DeleteFeature(long fid) { int ret = OgrPINVOKE.Layer_DeleteFeature(swigCPtr, fid); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -191,7 +203,7 @@ public int SyncToDisk() { public FeatureDefn GetLayerDefn() { IntPtr cPtr = OgrPINVOKE.Layer_GetLayerDefn(swigCPtr); - FeatureDefn ret = (cPtr == IntPtr.Zero) ? null : new FeatureDefn(cPtr, false, ThisOwn_false()); + FeatureDefn ret = (cPtr == IntPtr.Zero) ? null : new FeatureDefn(cPtr, true, ThisOwn_true()); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -244,6 +256,12 @@ public int AlterFieldDefn(int iField, FieldDefn field_def, int nFlags) { return ret; } + public int AlterGeomFieldDefn(int iGeomField, GeomFieldDefn field_def, int nFlags) { + int ret = OgrPINVOKE.Layer_AlterGeomFieldDefn(swigCPtr, iGeomField, GeomFieldDefn.getCPtr(field_def), nFlags); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int CreateGeomField(GeomFieldDefn field_def, int approx_ok) { int ret = OgrPINVOKE.Layer_CreateGeomField(swigCPtr, GeomFieldDefn.getCPtr(field_def), approx_ok); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -347,6 +365,12 @@ public void SetStyleTable(StyleTable table) { if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); } + public int SetActiveSRS(int geom_field, OSGeo.OSR.SpatialReference srs) { + int ret = OgrPINVOKE.Layer_SetActiveSRS(swigCPtr, geom_field, OSGeo.OSR.SpatialReference.getCPtr(srs)); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/ogr/Ogr.cs b/Runtime/Scripts/ogr/Ogr.cs index 5374dfa..49c3c3b 100644 --- a/Runtime/Scripts/ogr/Ogr.cs +++ b/Runtime/Scripts/ogr/Ogr.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -178,6 +178,13 @@ public static FieldDomain CreateRangeFieldDomain(string name, string description return ret; } + public static FieldDomain CreateRangeFieldDomainDateTime(string name, string description, string min, bool minIsInclusive, string max, double maxIsInclusive) { + IntPtr cPtr = OgrPINVOKE.CreateRangeFieldDomainDateTime(name, description, min, minIsInclusive, max, maxIsInclusive); + FieldDomain ret = (cPtr == IntPtr.Zero) ? null : new FieldDomain(cPtr, false, ThisOwn_false()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static FieldDomain CreateGlobFieldDomain(string name, string description, FieldType type, FieldSubType subtype, string glob) { IntPtr cPtr = OgrPINVOKE.CreateGlobFieldDomain(name, description, (int)type, (int)subtype, glob); FieldDomain ret = (cPtr == IntPtr.Zero) ? null : new FieldDomain(cPtr, true, ThisOwn_true()); @@ -185,6 +192,13 @@ public static FieldDomain CreateGlobFieldDomain(string name, string description, return ret; } + public static GeomCoordinatePrecision CreateGeomCoordinatePrecision() { + IntPtr cPtr = OgrPINVOKE.CreateGeomCoordinatePrecision(); + GeomCoordinatePrecision ret = (cPtr == IntPtr.Zero) ? null : new GeomCoordinatePrecision(cPtr, true, ThisOwn_true()); + if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public static int GetDriverCount() { int ret = OgrPINVOKE.GetDriverCount(); if (OgrPINVOKE.SWIGPendingException.Pending) throw OgrPINVOKE.SWIGPendingException.Retrieve(); @@ -381,18 +395,25 @@ public static string[] GeneralCmdLineProcessor(string[] papszArgv, int nOptions) public static readonly string OLCFastSpatialFilter = OgrPINVOKE.OLCFastSpatialFilter_get(); public static readonly string OLCFastFeatureCount = OgrPINVOKE.OLCFastFeatureCount_get(); public static readonly string OLCFastGetExtent = OgrPINVOKE.OLCFastGetExtent_get(); + public static readonly string OLCFastGetExtent3D = OgrPINVOKE.OLCFastGetExtent3D_get(); public static readonly string OLCCreateField = OgrPINVOKE.OLCCreateField_get(); public static readonly string OLCDeleteField = OgrPINVOKE.OLCDeleteField_get(); public static readonly string OLCReorderFields = OgrPINVOKE.OLCReorderFields_get(); public static readonly string OLCAlterFieldDefn = OgrPINVOKE.OLCAlterFieldDefn_get(); + public static readonly string OLCAlterGeomFieldDefn = OgrPINVOKE.OLCAlterGeomFieldDefn_get(); public static readonly string OLCTransactions = OgrPINVOKE.OLCTransactions_get(); public static readonly string OLCDeleteFeature = OgrPINVOKE.OLCDeleteFeature_get(); + public static readonly string OLCUpsertFeature = OgrPINVOKE.OLCUpsertFeature_get(); + public static readonly string OLCUpdateFeature = OgrPINVOKE.OLCUpdateFeature_get(); public static readonly string OLCFastSetNextByIndex = OgrPINVOKE.OLCFastSetNextByIndex_get(); public static readonly string OLCStringsAsUTF8 = OgrPINVOKE.OLCStringsAsUTF8_get(); public static readonly string OLCCreateGeomField = OgrPINVOKE.OLCCreateGeomField_get(); public static readonly string OLCCurveGeometries = OgrPINVOKE.OLCCurveGeometries_get(); public static readonly string OLCMeasuredGeometries = OgrPINVOKE.OLCMeasuredGeometries_get(); + public static readonly string OLCZGeometries = OgrPINVOKE.OLCZGeometries_get(); public static readonly string OLCRename = OgrPINVOKE.OLCRename_get(); + public static readonly string OLCFastGetArrowStream = OgrPINVOKE.OLCFastGetArrowStream_get(); + public static readonly string OLCFastWriteArrowBatch = OgrPINVOKE.OLCFastWriteArrowBatch_get(); public static readonly string ODsCCreateLayer = OgrPINVOKE.ODsCCreateLayer_get(); public static readonly string ODsCDeleteLayer = OgrPINVOKE.ODsCDeleteLayer_get(); public static readonly string ODsCCreateGeomFieldAfterCreateLayer = OgrPINVOKE.ODsCCreateGeomFieldAfterCreateLayer_get(); @@ -400,11 +421,14 @@ public static string[] GeneralCmdLineProcessor(string[] papszArgv, int nOptions) public static readonly string ODsCTransactions = OgrPINVOKE.ODsCTransactions_get(); public static readonly string ODsCEmulatedTransactions = OgrPINVOKE.ODsCEmulatedTransactions_get(); public static readonly string ODsCMeasuredGeometries = OgrPINVOKE.ODsCMeasuredGeometries_get(); + public static readonly string ODsCZGeometries = OgrPINVOKE.ODsCZGeometries_get(); public static readonly string ODsCRandomLayerRead = OgrPINVOKE.ODsCRandomLayerRead_get(); public static readonly string ODsCRandomLayerWrite = OgrPINVOKE.ODsCRandomLayerWrite_get(); public static readonly string ODrCCreateDataSource = OgrPINVOKE.ODrCCreateDataSource_get(); public static readonly string ODrCDeleteDataSource = OgrPINVOKE.ODrCDeleteDataSource_get(); public static readonly string OLMD_FID64 = OgrPINVOKE.OLMD_FID64_get(); + public static readonly int GEOS_PREC_NO_TOPO = OgrPINVOKE.GEOS_PREC_NO_TOPO_get(); + public static readonly int GEOS_PREC_KEEP_COLLAPSED = OgrPINVOKE.GEOS_PREC_KEEP_COLLAPSED_get(); public static readonly int OGRERR_NONE = OgrPINVOKE.OGRERR_NONE_get(); public static readonly int OGRERR_NOT_ENOUGH_DATA = OgrPINVOKE.OGRERR_NOT_ENOUGH_DATA_get(); public static readonly int OGRERR_NOT_ENOUGH_MEMORY = OgrPINVOKE.OGRERR_NOT_ENOUGH_MEMORY_get(); diff --git a/Runtime/Scripts/ogr/OgrPINVOKE.cs b/Runtime/Scripts/ogr/OgrPINVOKE.cs index d51be54..fa405c8 100644 --- a/Runtime/Scripts/ogr/OgrPINVOKE.cs +++ b/Runtime/Scripts/ogr/OgrPINVOKE.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -258,6 +258,9 @@ static OgrPINVOKE() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCFastGetExtent_get___")] public static extern string OLCFastGetExtent_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCFastGetExtent3D_get___")] + public static extern string OLCFastGetExtent3D_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCCreateField_get___")] public static extern string OLCCreateField_get(); @@ -270,12 +273,21 @@ static OgrPINVOKE() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCAlterFieldDefn_get___")] public static extern string OLCAlterFieldDefn_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCAlterGeomFieldDefn_get___")] + public static extern string OLCAlterGeomFieldDefn_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCTransactions_get___")] public static extern string OLCTransactions_get(); [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCDeleteFeature_get___")] public static extern string OLCDeleteFeature_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCUpsertFeature_get___")] + public static extern string OLCUpsertFeature_get(); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCUpdateFeature_get___")] + public static extern string OLCUpdateFeature_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCFastSetNextByIndex_get___")] public static extern string OLCFastSetNextByIndex_get(); @@ -291,9 +303,18 @@ static OgrPINVOKE() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCMeasuredGeometries_get___")] public static extern string OLCMeasuredGeometries_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCZGeometries_get___")] + public static extern string OLCZGeometries_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCRename_get___")] public static extern string OLCRename_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCFastGetArrowStream_get___")] + public static extern string OLCFastGetArrowStream_get(); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLCFastWriteArrowBatch_get___")] + public static extern string OLCFastWriteArrowBatch_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_ODsCCreateLayer_get___")] public static extern string ODsCCreateLayer_get(); @@ -315,6 +336,9 @@ static OgrPINVOKE() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_ODsCMeasuredGeometries_get___")] public static extern string ODsCMeasuredGeometries_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_ODsCZGeometries_get___")] + public static extern string ODsCZGeometries_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_ODsCRandomLayerRead_get___")] public static extern string ODsCRandomLayerRead_get(); @@ -330,6 +354,12 @@ static OgrPINVOKE() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OLMD_FID64_get___")] public static extern string OLMD_FID64_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GEOS_PREC_NO_TOPO_get___")] + public static extern int GEOS_PREC_NO_TOPO_get(); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GEOS_PREC_KEEP_COLLAPSED_get___")] + public static extern int GEOS_PREC_KEEP_COLLAPSED_get(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_OGRERR_NONE_get___")] public static extern int OGRERR_NONE_get(); @@ -528,6 +558,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_DataSource___")] public static extern void delete_DataSource(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_DataSource_Close___")] + public static extern global::System.IntPtr DataSource_Close(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_DataSource_GetRefCount___")] public static extern int DataSource_GetRefCount(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -562,7 +595,7 @@ public virtual void Dispose() { public static extern global::System.IntPtr DataSource_GetLayerByIndex(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_DataSource_GetLayerByName___")] - public static extern global::System.IntPtr DataSource_GetLayerByName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + public static extern global::System.IntPtr DataSource_GetLayerByName(global::System.Runtime.InteropServices.HandleRef jarg1, byte[] jarg2); [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_DataSource_TestCapability___")] public static extern bool DataSource_TestCapability(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); @@ -645,6 +678,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_CreateFeature___")] public static extern int Layer_CreateFeature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_UpsertFeature___")] + public static extern int Layer_UpsertFeature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_UpdateFeature___")] + public static extern int Layer_UpdateFeature(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, int jarg5, global::System.Runtime.InteropServices.HandleRef jarg6, bool jarg7); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_DeleteFeature___")] public static extern int Layer_DeleteFeature(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2); @@ -678,6 +717,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_AlterFieldDefn___")] public static extern int Layer_AlterFieldDefn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_AlterGeomFieldDefn___")] + public static extern int Layer_AlterGeomFieldDefn(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, int jarg4); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_CreateGeomField___")] public static extern int Layer_CreateGeomField(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, int jarg3); @@ -729,6 +771,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_SetStyleTable___")] public static extern void Layer_SetStyleTable(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Layer_SetActiveSRS___")] + public static extern int Layer_SetActiveSRS(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_Feature___")] public static extern void delete_Feature(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -795,6 +840,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_GetFieldAsString__SWIG_1___")] public static extern IntPtr Feature_GetFieldAsString__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_GetFieldAsISO8601DateTime__SWIG_0___")] + public static extern string Feature_GetFieldAsISO8601DateTime__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, IntPtr[] jarg3); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_GetFieldAsISO8601DateTime__SWIG_1___")] + public static extern string Feature_GetFieldAsISO8601DateTime__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_GetFieldAsInteger__SWIG_0___")] public static extern int Feature_GetFieldAsInteger__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -861,6 +912,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_DumpReadable___")] public static extern void Feature_DumpReadable(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_DumpReadableAsString___")] + public static extern string Feature_DumpReadableAsString(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Feature_UnsetField__SWIG_0___")] public static extern void Feature_UnsetField__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); @@ -1065,6 +1119,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_SetPrecision___")] public static extern void FieldDefn_SetPrecision(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_GetTZFlag___")] + public static extern int FieldDefn_GetTZFlag(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_SetTZFlag___")] + public static extern void FieldDefn_SetTZFlag(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_GetTypeName___")] public static extern string FieldDefn_GetTypeName(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1104,6 +1164,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_SetDomainName___")] public static extern void FieldDefn_SetDomainName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_GetComment___")] + public static extern string FieldDefn_GetComment(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDefn_SetComment___")] + public static extern void FieldDefn_SetComment(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_GeomFieldDefn___")] public static extern void delete_GeomFieldDefn(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1143,6 +1209,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomFieldDefn_SetNullable___")] public static extern void GeomFieldDefn_SetNullable(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomFieldDefn_GetCoordinatePrecision___")] + public static extern global::System.IntPtr GeomFieldDefn_GetCoordinatePrecision(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomFieldDefn_SetCoordinatePrecision___")] + public static extern void GeomFieldDefn_SetCoordinatePrecision(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateGeometryFromWkb___")] public static extern global::System.IntPtr CreateGeometryFromWkb(uint jarg1, IntPtr jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); @@ -1242,6 +1314,12 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_Area___")] public static extern double Geometry_Area(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_GeodesicArea___")] + public static extern double Geometry_GeodesicArea(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_IsClockwise___")] + public static extern bool Geometry_IsClockwise(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_GetArea___")] public static extern double Geometry_GetArea(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1311,9 +1389,15 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_ConvexHull___")] public static extern global::System.IntPtr Geometry_ConvexHull(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_ConcaveHull___")] + public static extern global::System.IntPtr Geometry_ConcaveHull(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, bool jarg3); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_MakeValid___")] public static extern global::System.IntPtr Geometry_MakeValid(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_SetPrecision___")] + public static extern global::System.IntPtr Geometry_SetPrecision(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, int jarg3); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_Normalize___")] public static extern global::System.IntPtr Geometry_Normalize(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1332,6 +1416,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_UnionCascaded___")] public static extern global::System.IntPtr Geometry_UnionCascaded(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_UnaryUnion___")] + public static extern global::System.IntPtr Geometry_UnaryUnion(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_Geometry_Difference___")] public static extern global::System.IntPtr Geometry_Difference(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -1524,12 +1611,18 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_GetMinAsDouble___")] public static extern double FieldDomain_GetMinAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_GetMinAsString___")] + public static extern string FieldDomain_GetMinAsString(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_IsMinInclusive___")] public static extern bool FieldDomain_IsMinInclusive(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_GetMaxAsDouble___")] public static extern double FieldDomain_GetMaxAsDouble(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_GetMaxAsString___")] + public static extern string FieldDomain_GetMaxAsString(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_FieldDomain_IsMaxInclusive___")] public static extern bool FieldDomain_IsMaxInclusive(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -1539,9 +1632,42 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateRangeFieldDomain___")] public static extern global::System.IntPtr CreateRangeFieldDomain(string jarg1, string jarg2, int jarg3, int jarg4, double jarg5, bool jarg6, double jarg7, double jarg8); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateRangeFieldDomainDateTime___")] + public static extern global::System.IntPtr CreateRangeFieldDomainDateTime(string jarg1, string jarg2, string jarg3, bool jarg4, string jarg5, double jarg6); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateGlobFieldDomain___")] public static extern global::System.IntPtr CreateGlobFieldDomain(string jarg1, string jarg2, int jarg3, int jarg4, string jarg5); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_GeomCoordinatePrecision___")] + public static extern void delete_GeomCoordinatePrecision(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_Set___")] + public static extern void GeomCoordinatePrecision_Set(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_SetFromMeter___")] + public static extern void GeomCoordinatePrecision_SetFromMeter(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, double jarg3, double jarg4, double jarg5); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_GetXYResolution___")] + public static extern double GeomCoordinatePrecision_GetXYResolution(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_GetZResolution___")] + public static extern double GeomCoordinatePrecision_GetZResolution(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_GetMResolution___")] + public static extern double GeomCoordinatePrecision_GetMResolution(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_GetFormats___")] + public static extern IntPtr GeomCoordinatePrecision_GetFormats(global::System.Runtime.InteropServices.HandleRef jarg1); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_GetFormatSpecificOptions___")] + public static extern IntPtr GeomCoordinatePrecision_GetFormatSpecificOptions(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GeomCoordinatePrecision_SetFormatSpecificOptions___")] + public static extern void GeomCoordinatePrecision_SetFormatSpecificOptions(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); + + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateGeomCoordinatePrecision___")] + public static extern global::System.IntPtr CreateGeomCoordinatePrecision(); + [global::System.Runtime.InteropServices.DllImport("ogr_wrap", EntryPoint="CSharp_OSGeofOGR_GetDriverCount___")] public static extern int GetDriverCount(); diff --git a/Runtime/Scripts/ogr/Osr.cs b/Runtime/Scripts/ogr/Osr.cs deleted file mode 100644 index 80095a3..0000000 --- a/Runtime/Scripts/ogr/Osr.cs +++ /dev/null @@ -1,456 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class Osr { - - internal class OsrObject : IDisposable { - public virtual void Dispose() { - - } - } - internal static OsrObject theOsrObject = new OsrObject(); - protected static object ThisOwn_true() { return null; } - protected static object ThisOwn_false() { return theOsrObject; } - - public static void UseExceptions() { - OsrPINVOKE.UseExceptions(); - } - - public static void DontUseExceptions() { - OsrPINVOKE.DontUseExceptions(); - } - - - internal static byte[] StringToUtf8Bytes(string str) - { - if (str == null) - return null; - - int bytecount = System.Text.Encoding.UTF8.GetMaxByteCount(str.Length); - byte[] bytes = new byte[bytecount + 1]; - System.Text.Encoding.UTF8.GetBytes(str, 0, str.Length, bytes, 0); - return bytes; - } - - internal unsafe static string Utf8BytesToString(IntPtr pNativeData) - { - if (pNativeData == IntPtr.Zero) - return null; - - byte* pStringUtf8 = (byte*) pNativeData; - int len = 0; - while (pStringUtf8[len] != 0) len++; - return System.Text.Encoding.UTF8.GetString(pStringUtf8, len); - } - - internal static void StringListDestroy(IntPtr buffer_ptr) { - OsrPINVOKE.StringListDestroy(buffer_ptr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - -public delegate void GDALErrorHandlerDelegate(int eclass, int code, IntPtr msg); -public delegate int GDALProgressFuncDelegate(double Complete, IntPtr Message, IntPtr Data); - public static CRSInfoList GetCRSInfoListFromDatabase(string authName, out int pnListCount) { - IntPtr cPtr = OsrPINVOKE.GetCRSInfoListFromDatabase(authName, out pnListCount); - CRSInfoList ret = (cPtr == IntPtr.Zero) ? null : new CRSInfoList(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int GetWellKnownGeogCSAsWKT(string name, out string argout) { - int ret = OsrPINVOKE.GetWellKnownGeogCSAsWKT(name, out argout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int GetUserInputAsWKT(string name, out string argout) { - int ret = OsrPINVOKE.GetUserInputAsWKT(name, out argout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRAreaOfUse_west_lon_degree_get(AreaOfUse area) { - double ret = OsrPINVOKE.OSRAreaOfUse_west_lon_degree_get(AreaOfUse.getCPtr(area)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRAreaOfUse_south_lat_degree_get(AreaOfUse area) { - double ret = OsrPINVOKE.OSRAreaOfUse_south_lat_degree_get(AreaOfUse.getCPtr(area)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRAreaOfUse_east_lon_degree_get(AreaOfUse area) { - double ret = OsrPINVOKE.OSRAreaOfUse_east_lon_degree_get(AreaOfUse.getCPtr(area)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRAreaOfUse_north_lat_degree_get(AreaOfUse area) { - double ret = OsrPINVOKE.OSRAreaOfUse_north_lat_degree_get(AreaOfUse.getCPtr(area)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRAreaOfUse_name_get(AreaOfUse area) { - string ret = OsrPINVOKE.OSRAreaOfUse_name_get(AreaOfUse.getCPtr(area)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static CoordinateTransformation CreateCoordinateTransformation(SpatialReference src, SpatialReference dst, CoordinateTransformationOptions options) { - IntPtr cPtr = OsrPINVOKE.CreateCoordinateTransformation(SpatialReference.getCPtr(src), SpatialReference.getCPtr(dst), CoordinateTransformationOptions.getCPtr(options)); - CoordinateTransformation ret = (cPtr == IntPtr.Zero) ? null : new CoordinateTransformation(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRCRSInfo_auth_name_get(CRSInfo crsInfo) { - string ret = OsrPINVOKE.OSRCRSInfo_auth_name_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRCRSInfo_code_get(CRSInfo crsInfo) { - string ret = OsrPINVOKE.OSRCRSInfo_code_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRCRSInfo_name_get(CRSInfo crsInfo) { - string ret = OsrPINVOKE.OSRCRSInfo_name_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static CRSType OSRCRSInfo_type_get(CRSInfo crsInfo) { - CRSType ret = (CRSType)OsrPINVOKE.OSRCRSInfo_type_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static bool OSRCRSInfo_deprecated_get(CRSInfo crsInfo) { - bool ret = OsrPINVOKE.OSRCRSInfo_deprecated_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static bool OSRCRSInfo_bbox_valid_get(CRSInfo crsInfo) { - bool ret = OsrPINVOKE.OSRCRSInfo_bbox_valid_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRCRSInfo_west_lon_degree_get(CRSInfo crsInfo) { - double ret = OsrPINVOKE.OSRCRSInfo_west_lon_degree_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRCRSInfo_south_lat_degree_get(CRSInfo crsInfo) { - double ret = OsrPINVOKE.OSRCRSInfo_south_lat_degree_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRCRSInfo_east_lon_degree_get(CRSInfo crsInfo) { - double ret = OsrPINVOKE.OSRCRSInfo_east_lon_degree_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static double OSRCRSInfo_north_lat_degree_get(CRSInfo crsInfo) { - double ret = OsrPINVOKE.OSRCRSInfo_north_lat_degree_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRCRSInfo_area_name_get(CRSInfo crsInfo) { - string ret = OsrPINVOKE.OSRCRSInfo_area_name_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static string OSRCRSInfo_projection_method_get(CRSInfo crsInfo) { - string ret = OsrPINVOKE.OSRCRSInfo_projection_method_get(CRSInfo.getCPtr(crsInfo)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void SetPROJSearchPath(string utf8_path) { - OsrPINVOKE.SetPROJSearchPath(Osr.StringToUtf8Bytes(utf8_path)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public static void SetPROJSearchPaths(string[] paths) { - OsrPINVOKE.SetPROJSearchPaths((paths != null)? new OsrPINVOKE.StringListMarshal(paths)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public static string[] GetPROJSearchPaths() { - /* %typemap(csout) char** CSL */ - IntPtr cPtr = OsrPINVOKE.GetPROJSearchPaths(); - IntPtr objPtr; - int count = 0; - if (cPtr != IntPtr.Zero) { - while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) - ++count; - } - string[] ret = new string[count]; - if (count > 0) { - for(int cx = 0; cx < count; cx++) { - objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); - ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); - } - } - if (cPtr != IntPtr.Zero) - OsrPINVOKE.StringListDestroy(cPtr); - - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; -} - - public static int GetPROJVersionMajor() { - int ret = OsrPINVOKE.GetPROJVersionMajor(); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int GetPROJVersionMinor() { - int ret = OsrPINVOKE.GetPROJVersionMinor(); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static int GetPROJVersionMicro() { - int ret = OsrPINVOKE.GetPROJVersionMicro(); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static bool GetPROJEnableNetwork() { - bool ret = OsrPINVOKE.GetPROJEnableNetwork(); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public static void SetPROJEnableNetwork(bool enabled) { - OsrPINVOKE.SetPROJEnableNetwork(enabled); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public static void SetPROJAuxDbPath(string utf8_path) { - OsrPINVOKE.SetPROJAuxDbPath(Osr.StringToUtf8Bytes(utf8_path)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public static void SetPROJAuxDbPaths(string[] paths) { - OsrPINVOKE.SetPROJAuxDbPaths((paths != null)? new OsrPINVOKE.StringListMarshal(paths)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public static string[] GetPROJAuxDbPaths() { - /* %typemap(csout) char** CSL */ - IntPtr cPtr = OsrPINVOKE.GetPROJAuxDbPaths(); - IntPtr objPtr; - int count = 0; - if (cPtr != IntPtr.Zero) { - while (Marshal.ReadIntPtr(cPtr, count*IntPtr.Size) != IntPtr.Zero) - ++count; - } - string[] ret = new string[count]; - if (count > 0) { - for(int cx = 0; cx < count; cx++) { - objPtr = System.Runtime.InteropServices.Marshal.ReadIntPtr(cPtr, cx * System.Runtime.InteropServices.Marshal.SizeOf(typeof(IntPtr))); - ret[cx]= (objPtr == IntPtr.Zero) ? null : System.Runtime.InteropServices.Marshal.PtrToStringAnsi(objPtr); - } - } - if (cPtr != IntPtr.Zero) - OsrPINVOKE.StringListDestroy(cPtr); - - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; -} - - public const string SRS_WKT_WGS84_LAT_LONG = "GEOGCS[\"WGS 84\",DATUM[\"WGS_1984\",SPHEROID[\"WGS 84\",6378137,298.257223563,AUTHORITY[\"EPSG\",\"7030\"]],AUTHORITY[\"EPSG\",\"6326\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.0174532925199433,AUTHORITY[\"EPSG\",\"9122\"]],AXIS[\"Latitude\",NORTH],AXIS[\"Longitude\",EAST],AUTHORITY[\"EPSG\",\"4326\"]]"; - public const string SRS_PT_ALBERS_CONIC_EQUAL_AREA = "Albers_Conic_Equal_Area"; - public const string SRS_PT_AZIMUTHAL_EQUIDISTANT = "Azimuthal_Equidistant"; - public const string SRS_PT_CASSINI_SOLDNER = "Cassini_Soldner"; - public const string SRS_PT_CYLINDRICAL_EQUAL_AREA = "Cylindrical_Equal_Area"; - public const string SRS_PT_BONNE = "Bonne"; - public const string SRS_PT_ECKERT_I = "Eckert_I"; - public const string SRS_PT_ECKERT_II = "Eckert_II"; - public const string SRS_PT_ECKERT_III = "Eckert_III"; - public const string SRS_PT_ECKERT_IV = "Eckert_IV"; - public const string SRS_PT_ECKERT_V = "Eckert_V"; - public const string SRS_PT_ECKERT_VI = "Eckert_VI"; - public const string SRS_PT_EQUIDISTANT_CONIC = "Equidistant_Conic"; - public const string SRS_PT_EQUIRECTANGULAR = "Equirectangular"; - public const string SRS_PT_GALL_STEREOGRAPHIC = "Gall_Stereographic"; - public const string SRS_PT_GAUSSSCHREIBERTMERCATOR = "Gauss_Schreiber_Transverse_Mercator"; - public const string SRS_PT_GEOSTATIONARY_SATELLITE = "Geostationary_Satellite"; - public const string SRS_PT_GOODE_HOMOLOSINE = "Goode_Homolosine"; - public const string SRS_PT_IGH = "Interrupted_Goode_Homolosine"; - public const string SRS_PT_GNOMONIC = "Gnomonic"; - public const string SRS_PT_HOTINE_OBLIQUE_MERCATOR_AZIMUTH_CENTER = "Hotine_Oblique_Mercator_Azimuth_Center"; - public const string SRS_PT_HOTINE_OBLIQUE_MERCATOR = "Hotine_Oblique_Mercator"; - public const string SRS_PT_HOTINE_OBLIQUE_MERCATOR_TWO_POINT_NATURAL_ORIGIN = "Hotine_Oblique_Mercator_Two_Point_Natural_Origin"; - public const string SRS_PT_LABORDE_OBLIQUE_MERCATOR = "Laborde_Oblique_Mercator"; - public const string SRS_PT_LAMBERT_CONFORMAL_CONIC_1SP = "Lambert_Conformal_Conic_1SP"; - public const string SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP = "Lambert_Conformal_Conic_2SP"; - public const string SRS_PT_LAMBERT_CONFORMAL_CONIC_2SP_BELGIUM = "Lambert_Conformal_Conic_2SP_Belgium"; - public const string SRS_PT_LAMBERT_AZIMUTHAL_EQUAL_AREA = "Lambert_Azimuthal_Equal_Area"; - public const string SRS_PT_MERCATOR_1SP = "Mercator_1SP"; - public const string SRS_PT_MERCATOR_2SP = "Mercator_2SP"; - public const string SRS_PT_MERCATOR_AUXILIARY_SPHERE = "Mercator_Auxiliary_Sphere"; - public const string SRS_PT_MILLER_CYLINDRICAL = "Miller_Cylindrical"; - public const string SRS_PT_MOLLWEIDE = "Mollweide"; - public const string SRS_PT_NEW_ZEALAND_MAP_GRID = "New_Zealand_Map_Grid"; - public const string SRS_PT_OBLIQUE_STEREOGRAPHIC = "Oblique_Stereographic"; - public const string SRS_PT_ORTHOGRAPHIC = "Orthographic"; - public const string SRS_PT_POLAR_STEREOGRAPHIC = "Polar_Stereographic"; - public const string SRS_PT_POLYCONIC = "Polyconic"; - public const string SRS_PT_ROBINSON = "Robinson"; - public const string SRS_PT_SINUSOIDAL = "Sinusoidal"; - public const string SRS_PT_STEREOGRAPHIC = "Stereographic"; - public const string SRS_PT_SWISS_OBLIQUE_CYLINDRICAL = "Swiss_Oblique_Cylindrical"; - public const string SRS_PT_TRANSVERSE_MERCATOR = "Transverse_Mercator"; - public const string SRS_PT_TRANSVERSE_MERCATOR_SOUTH_ORIENTED = "Transverse_Mercator_South_Orientated"; - public const string SRS_PT_TRANSVERSE_MERCATOR_MI_21 = "Transverse_Mercator_MapInfo_21"; - public const string SRS_PT_TRANSVERSE_MERCATOR_MI_22 = "Transverse_Mercator_MapInfo_22"; - public const string SRS_PT_TRANSVERSE_MERCATOR_MI_23 = "Transverse_Mercator_MapInfo_23"; - public const string SRS_PT_TRANSVERSE_MERCATOR_MI_24 = "Transverse_Mercator_MapInfo_24"; - public const string SRS_PT_TRANSVERSE_MERCATOR_MI_25 = "Transverse_Mercator_MapInfo_25"; - public const string SRS_PT_TUNISIA_MINING_GRID = "Tunisia_Mining_Grid"; - public const string SRS_PT_TWO_POINT_EQUIDISTANT = "Two_Point_Equidistant"; - public const string SRS_PT_VANDERGRINTEN = "VanDerGrinten"; - public const string SRS_PT_KROVAK = "Krovak"; - public const string SRS_PT_IMW_POLYCONIC = "International_Map_of_the_World_Polyconic"; - public const string SRS_PT_WAGNER_I = "Wagner_I"; - public const string SRS_PT_WAGNER_II = "Wagner_II"; - public const string SRS_PT_WAGNER_III = "Wagner_III"; - public const string SRS_PT_WAGNER_IV = "Wagner_IV"; - public const string SRS_PT_WAGNER_V = "Wagner_V"; - public const string SRS_PT_WAGNER_VI = "Wagner_VI"; - public const string SRS_PT_WAGNER_VII = "Wagner_VII"; - public const string SRS_PT_QSC = "Quadrilateralized_Spherical_Cube"; - public const string SRS_PT_AITOFF = "Aitoff"; - public const string SRS_PT_WINKEL_I = "Winkel_I"; - public const string SRS_PT_WINKEL_II = "Winkel_II"; - public const string SRS_PT_WINKEL_TRIPEL = "Winkel_Tripel"; - public const string SRS_PT_CRASTER_PARABOLIC = "Craster_Parabolic"; - public const string SRS_PT_LOXIMUTHAL = "Loximuthal"; - public const string SRS_PT_QUARTIC_AUTHALIC = "Quartic_Authalic"; - public const string SRS_PT_SCH = "Spherical_Cross_Track_Height"; - public const string SRS_PP_CENTRAL_MERIDIAN = "central_meridian"; - public const string SRS_PP_SCALE_FACTOR = "scale_factor"; - public const string SRS_PP_STANDARD_PARALLEL_1 = "standard_parallel_1"; - public const string SRS_PP_STANDARD_PARALLEL_2 = "standard_parallel_2"; - public const string SRS_PP_PSEUDO_STD_PARALLEL_1 = "pseudo_standard_parallel_1"; - public const string SRS_PP_LONGITUDE_OF_CENTER = "longitude_of_center"; - public const string SRS_PP_LATITUDE_OF_CENTER = "latitude_of_center"; - public const string SRS_PP_LONGITUDE_OF_ORIGIN = "longitude_of_origin"; - public const string SRS_PP_LATITUDE_OF_ORIGIN = "latitude_of_origin"; - public const string SRS_PP_FALSE_EASTING = "false_easting"; - public const string SRS_PP_FALSE_NORTHING = "false_northing"; - public const string SRS_PP_AZIMUTH = "azimuth"; - public const string SRS_PP_LONGITUDE_OF_POINT_1 = "longitude_of_point_1"; - public const string SRS_PP_LATITUDE_OF_POINT_1 = "latitude_of_point_1"; - public const string SRS_PP_LONGITUDE_OF_POINT_2 = "longitude_of_point_2"; - public const string SRS_PP_LATITUDE_OF_POINT_2 = "latitude_of_point_2"; - public const string SRS_PP_LONGITUDE_OF_POINT_3 = "longitude_of_point_3"; - public const string SRS_PP_LATITUDE_OF_POINT_3 = "latitude_of_point_3"; - public const string SRS_PP_RECTIFIED_GRID_ANGLE = "rectified_grid_angle"; - public const string SRS_PP_LANDSAT_NUMBER = "landsat_number"; - public const string SRS_PP_PATH_NUMBER = "path_number"; - public const string SRS_PP_PERSPECTIVE_POINT_HEIGHT = "perspective_point_height"; - public const string SRS_PP_SATELLITE_HEIGHT = "satellite_height"; - public const string SRS_PP_FIPSZONE = "fipszone"; - public const string SRS_PP_ZONE = "zone"; - public const string SRS_PP_LATITUDE_OF_1ST_POINT = "Latitude_Of_1st_Point"; - public const string SRS_PP_LONGITUDE_OF_1ST_POINT = "Longitude_Of_1st_Point"; - public const string SRS_PP_LATITUDE_OF_2ND_POINT = "Latitude_Of_2nd_Point"; - public const string SRS_PP_LONGITUDE_OF_2ND_POINT = "Longitude_Of_2nd_Point"; - public const string SRS_PP_PEG_POINT_LATITUDE = "peg_point_latitude"; - public const string SRS_PP_PEG_POINT_LONGITUDE = "peg_point_longitude"; - public const string SRS_PP_PEG_POINT_HEADING = "peg_point_heading"; - public const string SRS_PP_PEG_POINT_HEIGHT = "peg_point_height"; - public const string SRS_UL_METER = "Meter"; - public const string SRS_UL_FOOT = "Foot (International)"; - public const string SRS_UL_FOOT_CONV = "0.3048"; - public const string SRS_UL_US_FOOT = "Foot_US"; - public const string SRS_UL_US_FOOT_CONV = "0.3048006096012192"; - public const string SRS_UL_NAUTICAL_MILE = "Nautical Mile"; - public const string SRS_UL_NAUTICAL_MILE_CONV = "1852.0"; - public const string SRS_UL_LINK = "Link"; - public const string SRS_UL_LINK_CONV = "0.20116684023368047"; - public const string SRS_UL_CHAIN = "Chain"; - public const string SRS_UL_CHAIN_CONV = "20.116684023368047"; - public const string SRS_UL_ROD = "Rod"; - public const string SRS_UL_ROD_CONV = "5.02921005842012"; - public const string SRS_UL_LINK_Clarke = "Link_Clarke"; - public const string SRS_UL_LINK_Clarke_CONV = "0.2011661949"; - public const string SRS_UL_KILOMETER = "Kilometer"; - public const string SRS_UL_KILOMETER_CONV = "1000."; - public const string SRS_UL_DECIMETER = "Decimeter"; - public const string SRS_UL_DECIMETER_CONV = "0.1"; - public const string SRS_UL_CENTIMETER = "Centimeter"; - public const string SRS_UL_CENTIMETER_CONV = "0.01"; - public const string SRS_UL_MILLIMETER = "Millimeter"; - public const string SRS_UL_MILLIMETER_CONV = "0.001"; - public const string SRS_UL_INTL_NAUT_MILE = "Nautical_Mile_International"; - public const string SRS_UL_INTL_NAUT_MILE_CONV = "1852.0"; - public const string SRS_UL_INTL_INCH = "Inch_International"; - public const string SRS_UL_INTL_INCH_CONV = "0.0254"; - public const string SRS_UL_INTL_FOOT = "Foot_International"; - public const string SRS_UL_INTL_FOOT_CONV = "0.3048"; - public const string SRS_UL_INTL_YARD = "Yard_International"; - public const string SRS_UL_INTL_YARD_CONV = "0.9144"; - public const string SRS_UL_INTL_STAT_MILE = "Statute_Mile_International"; - public const string SRS_UL_INTL_STAT_MILE_CONV = "1609.344"; - public const string SRS_UL_INTL_FATHOM = "Fathom_International"; - public const string SRS_UL_INTL_FATHOM_CONV = "1.8288"; - public const string SRS_UL_INTL_CHAIN = "Chain_International"; - public const string SRS_UL_INTL_CHAIN_CONV = "20.1168"; - public const string SRS_UL_INTL_LINK = "Link_International"; - public const string SRS_UL_INTL_LINK_CONV = "0.201168"; - public const string SRS_UL_US_INCH = "Inch_US_Surveyor"; - public const string SRS_UL_US_INCH_CONV = "0.025400050800101603"; - public const string SRS_UL_US_YARD = "Yard_US_Surveyor"; - public const string SRS_UL_US_YARD_CONV = "0.914401828803658"; - public const string SRS_UL_US_CHAIN = "Chain_US_Surveyor"; - public const string SRS_UL_US_CHAIN_CONV = "20.11684023368047"; - public const string SRS_UL_US_STAT_MILE = "Statute_Mile_US_Surveyor"; - public const string SRS_UL_US_STAT_MILE_CONV = "1609.347218694437"; - public const string SRS_UL_INDIAN_YARD = "Yard_Indian"; - public const string SRS_UL_INDIAN_YARD_CONV = "0.91439523"; - public const string SRS_UL_INDIAN_FOOT = "Foot_Indian"; - public const string SRS_UL_INDIAN_FOOT_CONV = "0.30479841"; - public const string SRS_UL_INDIAN_CHAIN = "Chain_Indian"; - public const string SRS_UL_INDIAN_CHAIN_CONV = "20.11669506"; - public const string SRS_UA_DEGREE = "degree"; - public const string SRS_UA_DEGREE_CONV = "0.0174532925199433"; - public const string SRS_UA_RADIAN = "radian"; - public const string SRS_PM_GREENWICH = "Greenwich"; - public const string SRS_DN_NAD27 = "North_American_Datum_1927"; - public const string SRS_DN_NAD83 = "North_American_Datum_1983"; - public const string SRS_DN_WGS72 = "WGS_1972"; - public const string SRS_DN_WGS84 = "WGS_1984"; - public const double SRS_WGS84_SEMIMAJOR = 6378137.0; - public const double SRS_WGS84_INVFLATTENING = 298.257223563; -} - -} diff --git a/Runtime/Scripts/ogr/Osr.cs.meta b/Runtime/Scripts/ogr/Osr.cs.meta deleted file mode 100644 index 8372cd3..0000000 --- a/Runtime/Scripts/ogr/Osr.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 644c78689195948b88eb91c756f37530 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/OsrPINVOKE.cs b/Runtime/Scripts/ogr/OsrPINVOKE.cs deleted file mode 100644 index 18ce684..0000000 --- a/Runtime/Scripts/ogr/OsrPINVOKE.cs +++ /dev/null @@ -1,848 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -class OsrPINVOKE { - - protected class SWIGExceptionHelper { - - public delegate void ExceptionDelegate(string message); - public delegate void ExceptionArgumentDelegate(string message, string paramName); - - static ExceptionDelegate applicationDelegate = new ExceptionDelegate(SetPendingApplicationException); - static ExceptionDelegate arithmeticDelegate = new ExceptionDelegate(SetPendingArithmeticException); - static ExceptionDelegate divideByZeroDelegate = new ExceptionDelegate(SetPendingDivideByZeroException); - static ExceptionDelegate indexOutOfRangeDelegate = new ExceptionDelegate(SetPendingIndexOutOfRangeException); - static ExceptionDelegate invalidCastDelegate = new ExceptionDelegate(SetPendingInvalidCastException); - static ExceptionDelegate invalidOperationDelegate = new ExceptionDelegate(SetPendingInvalidOperationException); - static ExceptionDelegate ioDelegate = new ExceptionDelegate(SetPendingIOException); - static ExceptionDelegate nullReferenceDelegate = new ExceptionDelegate(SetPendingNullReferenceException); - static ExceptionDelegate outOfMemoryDelegate = new ExceptionDelegate(SetPendingOutOfMemoryException); - static ExceptionDelegate overflowDelegate = new ExceptionDelegate(SetPendingOverflowException); - static ExceptionDelegate systemDelegate = new ExceptionDelegate(SetPendingSystemException); - - static ExceptionArgumentDelegate argumentDelegate = new ExceptionArgumentDelegate(SetPendingArgumentException); - static ExceptionArgumentDelegate argumentNullDelegate = new ExceptionArgumentDelegate(SetPendingArgumentNullException); - static ExceptionArgumentDelegate argumentOutOfRangeDelegate = new ExceptionArgumentDelegate(SetPendingArgumentOutOfRangeException); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="SWIGRegisterExceptionCallbacks_Osr")] - public static extern void SWIGRegisterExceptionCallbacks_Osr( - ExceptionDelegate applicationDelegate, - ExceptionDelegate arithmeticDelegate, - ExceptionDelegate divideByZeroDelegate, - ExceptionDelegate indexOutOfRangeDelegate, - ExceptionDelegate invalidCastDelegate, - ExceptionDelegate invalidOperationDelegate, - ExceptionDelegate ioDelegate, - ExceptionDelegate nullReferenceDelegate, - ExceptionDelegate outOfMemoryDelegate, - ExceptionDelegate overflowDelegate, - ExceptionDelegate systemExceptionDelegate); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="SWIGRegisterExceptionArgumentCallbacks_Osr")] - public static extern void SWIGRegisterExceptionCallbacksArgument_Osr( - ExceptionArgumentDelegate argumentDelegate, - ExceptionArgumentDelegate argumentNullDelegate, - ExceptionArgumentDelegate argumentOutOfRangeDelegate); - - static void SetPendingApplicationException(string message) { - SWIGPendingException.Set(new global::System.ApplicationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingArithmeticException(string message) { - SWIGPendingException.Set(new global::System.ArithmeticException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingDivideByZeroException(string message) { - SWIGPendingException.Set(new global::System.DivideByZeroException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIndexOutOfRangeException(string message) { - SWIGPendingException.Set(new global::System.IndexOutOfRangeException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidCastException(string message) { - SWIGPendingException.Set(new global::System.InvalidCastException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingInvalidOperationException(string message) { - SWIGPendingException.Set(new global::System.InvalidOperationException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingIOException(string message) { - SWIGPendingException.Set(new global::System.IO.IOException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingNullReferenceException(string message) { - SWIGPendingException.Set(new global::System.NullReferenceException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOutOfMemoryException(string message) { - SWIGPendingException.Set(new global::System.OutOfMemoryException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingOverflowException(string message) { - SWIGPendingException.Set(new global::System.OverflowException(message, SWIGPendingException.Retrieve())); - } - static void SetPendingSystemException(string message) { - SWIGPendingException.Set(new global::System.SystemException(message, SWIGPendingException.Retrieve())); - } - - static void SetPendingArgumentException(string message, string paramName) { - SWIGPendingException.Set(new global::System.ArgumentException(message, paramName, SWIGPendingException.Retrieve())); - } - static void SetPendingArgumentNullException(string message, string paramName) { - global::System.Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new global::System.ArgumentNullException(paramName, message)); - } - static void SetPendingArgumentOutOfRangeException(string message, string paramName) { - global::System.Exception e = SWIGPendingException.Retrieve(); - if (e != null) message = message + " Inner Exception: " + e.Message; - SWIGPendingException.Set(new global::System.ArgumentOutOfRangeException(paramName, message)); - } - - static SWIGExceptionHelper() { - SWIGRegisterExceptionCallbacks_Osr( - applicationDelegate, - arithmeticDelegate, - divideByZeroDelegate, - indexOutOfRangeDelegate, - invalidCastDelegate, - invalidOperationDelegate, - ioDelegate, - nullReferenceDelegate, - outOfMemoryDelegate, - overflowDelegate, - systemDelegate); - - SWIGRegisterExceptionCallbacksArgument_Osr( - argumentDelegate, - argumentNullDelegate, - argumentOutOfRangeDelegate); - } - } - - protected static SWIGExceptionHelper swigExceptionHelper = new SWIGExceptionHelper(); - - public class SWIGPendingException { - [global::System.ThreadStatic] - private static global::System.Exception pendingException = null; - private static int numExceptionsPending = 0; - private static global::System.Object exceptionsLock = null; - - public static bool Pending { - get { - bool pending = false; - if (numExceptionsPending > 0) - if (pendingException != null) - pending = true; - return pending; - } - } - - public static void Set(global::System.Exception e) { - if (pendingException != null) - throw new global::System.ApplicationException("FATAL: An earlier pending exception from unmanaged code was missed and thus not thrown (" + pendingException.ToString() + ")", e); - pendingException = e; - lock(exceptionsLock) { - numExceptionsPending++; - } - } - - public static global::System.Exception Retrieve() { - global::System.Exception e = null; - if (numExceptionsPending > 0) { - if (pendingException != null) { - e = pendingException; - pendingException = null; - lock(exceptionsLock) { - numExceptionsPending--; - } - } - } - return e; - } - - static SWIGPendingException() { - exceptionsLock = new global::System.Object(); - } - } - - - protected class SWIGStringHelper { - - public delegate string SWIGStringDelegate(string message); - static SWIGStringDelegate stringDelegate = new SWIGStringDelegate(CreateString); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="SWIGRegisterStringCallback_Osr")] - public static extern void SWIGRegisterStringCallback_Osr(SWIGStringDelegate stringDelegate); - - static string CreateString(string cString) { - return cString; - } - - static SWIGStringHelper() { - SWIGRegisterStringCallback_Osr(stringDelegate); - } - } - - static protected SWIGStringHelper swigStringHelper = new SWIGStringHelper(); - - - static OsrPINVOKE() { - } - - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_UseExceptions___")] - public static extern void UseExceptions(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_DontUseExceptions___")] - public static extern void DontUseExceptions(); - - public class StringListMarshal : IDisposable { - public readonly IntPtr[] _ar; - public StringListMarshal(string[] ar) { - _ar = new IntPtr[ar.Length+1]; - for (int cx = 0; cx < ar.Length; cx++) { - _ar[cx] = System.Runtime.InteropServices.Marshal.StringToHGlobalAnsi(ar[cx]); - } - _ar[ar.Length] = IntPtr.Zero; - } - public virtual void Dispose() { - for (int cx = 0; cx < _ar.Length-1; cx++) { - System.Runtime.InteropServices.Marshal.FreeHGlobal(_ar[cx]); - } - GC.SuppressFinalize(this); - } - } - - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_StringListDestroy___")] - public static extern void StringListDestroy(IntPtr jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfoList_get___")] - public static extern global::System.IntPtr CRSInfoList_get(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_CRSInfoList___")] - public static extern void delete_CRSInfoList(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_CRSInfoList___")] - public static extern global::System.IntPtr new_CRSInfoList(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetCRSInfoListFromDatabase___")] - public static extern global::System.IntPtr GetCRSInfoListFromDatabase(string jarg1, out int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetWellKnownGeogCSAsWKT___")] - public static extern int GetWellKnownGeogCSAsWKT(string jarg1, out string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetUserInputAsWKT___")] - public static extern int GetUserInputAsWKT(string jarg1, out string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_AreaOfUse_west_lon_degree_get___")] - public static extern double AreaOfUse_west_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_AreaOfUse_south_lat_degree_get___")] - public static extern double AreaOfUse_south_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_AreaOfUse_east_lon_degree_get___")] - public static extern double AreaOfUse_east_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_AreaOfUse_north_lat_degree_get___")] - public static extern double AreaOfUse_north_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_AreaOfUse_name_get___")] - public static extern string AreaOfUse_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_AreaOfUse___")] - public static extern global::System.IntPtr new_AreaOfUse(double jarg1, double jarg2, double jarg3, double jarg4, string jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_AreaOfUse___")] - public static extern void delete_AreaOfUse(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRAreaOfUse_west_lon_degree_get___")] - public static extern double OSRAreaOfUse_west_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRAreaOfUse_south_lat_degree_get___")] - public static extern double OSRAreaOfUse_south_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRAreaOfUse_east_lon_degree_get___")] - public static extern double OSRAreaOfUse_east_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRAreaOfUse_north_lat_degree_get___")] - public static extern double OSRAreaOfUse_north_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRAreaOfUse_name_get___")] - public static extern string OSRAreaOfUse_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_SpatialReference___")] - public static extern global::System.IntPtr new_SpatialReference(string jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_SpatialReference___")] - public static extern void delete_SpatialReference(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference___str_____")] - public static extern string SpatialReference___str__(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetName___")] - public static extern string SpatialReference_GetName(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsSame___")] - public static extern int SpatialReference_IsSame(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, IntPtr[] jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsSameGeogCS___")] - public static extern int SpatialReference_IsSameGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsSameVertCS___")] - public static extern int SpatialReference_IsSameVertCS(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsGeographic___")] - public static extern int SpatialReference_IsGeographic(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsDerivedGeographic___")] - public static extern int SpatialReference_IsDerivedGeographic(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsProjected___")] - public static extern int SpatialReference_IsProjected(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsCompound___")] - public static extern int SpatialReference_IsCompound(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsGeocentric___")] - public static extern int SpatialReference_IsGeocentric(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsLocal___")] - public static extern int SpatialReference_IsLocal(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsVertical___")] - public static extern int SpatialReference_IsVertical(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_IsDynamic___")] - public static extern bool SpatialReference_IsDynamic(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetCoordinateEpoch___")] - public static extern double SpatialReference_GetCoordinateEpoch(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetCoordinateEpoch___")] - public static extern void SpatialReference_SetCoordinateEpoch(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_EPSGTreatsAsLatLong___")] - public static extern int SpatialReference_EPSGTreatsAsLatLong(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_EPSGTreatsAsNorthingEasting___")] - public static extern int SpatialReference_EPSGTreatsAsNorthingEasting(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetAuthority___")] - public static extern int SpatialReference_SetAuthority(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAttrValue___")] - public static extern string SpatialReference_GetAttrValue(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetAttrValue___")] - public static extern int SpatialReference_SetAttrValue(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetAngularUnits___")] - public static extern int SpatialReference_SetAngularUnits(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAngularUnits___")] - public static extern double SpatialReference_GetAngularUnits(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAngularUnitsName___")] - public static extern string SpatialReference_GetAngularUnitsName(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTargetLinearUnits___")] - public static extern int SpatialReference_SetTargetLinearUnits(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLinearUnits___")] - public static extern int SpatialReference_SetLinearUnits(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLinearUnitsAndUpdateParameters___")] - public static extern int SpatialReference_SetLinearUnitsAndUpdateParameters(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetTargetLinearUnits___")] - public static extern double SpatialReference_GetTargetLinearUnits(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetLinearUnits___")] - public static extern double SpatialReference_GetLinearUnits(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetLinearUnitsName___")] - public static extern string SpatialReference_GetLinearUnitsName(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAuthorityCode___")] - public static extern string SpatialReference_GetAuthorityCode(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAuthorityName___")] - public static extern string SpatialReference_GetAuthorityName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAreaOfUse___")] - public static extern global::System.IntPtr SpatialReference_GetAreaOfUse(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAxisName___")] - public static extern string SpatialReference_GetAxisName(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAxesCount___")] - public static extern int SpatialReference_GetAxesCount(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAxisOrientation___")] - public static extern int SpatialReference_GetAxisOrientation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetAxisMappingStrategy___")] - public static extern int SpatialReference_GetAxisMappingStrategy(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetAxisMappingStrategy___")] - public static extern void SpatialReference_SetAxisMappingStrategy(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetDataAxisToSRSAxisMapping___")] - public static extern IntPtr SpatialReference_GetDataAxisToSRSAxisMapping(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetDataAxisToSRSAxisMapping___")] - public static extern int SpatialReference_SetDataAxisToSRSAxisMapping(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int[] jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetUTM___")] - public static extern int SpatialReference_SetUTM(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetUTMZone___")] - public static extern int SpatialReference_GetUTMZone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetStatePlane___")] - public static extern int SpatialReference_SetStatePlane(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, string jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_AutoIdentifyEPSG___")] - public static extern int SpatialReference_AutoIdentifyEPSG(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetProjection___")] - public static extern int SpatialReference_SetProjection(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetProjParm___")] - public static extern int SpatialReference_SetProjParm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetProjParm___")] - public static extern double SpatialReference_GetProjParm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetNormProjParm___")] - public static extern int SpatialReference_SetNormProjParm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetNormProjParm___")] - public static extern double SpatialReference_GetNormProjParm(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetSemiMajor___")] - public static extern double SpatialReference_GetSemiMajor(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetSemiMinor___")] - public static extern double SpatialReference_GetSemiMinor(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetInvFlattening___")] - public static extern double SpatialReference_GetInvFlattening(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetACEA___")] - public static extern int SpatialReference_SetACEA(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetAE___")] - public static extern int SpatialReference_SetAE(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetBonne___")] - public static extern int SpatialReference_SetBonne(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetCEA___")] - public static extern int SpatialReference_SetCEA(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetCS___")] - public static extern int SpatialReference_SetCS(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetEC___")] - public static extern int SpatialReference_SetEC(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetEckertIV___")] - public static extern int SpatialReference_SetEckertIV(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetEckertVI___")] - public static extern int SpatialReference_SetEckertVI(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetEquirectangular___")] - public static extern int SpatialReference_SetEquirectangular(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetEquirectangular2___")] - public static extern int SpatialReference_SetEquirectangular2(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGaussSchreiberTMercator___")] - public static extern int SpatialReference_SetGaussSchreiberTMercator(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGS___")] - public static extern int SpatialReference_SetGS(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGH___")] - public static extern int SpatialReference_SetGH(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetIGH___")] - public static extern int SpatialReference_SetIGH(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGEOS___")] - public static extern int SpatialReference_SetGEOS(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGnomonic___")] - public static extern int SpatialReference_SetGnomonic(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetHOM___")] - public static extern int SpatialReference_SetHOM(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetHOM2PNO___")] - public static extern int SpatialReference_SetHOM2PNO(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8, double jarg9); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetKrovak___")] - public static extern int SpatialReference_SetKrovak(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLAEA___")] - public static extern int SpatialReference_SetLAEA(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLCC___")] - public static extern int SpatialReference_SetLCC(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLCC1SP___")] - public static extern int SpatialReference_SetLCC1SP(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLCCB___")] - public static extern int SpatialReference_SetLCCB(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetMC___")] - public static extern int SpatialReference_SetMC(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetMercator___")] - public static extern int SpatialReference_SetMercator(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetMercator2SP___")] - public static extern int SpatialReference_SetMercator2SP(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetMollweide___")] - public static extern int SpatialReference_SetMollweide(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetNZMG___")] - public static extern int SpatialReference_SetNZMG(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetOS___")] - public static extern int SpatialReference_SetOS(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetOrthographic___")] - public static extern int SpatialReference_SetOrthographic(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetPolyconic___")] - public static extern int SpatialReference_SetPolyconic(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetPS___")] - public static extern int SpatialReference_SetPS(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetRobinson___")] - public static extern int SpatialReference_SetRobinson(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetSinusoidal___")] - public static extern int SpatialReference_SetSinusoidal(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetStereographic___")] - public static extern int SpatialReference_SetStereographic(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetSOC___")] - public static extern int SpatialReference_SetSOC(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTM___")] - public static extern int SpatialReference_SetTM(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTMVariant___")] - public static extern int SpatialReference_SetTMVariant(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTMG___")] - public static extern int SpatialReference_SetTMG(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTMSO___")] - public static extern int SpatialReference_SetTMSO(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetVDG___")] - public static extern int SpatialReference_SetVDG(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetVerticalPerspective___")] - public static extern int SpatialReference_SetVerticalPerspective(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetWellKnownGeogCS___")] - public static extern int SpatialReference_SetWellKnownGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetFromUserInput___")] - public static extern int SpatialReference_SetFromUserInput(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_CopyGeogCSFrom___")] - public static extern int SpatialReference_CopyGeogCSFrom(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetTOWGS84___")] - public static extern int SpatialReference_SetTOWGS84(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5, double jarg6, double jarg7, double jarg8); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_HasTOWGS84___")] - public static extern bool SpatialReference_HasTOWGS84(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_GetTOWGS84___")] - public static extern int SpatialReference_GetTOWGS84(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_AddGuessedTOWGS84___")] - public static extern int SpatialReference_AddGuessedTOWGS84(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetLocalCS___")] - public static extern int SpatialReference_SetLocalCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGeogCS___")] - public static extern int SpatialReference_SetGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4, double jarg5, double jarg6, string jarg7, double jarg8, string jarg9, double jarg10); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetProjCS___")] - public static extern int SpatialReference_SetProjCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetGeocCS___")] - public static extern int SpatialReference_SetGeocCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetVertCS___")] - public static extern int SpatialReference_SetVertCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, int jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_SetCompoundCS___")] - public static extern int SpatialReference_SetCompoundCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, global::System.Runtime.InteropServices.HandleRef jarg3, global::System.Runtime.InteropServices.HandleRef jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromWkt___")] - public static extern int SpatialReference_ImportFromWkt(global::System.Runtime.InteropServices.HandleRef jarg1, ref string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromProj4___")] - public static extern int SpatialReference_ImportFromProj4(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromUrl___")] - public static extern int SpatialReference_ImportFromUrl(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromESRI___")] - public static extern int SpatialReference_ImportFromESRI(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromEPSG___")] - public static extern int SpatialReference_ImportFromEPSG(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromEPSGA___")] - public static extern int SpatialReference_ImportFromEPSGA(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromPCI___")] - public static extern int SpatialReference_ImportFromPCI(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, double[] jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromUSGS___")] - public static extern int SpatialReference_ImportFromUSGS(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, int jarg3, double[] jarg4, int jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromXML___")] - public static extern int SpatialReference_ImportFromXML(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromERM___")] - public static extern int SpatialReference_ImportFromERM(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, string jarg3, string jarg4); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromMICoordSys___")] - public static extern int SpatialReference_ImportFromMICoordSys(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ImportFromOzi___")] - public static extern int SpatialReference_ImportFromOzi(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToWkt___")] - public static extern int SpatialReference_ExportToWkt(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, IntPtr[] jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToPrettyWkt___")] - public static extern int SpatialReference_ExportToPrettyWkt(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, int jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToPROJJSON___")] - public static extern int SpatialReference_ExportToPROJJSON(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, IntPtr[] jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToProj4___")] - public static extern int SpatialReference_ExportToProj4(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToPCI___")] - public static extern int SpatialReference_ExportToPCI(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, out string jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToUSGS___")] - public static extern int SpatialReference_ExportToUSGS(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2, out int jarg3, out int jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToXML___")] - public static extern int SpatialReference_ExportToXML(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, string jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ExportToMICoordSys___")] - public static extern int SpatialReference_ExportToMICoordSys(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_CloneGeogCS___")] - public static extern global::System.IntPtr SpatialReference_CloneGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_Clone___")] - public static extern global::System.IntPtr SpatialReference_Clone(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_Validate___")] - public static extern int SpatialReference_Validate(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_MorphToESRI___")] - public static extern int SpatialReference_MorphToESRI(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_MorphFromESRI___")] - public static extern int SpatialReference_MorphFromESRI(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_ConvertToOtherProjection___")] - public static extern global::System.IntPtr SpatialReference_ConvertToOtherProjection(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_PromoteTo3D___")] - public static extern int SpatialReference_PromoteTo3D(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SpatialReference_DemoteTo2D___")] - public static extern int SpatialReference_DemoteTo2D(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_CoordinateTransformationOptions___")] - public static extern global::System.IntPtr new_CoordinateTransformationOptions(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_CoordinateTransformationOptions___")] - public static extern void delete_CoordinateTransformationOptions(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformationOptions_SetAreaOfInterest___")] - public static extern bool CoordinateTransformationOptions_SetAreaOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformationOptions_SetOperation___")] - public static extern bool CoordinateTransformationOptions_SetOperation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformationOptions_SetDesiredAccuracy___")] - public static extern bool CoordinateTransformationOptions_SetDesiredAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformationOptions_SetBallparkAllowed___")] - public static extern bool CoordinateTransformationOptions_SetBallparkAllowed(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_CoordinateTransformation__SWIG_0___")] - public static extern global::System.IntPtr new_CoordinateTransformation__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_CoordinateTransformation__SWIG_1___")] - public static extern global::System.IntPtr new_CoordinateTransformation__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_CoordinateTransformation___")] - public static extern void delete_CoordinateTransformation(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformPoint__SWIG_0___")] - public static extern void CoordinateTransformation_TransformPoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformPoint__SWIG_2___")] - public static extern void CoordinateTransformation_TransformPoint__SWIG_2(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2, double jarg3, double jarg4, double jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformPoint__SWIG_3___")] - public static extern void CoordinateTransformation_TransformPoint__SWIG_3(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformPointWithErrorCode___")] - public static extern int CoordinateTransformation_TransformPointWithErrorCode(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2, double jarg3, double jarg4, double jarg5, double jarg6); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformPoints___")] - public static extern void CoordinateTransformation_TransformPoints(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2, double[] jarg3, double[] jarg4, double[] jarg5); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CoordinateTransformation_TransformBounds___")] - public static extern void CoordinateTransformation_TransformBounds(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2, double jarg3, double jarg4, double jarg5, double jarg6, int jarg7); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CreateCoordinateTransformation___")] - public static extern global::System.IntPtr CreateCoordinateTransformation(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, global::System.Runtime.InteropServices.HandleRef jarg3); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_auth_name_get___")] - public static extern string CRSInfo_auth_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_code_get___")] - public static extern string CRSInfo_code_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_name_get___")] - public static extern string CRSInfo_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_type_get___")] - public static extern int CRSInfo_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_deprecated_get___")] - public static extern bool CRSInfo_deprecated_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_bbox_valid_get___")] - public static extern bool CRSInfo_bbox_valid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_west_lon_degree_get___")] - public static extern double CRSInfo_west_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_south_lat_degree_get___")] - public static extern double CRSInfo_south_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_east_lon_degree_get___")] - public static extern double CRSInfo_east_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_north_lat_degree_get___")] - public static extern double CRSInfo_north_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_area_name_get___")] - public static extern string CRSInfo_area_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_CRSInfo_projection_method_get___")] - public static extern string CRSInfo_projection_method_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_new_CRSInfo___")] - public static extern global::System.IntPtr new_CRSInfo(string jarg1, string jarg2, string jarg3, int jarg4, bool jarg5, bool jarg6, double jarg7, double jarg8, double jarg9, double jarg10, string jarg11, string jarg12); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_delete_CRSInfo___")] - public static extern void delete_CRSInfo(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_auth_name_get___")] - public static extern string OSRCRSInfo_auth_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_code_get___")] - public static extern string OSRCRSInfo_code_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_name_get___")] - public static extern string OSRCRSInfo_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_type_get___")] - public static extern int OSRCRSInfo_type_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_deprecated_get___")] - public static extern bool OSRCRSInfo_deprecated_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_bbox_valid_get___")] - public static extern bool OSRCRSInfo_bbox_valid_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_west_lon_degree_get___")] - public static extern double OSRCRSInfo_west_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_south_lat_degree_get___")] - public static extern double OSRCRSInfo_south_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_east_lon_degree_get___")] - public static extern double OSRCRSInfo_east_lon_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_north_lat_degree_get___")] - public static extern double OSRCRSInfo_north_lat_degree_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_area_name_get___")] - public static extern string OSRCRSInfo_area_name_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_OSRCRSInfo_projection_method_get___")] - public static extern string OSRCRSInfo_projection_method_get(global::System.Runtime.InteropServices.HandleRef jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SetPROJSearchPath___")] - public static extern void SetPROJSearchPath(byte[] jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SetPROJSearchPaths___")] - public static extern void SetPROJSearchPaths(IntPtr[] jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJSearchPaths___")] - public static extern IntPtr GetPROJSearchPaths(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJVersionMajor___")] - public static extern int GetPROJVersionMajor(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJVersionMinor___")] - public static extern int GetPROJVersionMinor(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJVersionMicro___")] - public static extern int GetPROJVersionMicro(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJEnableNetwork___")] - public static extern bool GetPROJEnableNetwork(); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SetPROJEnableNetwork___")] - public static extern void SetPROJEnableNetwork(bool jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SetPROJAuxDbPath___")] - public static extern void SetPROJAuxDbPath(byte[] jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_SetPROJAuxDbPaths___")] - public static extern void SetPROJAuxDbPaths(IntPtr[] jarg1); - - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOGR_GetPROJAuxDbPaths___")] - public static extern IntPtr GetPROJAuxDbPaths(); -} - -} diff --git a/Runtime/Scripts/ogr/OsrPINVOKE.cs.meta b/Runtime/Scripts/ogr/OsrPINVOKE.cs.meta deleted file mode 100644 index 3be3594..0000000 --- a/Runtime/Scripts/ogr/OsrPINVOKE.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: 9cc4e51688b49410390ef26e78098394 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/PreparedGeometry.cs b/Runtime/Scripts/ogr/PreparedGeometry.cs index 2bb7697..627151f 100644 --- a/Runtime/Scripts/ogr/PreparedGeometry.cs +++ b/Runtime/Scripts/ogr/PreparedGeometry.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs b/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs new file mode 100644 index 0000000..87e63d0 --- /dev/null +++ b/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.OGR { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SWIGTYPE_p_CPLErr { + private HandleRef swigCPtr; + + public SWIGTYPE_p_CPLErr(IntPtr cPtr, bool futureUse, object parent) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_CPLErr() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + public static HandleRef getCPtr(SWIGTYPE_p_CPLErr obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs.meta b/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs.meta new file mode 100644 index 0000000..18df71e --- /dev/null +++ b/Runtime/Scripts/ogr/SWIGTYPE_p_CPLErr.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dda6ef74b5d9042b1ae979ea124b3f91 \ No newline at end of file diff --git a/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs b/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs new file mode 100644 index 0000000..69372eb --- /dev/null +++ b/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.OGR { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SWIGTYPE_p_int { + private HandleRef swigCPtr; + + public SWIGTYPE_p_int(IntPtr cPtr, bool futureUse, object parent) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_int() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + public static HandleRef getCPtr(SWIGTYPE_p_int obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs.meta b/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs.meta new file mode 100644 index 0000000..aec7229 --- /dev/null +++ b/Runtime/Scripts/ogr/SWIGTYPE_p_int.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: dd3f637487ce349aea1aedd85036876f \ No newline at end of file diff --git a/Runtime/Scripts/ogr/SpatialReference.cs b/Runtime/Scripts/ogr/SpatialReference.cs deleted file mode 100644 index 2d6f441..0000000 --- a/Runtime/Scripts/ogr/SpatialReference.cs +++ /dev/null @@ -1,892 +0,0 @@ -//------------------------------------------------------------------------------ -// -// -// This file was automatically generated by SWIG (http://www.swig.org). -// Version 4.0.2 -// -// Do not make changes to this file unless you know what you are doing--modify -// the SWIG interface file instead. -//------------------------------------------------------------------------------ - -namespace OSGeo.OGR { - -using global::System; -using global::System.Runtime.InteropServices; - -public class SpatialReference : global::System.IDisposable { - private HandleRef swigCPtr; - protected bool swigCMemOwn; - protected object swigParentRef; - - protected static object ThisOwn_true() { return null; } - protected object ThisOwn_false() { return this; } - - public SpatialReference(IntPtr cPtr, bool cMemoryOwn, object parent) { - swigCMemOwn = cMemoryOwn; - swigParentRef = parent; - swigCPtr = new HandleRef(this, cPtr); - } - - public static HandleRef getCPtr(SpatialReference obj) { - return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; - } - public static HandleRef getCPtrAndDisown(SpatialReference obj, object parent) { - if (obj != null) - { - obj.swigCMemOwn = false; - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - public static HandleRef getCPtrAndSetReference(SpatialReference obj, object parent) { - if (obj != null) - { - obj.swigParentRef = parent; - return obj.swigCPtr; - } - else - { - return new HandleRef(null, IntPtr.Zero); - } - } - - ~SpatialReference() { - Dispose(); - } - - public virtual void Dispose() { - lock(this) { - if (swigCPtr.Handle != global::System.IntPtr.Zero) { - if (swigCMemOwn) { - swigCMemOwn = false; - OsrPINVOKE.delete_SpatialReference(swigCPtr); - } - swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero); - } - global::System.GC.SuppressFinalize(this); - } - } - - public SpatialReference(string wkt) : this(OsrPINVOKE.new_SpatialReference(wkt), true, null) { - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public string __str__() { - string ret = OsrPINVOKE.SpatialReference___str__(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetName() { - string ret = OsrPINVOKE.SpatialReference_GetName(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsSame(SpatialReference rhs, string[] options) { - int ret = OsrPINVOKE.SpatialReference_IsSame(swigCPtr, SpatialReference.getCPtr(rhs), (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsSameGeogCS(SpatialReference rhs) { - int ret = OsrPINVOKE.SpatialReference_IsSameGeogCS(swigCPtr, SpatialReference.getCPtr(rhs)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsSameVertCS(SpatialReference rhs) { - int ret = OsrPINVOKE.SpatialReference_IsSameVertCS(swigCPtr, SpatialReference.getCPtr(rhs)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsGeographic() { - int ret = OsrPINVOKE.SpatialReference_IsGeographic(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsDerivedGeographic() { - int ret = OsrPINVOKE.SpatialReference_IsDerivedGeographic(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsProjected() { - int ret = OsrPINVOKE.SpatialReference_IsProjected(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsCompound() { - int ret = OsrPINVOKE.SpatialReference_IsCompound(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsGeocentric() { - int ret = OsrPINVOKE.SpatialReference_IsGeocentric(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsLocal() { - int ret = OsrPINVOKE.SpatialReference_IsLocal(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int IsVertical() { - int ret = OsrPINVOKE.SpatialReference_IsVertical(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool IsDynamic() { - bool ret = OsrPINVOKE.SpatialReference_IsDynamic(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetCoordinateEpoch() { - double ret = OsrPINVOKE.SpatialReference_GetCoordinateEpoch(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void SetCoordinateEpoch(double coordinateEpoch) { - OsrPINVOKE.SpatialReference_SetCoordinateEpoch(swigCPtr, coordinateEpoch); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public int EPSGTreatsAsLatLong() { - int ret = OsrPINVOKE.SpatialReference_EPSGTreatsAsLatLong(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int EPSGTreatsAsNorthingEasting() { - int ret = OsrPINVOKE.SpatialReference_EPSGTreatsAsNorthingEasting(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetAuthority(string pszTargetKey, string pszAuthority, int nCode) { - int ret = OsrPINVOKE.SpatialReference_SetAuthority(swigCPtr, pszTargetKey, pszAuthority, nCode); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetAttrValue(string name, int child) { - string ret = OsrPINVOKE.SpatialReference_GetAttrValue(swigCPtr, name, child); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetAttrValue(string name, string value) { - int ret = OsrPINVOKE.SpatialReference_SetAttrValue(swigCPtr, name, value); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetAngularUnits(string name, double to_radians) { - int ret = OsrPINVOKE.SpatialReference_SetAngularUnits(swigCPtr, name, to_radians); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetAngularUnits() { - double ret = OsrPINVOKE.SpatialReference_GetAngularUnits(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetAngularUnitsName() { - string ret = OsrPINVOKE.SpatialReference_GetAngularUnitsName(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTargetLinearUnits(string target, string name, double to_meters) { - int ret = OsrPINVOKE.SpatialReference_SetTargetLinearUnits(swigCPtr, target, name, to_meters); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLinearUnits(string name, double to_meters) { - int ret = OsrPINVOKE.SpatialReference_SetLinearUnits(swigCPtr, name, to_meters); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLinearUnitsAndUpdateParameters(string name, double to_meters) { - int ret = OsrPINVOKE.SpatialReference_SetLinearUnitsAndUpdateParameters(swigCPtr, name, to_meters); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetTargetLinearUnits(string target_key) { - double ret = OsrPINVOKE.SpatialReference_GetTargetLinearUnits(swigCPtr, target_key); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetLinearUnits() { - double ret = OsrPINVOKE.SpatialReference_GetLinearUnits(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetLinearUnitsName() { - string ret = OsrPINVOKE.SpatialReference_GetLinearUnitsName(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetAuthorityCode(string target_key) { - string ret = OsrPINVOKE.SpatialReference_GetAuthorityCode(swigCPtr, target_key); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetAuthorityName(string target_key) { - string ret = OsrPINVOKE.SpatialReference_GetAuthorityName(swigCPtr, target_key); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AreaOfUse GetAreaOfUse() { - IntPtr cPtr = OsrPINVOKE.SpatialReference_GetAreaOfUse(swigCPtr); - AreaOfUse ret = (cPtr == IntPtr.Zero) ? null : new AreaOfUse(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public string GetAxisName(string target_key, int iAxis) { - string ret = OsrPINVOKE.SpatialReference_GetAxisName(swigCPtr, target_key, iAxis); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int GetAxesCount() { - int ret = OsrPINVOKE.SpatialReference_GetAxesCount(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AxisOrientation GetAxisOrientation(string target_key, int iAxis) { - AxisOrientation ret = (AxisOrientation)OsrPINVOKE.SpatialReference_GetAxisOrientation(swigCPtr, target_key, iAxis); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public AxisMappingStrategy GetAxisMappingStrategy() { - AxisMappingStrategy ret = (AxisMappingStrategy)OsrPINVOKE.SpatialReference_GetAxisMappingStrategy(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public void SetAxisMappingStrategy(AxisMappingStrategy strategy) { - OsrPINVOKE.SpatialReference_SetAxisMappingStrategy(swigCPtr, (int)strategy); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - } - - public int[] GetDataAxisToSRSAxisMapping(out int count) { - /* %typemap(csout) int *intList */ - IntPtr cPtr = OsrPINVOKE.SpatialReference_GetDataAxisToSRSAxisMapping(swigCPtr, out count); - int[] ret = new int[count]; - if (count > 0) { - System.Runtime.InteropServices.Marshal.Copy(cPtr, ret, 0, count); - } - - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; -} - - public int SetDataAxisToSRSAxisMapping(int nList, int[] pList) { - int ret = OsrPINVOKE.SpatialReference_SetDataAxisToSRSAxisMapping(swigCPtr, nList, pList); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetUTM(int zone, int north) { - int ret = OsrPINVOKE.SpatialReference_SetUTM(swigCPtr, zone, north); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int GetUTMZone() { - int ret = OsrPINVOKE.SpatialReference_GetUTMZone(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetStatePlane(int zone, int is_nad83, string unitsname, double units) { - int ret = OsrPINVOKE.SpatialReference_SetStatePlane(swigCPtr, zone, is_nad83, unitsname, units); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int AutoIdentifyEPSG() { - int ret = OsrPINVOKE.SpatialReference_AutoIdentifyEPSG(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetProjection(string arg) { - int ret = OsrPINVOKE.SpatialReference_SetProjection(swigCPtr, arg); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetProjParm(string name, double val) { - int ret = OsrPINVOKE.SpatialReference_SetProjParm(swigCPtr, name, val); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetProjParm(string name, double default_val) { - double ret = OsrPINVOKE.SpatialReference_GetProjParm(swigCPtr, name, default_val); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetNormProjParm(string name, double val) { - int ret = OsrPINVOKE.SpatialReference_SetNormProjParm(swigCPtr, name, val); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetNormProjParm(string name, double default_val) { - double ret = OsrPINVOKE.SpatialReference_GetNormProjParm(swigCPtr, name, default_val); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetSemiMajor() { - double ret = OsrPINVOKE.SpatialReference_GetSemiMajor(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetSemiMinor() { - double ret = OsrPINVOKE.SpatialReference_GetSemiMinor(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public double GetInvFlattening() { - double ret = OsrPINVOKE.SpatialReference_GetInvFlattening(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetACEA(double stdp1, double stdp2, double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetACEA(swigCPtr, stdp1, stdp2, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetAE(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetAE(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetBonne(double stdp, double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetBonne(swigCPtr, stdp, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetCEA(double stdp1, double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetCEA(swigCPtr, stdp1, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetCS(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetCS(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetEC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetEC(swigCPtr, stdp1, stdp2, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetEckertIV(double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetEckertIV(swigCPtr, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetEckertVI(double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetEckertVI(swigCPtr, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetEquirectangular(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetEquirectangular(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetEquirectangular2(double clat, double clong, double pseudostdparallellat, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetEquirectangular2(swigCPtr, clat, clong, pseudostdparallellat, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGaussSchreiberTMercator(double clat, double clong, double sc, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetGaussSchreiberTMercator(swigCPtr, clat, clong, sc, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGS(double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetGS(swigCPtr, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGH(double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetGH(swigCPtr, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetIGH() { - int ret = OsrPINVOKE.SpatialReference_SetIGH(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGEOS(double cm, double satelliteheight, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetGEOS(swigCPtr, cm, satelliteheight, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGnomonic(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetGnomonic(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetHOM(double clat, double clong, double azimuth, double recttoskew, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetHOM(swigCPtr, clat, clong, azimuth, recttoskew, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetHOM2PNO(double clat, double dfLat1, double dfLong1, double dfLat2, double dfLong2, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetHOM2PNO(swigCPtr, clat, dfLat1, dfLong1, dfLat2, dfLong2, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetKrovak(double clat, double clong, double azimuth, double pseudostdparallellat, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetKrovak(swigCPtr, clat, clong, azimuth, pseudostdparallellat, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLAEA(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetLAEA(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLCC(double stdp1, double stdp2, double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetLCC(swigCPtr, stdp1, stdp2, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLCC1SP(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetLCC1SP(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLCCB(double stdp1, double stdp2, double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetLCCB(swigCPtr, stdp1, stdp2, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetMC(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetMC(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetMercator(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetMercator(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetMercator2SP(double stdp1, double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetMercator2SP(swigCPtr, stdp1, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetMollweide(double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetMollweide(swigCPtr, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetNZMG(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetNZMG(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetOS(double dfOriginLat, double dfCMeridian, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetOS(swigCPtr, dfOriginLat, dfCMeridian, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetOrthographic(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetOrthographic(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetPolyconic(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetPolyconic(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetPS(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetPS(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetRobinson(double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetRobinson(swigCPtr, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetSinusoidal(double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetSinusoidal(swigCPtr, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetStereographic(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetStereographic(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetSOC(double latitudeoforigin, double cm, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetSOC(swigCPtr, latitudeoforigin, cm, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTM(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetTM(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTMVariant(string pszVariantName, double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetTMVariant(swigCPtr, pszVariantName, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTMG(double clat, double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetTMG(swigCPtr, clat, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTMSO(double clat, double clong, double scale, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetTMSO(swigCPtr, clat, clong, scale, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetVDG(double clong, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetVDG(swigCPtr, clong, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetVerticalPerspective(double topoOriginLat, double topoOriginLon, double topoOriginHeight, double viewPointHeight, double fe, double fn) { - int ret = OsrPINVOKE.SpatialReference_SetVerticalPerspective(swigCPtr, topoOriginLat, topoOriginLon, topoOriginHeight, viewPointHeight, fe, fn); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetWellKnownGeogCS(string name) { - int ret = OsrPINVOKE.SpatialReference_SetWellKnownGeogCS(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetFromUserInput(string name) { - int ret = OsrPINVOKE.SpatialReference_SetFromUserInput(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int CopyGeogCSFrom(SpatialReference rhs) { - int ret = OsrPINVOKE.SpatialReference_CopyGeogCSFrom(swigCPtr, SpatialReference.getCPtr(rhs)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetTOWGS84(double p1, double p2, double p3, double p4, double p5, double p6, double p7) { - int ret = OsrPINVOKE.SpatialReference_SetTOWGS84(swigCPtr, p1, p2, p3, p4, p5, p6, p7); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public bool HasTOWGS84() { - bool ret = OsrPINVOKE.SpatialReference_HasTOWGS84(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int GetTOWGS84(double[] argout) { - int ret = OsrPINVOKE.SpatialReference_GetTOWGS84(swigCPtr, argout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int AddGuessedTOWGS84() { - int ret = OsrPINVOKE.SpatialReference_AddGuessedTOWGS84(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetLocalCS(string pszName) { - int ret = OsrPINVOKE.SpatialReference_SetLocalCS(swigCPtr, pszName); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGeogCS(string pszGeogName, string pszDatumName, string pszEllipsoidName, double dfSemiMajor, double dfInvFlattening, string pszPMName, double dfPMOffset, string pszUnits, double dfConvertToRadians) { - int ret = OsrPINVOKE.SpatialReference_SetGeogCS(swigCPtr, pszGeogName, pszDatumName, pszEllipsoidName, dfSemiMajor, dfInvFlattening, pszPMName, dfPMOffset, pszUnits, dfConvertToRadians); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetProjCS(string name) { - int ret = OsrPINVOKE.SpatialReference_SetProjCS(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetGeocCS(string name) { - int ret = OsrPINVOKE.SpatialReference_SetGeocCS(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetVertCS(string VertCSName, string VertDatumName, int VertDatumType) { - int ret = OsrPINVOKE.SpatialReference_SetVertCS(swigCPtr, VertCSName, VertDatumName, VertDatumType); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int SetCompoundCS(string name, SpatialReference horizcs, SpatialReference vertcs) { - int ret = OsrPINVOKE.SpatialReference_SetCompoundCS(swigCPtr, name, SpatialReference.getCPtr(horizcs), SpatialReference.getCPtr(vertcs)); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromWkt(ref string ppszInput) { - int ret = OsrPINVOKE.SpatialReference_ImportFromWkt(swigCPtr, ref ppszInput); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromProj4(string ppszInput) { - int ret = OsrPINVOKE.SpatialReference_ImportFromProj4(swigCPtr, ppszInput); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromUrl(string url) { - int ret = OsrPINVOKE.SpatialReference_ImportFromUrl(swigCPtr, url); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromESRI(string[] ppszInput) { - int ret = OsrPINVOKE.SpatialReference_ImportFromESRI(swigCPtr, (ppszInput != null)? new OsrPINVOKE.StringListMarshal(ppszInput)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromEPSG(int arg) { - int ret = OsrPINVOKE.SpatialReference_ImportFromEPSG(swigCPtr, arg); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromEPSGA(int arg) { - int ret = OsrPINVOKE.SpatialReference_ImportFromEPSGA(swigCPtr, arg); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromPCI(string proj, string units, double[] argin) { - int ret = OsrPINVOKE.SpatialReference_ImportFromPCI(swigCPtr, proj, units, argin); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromUSGS(int proj_code, int zone, double[] argin, int datum_code) { - int ret = OsrPINVOKE.SpatialReference_ImportFromUSGS(swigCPtr, proj_code, zone, argin, datum_code); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromXML(string xmlString) { - int ret = OsrPINVOKE.SpatialReference_ImportFromXML(swigCPtr, xmlString); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromERM(string proj, string datum, string units) { - int ret = OsrPINVOKE.SpatialReference_ImportFromERM(swigCPtr, proj, datum, units); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromMICoordSys(string pszCoordSys) { - int ret = OsrPINVOKE.SpatialReference_ImportFromMICoordSys(swigCPtr, pszCoordSys); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ImportFromOzi(string[] papszLines) { - int ret = OsrPINVOKE.SpatialReference_ImportFromOzi(swigCPtr, (papszLines != null)? new OsrPINVOKE.StringListMarshal(papszLines)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToWkt(out string argout, string[] options) { - int ret = OsrPINVOKE.SpatialReference_ExportToWkt(swigCPtr, out argout, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToPrettyWkt(out string argout, int simplify) { - int ret = OsrPINVOKE.SpatialReference_ExportToPrettyWkt(swigCPtr, out argout, simplify); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToPROJJSON(out string argout, string[] options) { - int ret = OsrPINVOKE.SpatialReference_ExportToPROJJSON(swigCPtr, out argout, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToProj4(out string argout) { - int ret = OsrPINVOKE.SpatialReference_ExportToProj4(swigCPtr, out argout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToPCI(out string proj, out string units) { - int ret = OsrPINVOKE.SpatialReference_ExportToPCI(swigCPtr, out proj, out units); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToUSGS(out int code, out int zone, out int datum) { - int ret = OsrPINVOKE.SpatialReference_ExportToUSGS(swigCPtr, out code, out zone, out datum); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToXML(out string argout, string dialect) { - int ret = OsrPINVOKE.SpatialReference_ExportToXML(swigCPtr, out argout, dialect); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int ExportToMICoordSys(out string argout) { - int ret = OsrPINVOKE.SpatialReference_ExportToMICoordSys(swigCPtr, out argout); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public SpatialReference CloneGeogCS() { - IntPtr cPtr = OsrPINVOKE.SpatialReference_CloneGeogCS(swigCPtr); - SpatialReference ret = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public SpatialReference Clone() { - IntPtr cPtr = OsrPINVOKE.SpatialReference_Clone(swigCPtr); - SpatialReference ret = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int Validate() { - int ret = OsrPINVOKE.SpatialReference_Validate(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int MorphToESRI() { - int ret = OsrPINVOKE.SpatialReference_MorphToESRI(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int MorphFromESRI() { - int ret = OsrPINVOKE.SpatialReference_MorphFromESRI(swigCPtr); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public SpatialReference ConvertToOtherProjection(string other_projection, string[] options) { - IntPtr cPtr = OsrPINVOKE.SpatialReference_ConvertToOtherProjection(swigCPtr, other_projection, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); - SpatialReference ret = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true()); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int PromoteTo3D(string name) { - int ret = OsrPINVOKE.SpatialReference_PromoteTo3D(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - - public int DemoteTo2D(string name) { - int ret = OsrPINVOKE.SpatialReference_DemoteTo2D(swigCPtr, name); - if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); - return ret; - } - -} - -} diff --git a/Runtime/Scripts/ogr/SpatialReference.cs.meta b/Runtime/Scripts/ogr/SpatialReference.cs.meta deleted file mode 100644 index c4bc0bc..0000000 --- a/Runtime/Scripts/ogr/SpatialReference.cs.meta +++ /dev/null @@ -1,11 +0,0 @@ -fileFormatVersion: 2 -guid: e3d779fb830704aad92a0f32030bacb6 -MonoImporter: - externalObjects: {} - serializedVersion: 2 - defaultReferences: [] - executionOrder: 0 - icon: {instanceID: 0} - userData: - assetBundleName: - assetBundleVariant: diff --git a/Runtime/Scripts/ogr/StyleTable.cs b/Runtime/Scripts/ogr/StyleTable.cs index 10f6465..cfff603 100644 --- a/Runtime/Scripts/ogr/StyleTable.cs +++ b/Runtime/Scripts/ogr/StyleTable.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/wkbByteOrder.cs b/Runtime/Scripts/ogr/wkbByteOrder.cs index a5855db..add0f10 100644 --- a/Runtime/Scripts/ogr/wkbByteOrder.cs +++ b/Runtime/Scripts/ogr/wkbByteOrder.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/ogr/wkbGeometryType.cs b/Runtime/Scripts/ogr/wkbGeometryType.cs index 3474888..787eea1 100644 --- a/Runtime/Scripts/ogr/wkbGeometryType.cs +++ b/Runtime/Scripts/ogr/wkbGeometryType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/AreaOfUse.cs b/Runtime/Scripts/osr/AreaOfUse.cs index ce5000c..1018ec9 100644 --- a/Runtime/Scripts/osr/AreaOfUse.cs +++ b/Runtime/Scripts/osr/AreaOfUse.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/AxisMappingStrategy.cs b/Runtime/Scripts/osr/AxisMappingStrategy.cs index e39a63c..695417a 100644 --- a/Runtime/Scripts/osr/AxisMappingStrategy.cs +++ b/Runtime/Scripts/osr/AxisMappingStrategy.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/AxisOrientation.cs b/Runtime/Scripts/osr/AxisOrientation.cs index 65de847..ba54b91 100644 --- a/Runtime/Scripts/osr/AxisOrientation.cs +++ b/Runtime/Scripts/osr/AxisOrientation.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/CRSInfo.cs b/Runtime/Scripts/osr/CRSInfo.cs index 5544b17..c21b34b 100644 --- a/Runtime/Scripts/osr/CRSInfo.cs +++ b/Runtime/Scripts/osr/CRSInfo.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/CRSInfoList.cs b/Runtime/Scripts/osr/CRSInfoList.cs index fc8bcd9..bff1a8a 100644 --- a/Runtime/Scripts/osr/CRSInfoList.cs +++ b/Runtime/Scripts/osr/CRSInfoList.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/CRSType.cs b/Runtime/Scripts/osr/CRSType.cs index 2a5de3a..b3022ba 100644 --- a/Runtime/Scripts/osr/CRSType.cs +++ b/Runtime/Scripts/osr/CRSType.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/CoordinateTransformation.cs b/Runtime/Scripts/osr/CoordinateTransformation.cs index f96aac3..757cf2d 100644 --- a/Runtime/Scripts/osr/CoordinateTransformation.cs +++ b/Runtime/Scripts/osr/CoordinateTransformation.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -79,6 +79,13 @@ public CoordinateTransformation(SpatialReference src, SpatialReference dst, Coor if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); } + public CoordinateTransformation GetInverse() { + IntPtr cPtr = OsrPINVOKE.CoordinateTransformation_GetInverse(swigCPtr); + CoordinateTransformation ret = (cPtr == IntPtr.Zero) ? null : new CoordinateTransformation(cPtr, true, ThisOwn_true()); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public void TransformPoint(double[] inout) { OsrPINVOKE.CoordinateTransformation_TransformPoint__SWIG_0(swigCPtr, inout); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); diff --git a/Runtime/Scripts/osr/CoordinateTransformationOptions.cs b/Runtime/Scripts/osr/CoordinateTransformationOptions.cs index aa4d58b..8207153 100644 --- a/Runtime/Scripts/osr/CoordinateTransformationOptions.cs +++ b/Runtime/Scripts/osr/CoordinateTransformationOptions.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -81,8 +81,8 @@ public bool SetAreaOfInterest(double westLongitudeDeg, double southLatitudeDeg, return ret; } - public bool SetOperation(string operation) { - bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetOperation(swigCPtr, operation); + public bool SetOperation(string operation, bool inverseCT) { + bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetOperation(swigCPtr, operation, inverseCT); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -99,6 +99,12 @@ public bool SetBallparkAllowed(bool allowBallpark) { return ret; } + public bool SetOnlyBest(bool onlyBest) { + bool ret = OsrPINVOKE.CoordinateTransformationOptions_SetOnlyBest(swigCPtr, onlyBest); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + } } diff --git a/Runtime/Scripts/osr/Osr.cs b/Runtime/Scripts/osr/Osr.cs index f6370d4..5066cd5 100644 --- a/Runtime/Scripts/osr/Osr.cs +++ b/Runtime/Scripts/osr/Osr.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. diff --git a/Runtime/Scripts/osr/OsrPINVOKE.cs b/Runtime/Scripts/osr/OsrPINVOKE.cs index bd8b76b..720ff6c 100644 --- a/Runtime/Scripts/osr/OsrPINVOKE.cs +++ b/Runtime/Scripts/osr/OsrPINVOKE.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -339,6 +339,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_IsProjected___")] public static extern int SpatialReference_IsProjected(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_IsDerivedProjected___")] + public static extern int SpatialReference_IsDerivedProjected(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_IsCompound___")] public static extern int SpatialReference_IsCompound(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -354,6 +357,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_IsDynamic___")] public static extern bool SpatialReference_IsDynamic(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_HasPointMotionOperation___")] + public static extern bool SpatialReference_HasPointMotionOperation(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_GetCoordinateEpoch___")] public static extern double SpatialReference_GetCoordinateEpoch(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -597,8 +603,11 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_SetWellKnownGeogCS___")] public static extern int SpatialReference_SetWellKnownGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); - [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_SetFromUserInput___")] - public static extern int SpatialReference_SetFromUserInput(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_SetFromUserInput__SWIG_0___")] + public static extern int SpatialReference_SetFromUserInput__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_SetFromUserInput__SWIG_1___")] + public static extern int SpatialReference_SetFromUserInput__SWIG_1(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, IntPtr[] jarg3); [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_CopyGeogCSFrom___")] public static extern int SpatialReference_CopyGeogCSFrom(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -669,6 +678,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ImportFromOzi___")] public static extern int SpatialReference_ImportFromOzi(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ImportFromCF1___")] + public static extern int SpatialReference_ImportFromCF1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2, string jarg3); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToWkt___")] public static extern int SpatialReference_ExportToWkt(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, IntPtr[] jarg3); @@ -687,18 +699,30 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToUSGS___")] public static extern int SpatialReference_ExportToUSGS(global::System.Runtime.InteropServices.HandleRef jarg1, out int jarg2, out int jarg3, out int jarg5); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToERM___")] + public static extern int SpatialReference_ExportToERM(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, out string jarg3, out string jarg4); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToXML___")] public static extern int SpatialReference_ExportToXML(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2, string jarg3); [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToMICoordSys___")] public static extern int SpatialReference_ExportToMICoordSys(global::System.Runtime.InteropServices.HandleRef jarg1, out string jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToCF1___")] + public static extern global::System.IntPtr SpatialReference_ExportToCF1(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_ExportToCF1Units___")] + public static extern string SpatialReference_ExportToCF1Units(global::System.Runtime.InteropServices.HandleRef jarg1, IntPtr[] jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_CloneGeogCS___")] public static extern global::System.IntPtr SpatialReference_CloneGeogCS(global::System.Runtime.InteropServices.HandleRef jarg1); [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_Clone___")] public static extern global::System.IntPtr SpatialReference_Clone(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_StripVertical___")] + public static extern int SpatialReference_StripVertical(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_SpatialReference_Validate___")] public static extern int SpatialReference_Validate(global::System.Runtime.InteropServices.HandleRef jarg1); @@ -727,7 +751,7 @@ public virtual void Dispose() { public static extern bool CoordinateTransformationOptions_SetAreaOfInterest(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2, double jarg3, double jarg4, double jarg5); [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformationOptions_SetOperation___")] - public static extern bool CoordinateTransformationOptions_SetOperation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2); + public static extern bool CoordinateTransformationOptions_SetOperation(global::System.Runtime.InteropServices.HandleRef jarg1, string jarg2, bool jarg3); [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformationOptions_SetDesiredAccuracy___")] public static extern bool CoordinateTransformationOptions_SetDesiredAccuracy(global::System.Runtime.InteropServices.HandleRef jarg1, double jarg2); @@ -735,6 +759,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformationOptions_SetBallparkAllowed___")] public static extern bool CoordinateTransformationOptions_SetBallparkAllowed(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformationOptions_SetOnlyBest___")] + public static extern bool CoordinateTransformationOptions_SetOnlyBest(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_new_CoordinateTransformation__SWIG_0___")] public static extern global::System.IntPtr new_CoordinateTransformation__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2); @@ -744,6 +771,9 @@ public virtual void Dispose() { [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_delete_CoordinateTransformation___")] public static extern void delete_CoordinateTransformation(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformation_GetInverse___")] + public static extern global::System.IntPtr CoordinateTransformation_GetInverse(global::System.Runtime.InteropServices.HandleRef jarg1); + [global::System.Runtime.InteropServices.DllImport("osr_wrap", EntryPoint="CSharp_OSGeofOSR_CoordinateTransformation_TransformPoint__SWIG_0___")] public static extern void CoordinateTransformation_TransformPoint__SWIG_0(global::System.Runtime.InteropServices.HandleRef jarg1, double[] jarg2); diff --git a/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs b/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs new file mode 100644 index 0000000..c412c45 --- /dev/null +++ b/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs @@ -0,0 +1,32 @@ +//------------------------------------------------------------------------------ +// +// +// This file was automatically generated by SWIG (https://www.swig.org). +// Version 4.2.1 +// +// Do not make changes to this file unless you know what you are doing - modify +// the SWIG interface file instead. +//------------------------------------------------------------------------------ + +namespace OSGeo.OSR { + +using global::System; +using global::System.Runtime.InteropServices; + +public class SWIGTYPE_p_p_char { + private HandleRef swigCPtr; + + public SWIGTYPE_p_p_char(IntPtr cPtr, bool futureUse, object parent) { + swigCPtr = new HandleRef(this, cPtr); + } + + protected SWIGTYPE_p_p_char() { + swigCPtr = new HandleRef(null, IntPtr.Zero); + } + + public static HandleRef getCPtr(SWIGTYPE_p_p_char obj) { + return (obj == null) ? new HandleRef(null, IntPtr.Zero) : obj.swigCPtr; + } +} + +} diff --git a/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs.meta b/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs.meta new file mode 100644 index 0000000..42cafff --- /dev/null +++ b/Runtime/Scripts/osr/SWIGTYPE_p_p_char.cs.meta @@ -0,0 +1,2 @@ +fileFormatVersion: 2 +guid: ac620fe634afd4728aea7f8bd79c620d \ No newline at end of file diff --git a/Runtime/Scripts/osr/SpatialReference.cs b/Runtime/Scripts/osr/SpatialReference.cs index a676f60..2732871 100644 --- a/Runtime/Scripts/osr/SpatialReference.cs +++ b/Runtime/Scripts/osr/SpatialReference.cs @@ -2,7 +2,7 @@ // // // This file was automatically generated by SWIG (https://www.swig.org). -// Version 4.1.0 +// Version 4.2.1 // // Do not make changes to this file unless you know what you are doing - modify // the SWIG interface file instead. @@ -123,6 +123,12 @@ public int IsProjected() { return ret; } + public int IsDerivedProjected() { + int ret = OsrPINVOKE.SpatialReference_IsDerivedProjected(swigCPtr); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int IsCompound() { int ret = OsrPINVOKE.SpatialReference_IsCompound(swigCPtr); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); @@ -153,6 +159,12 @@ public bool IsDynamic() { return ret; } + public bool HasPointMotionOperation() { + bool ret = OsrPINVOKE.SpatialReference_HasPointMotionOperation(swigCPtr); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public double GetCoordinateEpoch() { double ret = OsrPINVOKE.SpatialReference_GetCoordinateEpoch(swigCPtr); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); @@ -645,7 +657,13 @@ public int SetWellKnownGeogCS(string name) { } public int SetFromUserInput(string name) { - int ret = OsrPINVOKE.SpatialReference_SetFromUserInput(swigCPtr, name); + int ret = OsrPINVOKE.SpatialReference_SetFromUserInput__SWIG_0(swigCPtr, name); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public int SetFromUserInput(string name, string[] options) { + int ret = OsrPINVOKE.SpatialReference_SetFromUserInput__SWIG_1(swigCPtr, name, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); return ret; } @@ -788,6 +806,12 @@ public int ImportFromOzi(string[] papszLines) { return ret; } + public int ImportFromCF1(string[] keyValues, string units) { + int ret = OsrPINVOKE.SpatialReference_ImportFromCF1(swigCPtr, (keyValues != null)? new OsrPINVOKE.StringListMarshal(keyValues)._ar : null, units); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int ExportToWkt(out string argout, string[] options) { int ret = OsrPINVOKE.SpatialReference_ExportToWkt(swigCPtr, out argout, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); @@ -824,6 +848,12 @@ public int ExportToUSGS(out int code, out int zone, out int datum) { return ret; } + public int ExportToERM(out string proj, out string datum, out string units) { + int ret = OsrPINVOKE.SpatialReference_ExportToERM(swigCPtr, out proj, out datum, out units); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int ExportToXML(out string argout, string dialect) { int ret = OsrPINVOKE.SpatialReference_ExportToXML(swigCPtr, out argout, dialect); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); @@ -836,6 +866,19 @@ public int ExportToMICoordSys(out string argout) { return ret; } + public SWIGTYPE_p_p_char ExportToCF1(string[] options) { + IntPtr cPtr = OsrPINVOKE.SpatialReference_ExportToCF1(swigCPtr, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); + SWIGTYPE_p_p_char ret = (cPtr == IntPtr.Zero) ? null : new SWIGTYPE_p_p_char(cPtr, false, ThisOwn_false()); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + + public string ExportToCF1Units(string[] options) { + string ret = OsrPINVOKE.SpatialReference_ExportToCF1Units(swigCPtr, (options != null)? new OsrPINVOKE.StringListMarshal(options)._ar : null); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public SpatialReference CloneGeogCS() { IntPtr cPtr = OsrPINVOKE.SpatialReference_CloneGeogCS(swigCPtr); SpatialReference ret = (cPtr == IntPtr.Zero) ? null : new SpatialReference(cPtr, true, ThisOwn_true()); @@ -850,6 +893,12 @@ public SpatialReference Clone() { return ret; } + public int StripVertical() { + int ret = OsrPINVOKE.SpatialReference_StripVertical(swigCPtr); + if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); + return ret; + } + public int Validate() { int ret = OsrPINVOKE.SpatialReference_Validate(swigCPtr); if (OsrPINVOKE.SWIGPendingException.Pending) throw OsrPINVOKE.SWIGPendingException.Retrieve(); From 71faf0e0059b579d06b330f477bc19e28ca4912f Mon Sep 17 00:00:00 2001 From: Paul Date: Sun, 12 May 2024 19:46:08 +0100 Subject: [PATCH 2/2] bump version --- Editor/Scripts/install_scripts.cs | 2 +- package.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Editor/Scripts/install_scripts.cs b/Editor/Scripts/install_scripts.cs index 3d3195e..d71d4a5 100644 --- a/Editor/Scripts/install_scripts.cs +++ b/Editor/Scripts/install_scripts.cs @@ -13,7 +13,7 @@ namespace OSGeo.Install { public class Install : AssetPostprocessor { - const string packageVersion = "2.1.1"; + const string packageVersion = "2.1.2"; private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets, string[] movedFromAssetPaths) { diff --git a/package.json b/package.json index d25a18b..a97f2c3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "com.virgis.gdal", - "version": "3.8.2", + "version": "3.9.0", "displayName": "Gdal", "description": "Open-Source Geospatial Data Translation LIbrary", "unity": "2018.1",