Skip to content

Commit

Permalink
Merge pull request #31 from ViRGIS-Team/3.9.0
Browse files Browse the repository at this point in the history
3.9.0
  • Loading branch information
runette authored May 12, 2024
2 parents d1aaa95 + 71faf0e commit 031520e
Show file tree
Hide file tree
Showing 139 changed files with 2,625 additions and 3,124 deletions.
2 changes: 1 addition & 1 deletion Editor/Scripts/install_scripts.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
128 changes: 125 additions & 3 deletions Runtime/Scripts/const/GdalConst.cs

Large diffs are not rendered by default.

376 changes: 371 additions & 5 deletions Runtime/Scripts/const/GdalConstPINVOKE.cs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/Access.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/AsyncReader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/AsyncStatusType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
12 changes: 9 additions & 3 deletions Runtime/Scripts/gdal/Attribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down Expand Up @@ -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;
}
Expand Down Expand Up @@ -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;
}

}

}
17 changes: 11 additions & 6 deletions Runtime/Scripts/gdal/Band.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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);
Expand Down Expand Up @@ -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();
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/CPLErr.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/ColorEntry.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/ColorInterp.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
2 changes: 1 addition & 1 deletion Runtime/Scripts/gdal/ColorTable.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand Down
5 changes: 3 additions & 2 deletions Runtime/Scripts/gdal/DataType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
// <auto-generated />
//
// 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.
Expand All @@ -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,
Expand All @@ -25,7 +26,7 @@ public enum DataType {
GDT_CInt32 = 9,
GDT_CFloat32 = 10,
GDT_CFloat64 = 11,
GDT_TypeCount = 12
GDT_TypeCount = 15
}

}
Loading

0 comments on commit 031520e

Please sign in to comment.