From 90da08f33e40b40f9289ac9cb127935a77fa77f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Esteban=20Zim=C3=A1nyi?= Date: Mon, 7 Sep 2026 15:29:11 +0200 Subject: [PATCH] Project the surface MEOS publishes today MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The generated surface is the catalog's projection at MobilityDB d64dcffecee20e939ab227a4dbf8943b551030f4 through MEOS-API 5311fdbf0. The raster value family — `raster_value`, `raster_at_value`, `raster_minus_value`, `eraster_value` and `araster_value` — reads a trajectory, a raster and a band, which is what MEOS declares for it. `geo_is_planar_areal`, `geo_every_part_bounds_area` and `stbox_nad` join the surface. `mindistance_tgeo_tgeo` leaves it. MEOS declares it in no header and `libmeos.so` defines no such symbol — `mindistance_tcbuffer_tcbuffer` and `mindistance_tgeoarr_tgeoarr` are the two the library exports — so a wrapper naming it resolves nothing at load and the caller learns that only when the call is made. 4686 functions across 26 headers, 8 by-value structs, and 150 vendored declarations left to their own project; the object layer emits 1355 methods over 115 classes with 6 deferred. The build takes 0 warnings and the suite passes 67 of 67 with none skipped. --- MEOS.NET/Functions/Meos.Native.g.cs | 24 ++++++++++++------- MEOS.NET/Functions/Meos.meos_geo.g.cs | 3 --- .../Functions/Meos.meos_internal_geo.g.cs | 9 +++++++ MEOS.NET/Functions/Meos.meos_raster.g.cs | 20 ++++++++-------- 4 files changed, 35 insertions(+), 21 deletions(-) diff --git a/MEOS.NET/Functions/Meos.Native.g.cs b/MEOS.NET/Functions/Meos.Native.g.cs index 79b4112..fffe186 100644 --- a/MEOS.NET/Functions/Meos.Native.g.cs +++ b/MEOS.NET/Functions/Meos.Native.g.cs @@ -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); @@ -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); @@ -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); @@ -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); diff --git a/MEOS.NET/Functions/Meos.meos_geo.g.cs b/MEOS.NET/Functions/Meos.meos_geo.g.cs index 1572bda..004e592 100644 --- a/MEOS.NET/Functions/Meos.meos_geo.g.cs +++ b/MEOS.NET/Functions/Meos.meos_geo.g.cs @@ -1650,9 +1650,6 @@ public static IntPtr ShortestlineTgeoGeo(IntPtr temp, IntPtr gs) public static IntPtr ShortestlineTgeoTgeo(IntPtr temp1, IntPtr temp2) => SafeExecution(() => Native.ShortestlineTgeoTgeo(temp1, temp2)); - public static double MindistanceTgeoTgeo(IntPtr temp1, IntPtr temp2, double threshold) - => SafeExecution(() => Native.MindistanceTgeoTgeo(temp1, temp2, threshold)); - public static double MindistanceTgeoarrTgeoarr(IntPtr arr1, int count1, IntPtr arr2, int count2) => SafeExecution(() => Native.MindistanceTgeoarrTgeoarr(arr1, count1, arr2, count2)); diff --git a/MEOS.NET/Functions/Meos.meos_internal_geo.g.cs b/MEOS.NET/Functions/Meos.meos_internal_geo.g.cs index 6948fc2..42de909 100644 --- a/MEOS.NET/Functions/Meos.meos_internal_geo.g.cs +++ b/MEOS.NET/Functions/Meos.meos_internal_geo.g.cs @@ -258,6 +258,12 @@ public static bool GeoIsPlanarLinear(IntPtr gs) public static bool GeoClipSubject(IntPtr gs) => SafeExecution(() => Native.GeoClipSubject(gs)); + public static bool GeoIsPlanarAreal(IntPtr gs) + => SafeExecution(() => Native.GeoIsPlanarAreal(gs)); + + public static bool GeoEveryPartBoundsArea(IntPtr gs) + => SafeExecution(() => Native.GeoEveryPartBoundsArea(gs)); + public static bool GeoIsPointSet(IntPtr gs) => SafeExecution(() => Native.GeoIsPointSet(gs)); @@ -303,6 +309,9 @@ public static IntPtr TpointLinearRestrictGeom(IntPtr temp, IntPtr gs, bool atfun public static bool GeomMeosSupported(IntPtr geom) => SafeExecution(() => Native.GeomMeosSupported(geom)); + public static double StboxNad(IntPtr box1, IntPtr box2) + => SafeExecution(() => Native.StboxNad(box1, box2)); + public static int SpatialSrid(long d, int basetype) => SafeExecution(() => Native.SpatialSrid(d, basetype)); diff --git a/MEOS.NET/Functions/Meos.meos_raster.g.cs b/MEOS.NET/Functions/Meos.meos_raster.g.cs index 5fdcb90..b4ace01 100644 --- a/MEOS.NET/Functions/Meos.meos_raster.g.cs +++ b/MEOS.NET/Functions/Meos.meos_raster.g.cs @@ -108,20 +108,20 @@ public static bool RaquetGe(IntPtr rq1, IntPtr rq2) public static bool RaquetGt(IntPtr rq1, IntPtr rq2) => SafeExecution(() => Native.RaquetGt(rq1, rq2)); - public static IntPtr RasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx) - => SafeExecution(() => Native.RasterValue(traj, box, sample, ctx)); + public static IntPtr RasterValue(IntPtr traj, IntPtr rast, int band) + => SafeExecution(() => Native.RasterValue(traj, rast, band)); - public static IntPtr RasterAtValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan) - => SafeExecution(() => Native.RasterAtValue(traj, box, sample, ctx, vspan)); + public static IntPtr RasterAtValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan) + => SafeExecution(() => Native.RasterAtValue(traj, rast, band, vspan)); - public static IntPtr RasterMinusValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan) - => SafeExecution(() => Native.RasterMinusValue(traj, box, sample, ctx, vspan)); + public static IntPtr RasterMinusValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan) + => SafeExecution(() => Native.RasterMinusValue(traj, rast, band, vspan)); - public static int ErasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan) - => SafeExecution(() => Native.ErasterValue(traj, box, sample, ctx, vspan)); + public static int ErasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan) + => SafeExecution(() => Native.ErasterValue(traj, rast, band, vspan)); - public static int ArasterValue(IntPtr traj, IntPtr box, IntPtr sample, IntPtr ctx, IntPtr vspan) - => SafeExecution(() => Native.ArasterValue(traj, box, sample, ctx, vspan)); + public static int ArasterValue(IntPtr traj, IntPtr rast, int band, IntPtr vspan) + => SafeExecution(() => Native.ArasterValue(traj, rast, band, vspan)); public static IntPtr RasterValueGdal(IntPtr traj, string path, int band) => SafeExecution(() => Native.RasterValueGdal(traj, path, band));