Dan Baston

Results 265 comments of Dan Baston

Do the `_CENTER_X_` and `_CENTER_Y_` built-in variables work for you, or do you need lat/lon values for a raster in projected coordinates?

They are the cell center X/Y in the dataset CRS. They're described on the VRT driver page under the "expression" pixel function (https://gdal.org/en/latest/drivers/raster/vrt.html#built-in-pixel-functions). But I can appreciate that you would...

Yes, I get a schema with no features.

I don't especially like GEOS' approach of silently dropping non-linear geometries, so either GDAL will need to do some careful filtering of what it provides to GEOSLineMerge, or I'll need...

> @dbaston I never heard about Python stubs. Are you familiar with that? I understand it to mean that we provide type annotations, but as a separate file rather than...

Using `gdal vector sort` to create a cloud-optimized shapefile :slightly_smiling_face: of parcels in the Vosges and filtering out the bounding box of Le Vermont: ``` CPL_CURL_VERBOSE=1 gdal vector filter /vsicurl/http://localhost:8023/parcelles_strtree.shp...

cc @calvinmetcalf

Thanks @lbartoletti , this is helpful. It makes sense that the exception would be raised from `e1.intersects(q.x, q.y)`. Looking at that overload I can see that it uses comparison operators...

The formula being used is this one: https://stats.stackexchange.com/a/13223 Why this formula? From my notes of several years ago: ``` // Unlike spatstat::weighted.quantile, it matches the default behavior of the //...

See also https://search.r-project.org/CRAN/refmans/spatstat.univar/html/weighted.median.html