Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4,059 changes: 4,059 additions & 0 deletions GAP-LEDGER.md

Large diffs are not rendered by default.

24 changes: 16 additions & 8 deletions MEOS.NET/Functions/Meos.Native.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -6452,9 +6452,6 @@ private static partial class Native
[LibraryImport(DllPath, EntryPoint = "shortestline_tgeo_tgeo", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr ShortestlineTgeoTgeo(IntPtr temp1, IntPtr temp2);

[LibraryImport(DllPath, EntryPoint = "mindistance_tgeo_tgeo", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double MindistanceTgeoTgeo(IntPtr temp1, IntPtr temp2, double threshold);

[LibraryImport(DllPath, EntryPoint = "mindistance_tgeoarr_tgeoarr", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double MindistanceTgeoarrTgeoarr(IntPtr arr1, int count1, IntPtr arr2, int count2);

Expand Down Expand Up @@ -9224,6 +9221,14 @@ private static partial class Native
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoClipSubject(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_is_planar_areal", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoIsPlanarAreal(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_every_part_bounds_area", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoEveryPartBoundsArea(IntPtr gs);

[LibraryImport(DllPath, EntryPoint = "geo_is_point_set", StringMarshalling = StringMarshalling.Utf8)]
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeoIsPointSet(IntPtr gs);
Expand Down Expand Up @@ -9275,6 +9280,9 @@ private static partial class Native
[return: MarshalAs(UnmanagedType.U1)]
internal static partial bool GeomMeosSupported(IntPtr geom);

[LibraryImport(DllPath, EntryPoint = "stbox_nad", StringMarshalling = StringMarshalling.Utf8)]
internal static partial double StboxNad(IntPtr box1, IntPtr box2);

[LibraryImport(DllPath, EntryPoint = "spatial_srid", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int SpatialSrid(long d, int basetype);

Expand Down Expand Up @@ -12075,19 +12083,19 @@ private static partial class Native
internal static partial bool RaquetGt(IntPtr rq1, IntPtr rq2);

[LibraryImport(DllPath, EntryPoint = "raster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx);
internal static partial IntPtr RasterValue(IntPtr traj, IntPtr rast, int band);

[LibraryImport(DllPath, EntryPoint = "raster_at_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterAtValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial IntPtr RasterAtValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "raster_minus_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterMinusValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial IntPtr RasterMinusValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "eraster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int ErasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial int ErasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "araster_value", StringMarshalling = StringMarshalling.Utf8)]
internal static partial int ArasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan);
internal static partial int ArasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan);

[LibraryImport(DllPath, EntryPoint = "raster_value_gdal", StringMarshalling = StringMarshalling.Utf8)]
internal static partial IntPtr RasterValueGdal(IntPtr traj, string path, int band);
Expand Down
3 changes: 0 additions & 3 deletions MEOS.NET/Functions/Meos.meos_geo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1650,9 +1650,6 @@ public static IntPtr ShortestlineTgeoGeo(IntPtr temp, IntPtr gs)
public static IntPtr ShortestlineTgeoTgeo(IntPtr temp1, IntPtr temp2)
=> SafeExecution<IntPtr>(() => Native.ShortestlineTgeoTgeo(temp1, temp2));

public static double MindistanceTgeoTgeo(IntPtr temp1, IntPtr temp2, double threshold)
=> SafeExecution<double>(() => Native.MindistanceTgeoTgeo(temp1, temp2, threshold));

public static double MindistanceTgeoarrTgeoarr(IntPtr arr1, int count1, IntPtr arr2, int count2)
=> SafeExecution<double>(() => Native.MindistanceTgeoarrTgeoarr(arr1, count1, arr2, count2));

Expand Down
17 changes: 3 additions & 14 deletions MEOS.NET/Functions/Meos.meos_internal.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -356,20 +356,9 @@ public static bool EnsureSameIndexBboxtype(int bboxtype1, int bboxtype2)
public static bool EnsureIndexJoinOp(int op)
=> SafeExecution<bool>(() => Native.EnsureIndexJoinOp(op));

public static IntPtr[] BboxTemporalSplitBoxes(int bboxtype, ulong boxsize, IntPtr temp, int maxboxes)
{
IntPtr _cnt = Marshal.AllocHGlobal(sizeof(int));
try
{
IntPtr _p = SafeExecution<IntPtr>(() => Native.BboxTemporalSplitBoxes(bboxtype, boxsize, temp, maxboxes, _cnt));
int _n = Marshal.ReadInt32(_cnt);
IntPtr[] _out = new IntPtr[_n];
for (int _i = 0; _i < _n; _i++)
{ _out[_i] = Marshal.ReadIntPtr(_p, _i * IntPtr.Size); }
return _out;
}
finally { Marshal.FreeHGlobal(_cnt); }
}
// GAP bbox_temporal_split_boxes: the catalog states this answers an array and
// states no element type for it — `void *` names neither the type to read an
// element as nor the width to step by

public static bool SpanContains(IntPtr s1, IntPtr s2)
=> SafeExecution<bool>(() => Native.SpanContains(s1, s2));
Expand Down
9 changes: 9 additions & 0 deletions MEOS.NET/Functions/Meos.meos_internal_geo.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -258,6 +258,12 @@ public static bool GeoIsPlanarLinear(IntPtr gs)
public static bool GeoClipSubject(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoClipSubject(gs));

public static bool GeoIsPlanarAreal(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoIsPlanarAreal(gs));

public static bool GeoEveryPartBoundsArea(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoEveryPartBoundsArea(gs));

public static bool GeoIsPointSet(IntPtr gs)
=> SafeExecution<bool>(() => Native.GeoIsPointSet(gs));

Expand Down Expand Up @@ -303,6 +309,9 @@ public static IntPtr TpointLinearRestrictGeom(IntPtr temp, IntPtr gs, bool atfun
public static bool GeomMeosSupported(IntPtr geom)
=> SafeExecution<bool>(() => Native.GeomMeosSupported(geom));

public static double StboxNad(IntPtr box1, IntPtr box2)
=> SafeExecution<double>(() => Native.StboxNad(box1, box2));

public static int SpatialSrid(long d, int basetype)
=> SafeExecution<int>(() => Native.SpatialSrid(d, basetype));

Expand Down
20 changes: 10 additions & 10 deletions MEOS.NET/Functions/Meos.meos_raster.g.cs
Original file line number Diff line number Diff line change
Expand Up @@ -108,20 +108,20 @@ public static bool RaquetGe(IntPtr rq1, IntPtr rq2)
public static bool RaquetGt(IntPtr rq1, IntPtr rq2)
=> SafeExecution<bool>(() => Native.RaquetGt(rq1, rq2));

public static IntPtr RasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx)
=> SafeExecution<IntPtr>(() => Native.RasterValue(traj, box, sample, ctx));
public static IntPtr RasterValue(IntPtr traj, IntPtr rast, int band)
=> SafeExecution<IntPtr>(() => Native.RasterValue(traj, rast, band));

public static IntPtr RasterAtValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterAtValue(traj, box, sample, ctx, vspan));
public static IntPtr RasterAtValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterAtValue(traj, rast, band, vspan));

public static IntPtr RasterMinusValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterMinusValue(traj, box, sample, ctx, vspan));
public static IntPtr RasterMinusValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<IntPtr>(() => Native.RasterMinusValue(traj, rast, band, vspan));

public static int ErasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<int>(() => Native.ErasterValue(traj, box, sample, ctx, vspan));
public static int ErasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<int>(() => Native.ErasterValue(traj, rast, band, vspan));

public static int ArasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan)
=> SafeExecution<int>(() => Native.ArasterValue(traj, box, sample, ctx, vspan));
public static int ArasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan)
=> SafeExecution<int>(() => Native.ArasterValue(traj, rast, band, vspan));

public static IntPtr RasterValueGdal(IntPtr traj, string path, int band)
=> SafeExecution<IntPtr>(() => Native.RasterValueGdal(traj, path, band));
Expand Down
Loading
Loading