Re: [gdal-dev] python - convert CSV of point coordinates to geopackage

2022-06-16 Thread Alan Snow
These references may be helpful: https://geopandas.org/en/stable/docs/user_guide/io.html https://geopandas.org/en/stable/docs/reference/api/geopandas.points_from_xy.html On Thu, Jun 16, 2022, 7:14 PM Emily Soth wrote: > Hi, > > I am trying to create a geopackage from a CSV of point coordinate

[gdal-dev] python - convert CSV of point coordinates to geopackage

2022-06-16 Thread Emily Soth
Hi, I am trying to create a geopackage from a CSV of point coordinates making use of the X_POSSIBLE_NAMES and Y_POSSIBLE_NAMES open options on the CSV driver. I have tried a few things (details are in a gist ). To summarize, I can on

Re: [gdal-dev] Proposed new driver to handle Basis Universal / KTX2 textures

2022-06-16 Thread Even Rouault
Jean-Roc, those formats have potential to be loaded on the GPU with very few processing, as far as I understand their description. And the BinomialLLC/basis_universal code is able to do that typically. That said in a GDAL context, full decompression/compression will be done as there's no dir

Re: [gdal-dev] Proposed new driver to handle Basis Universal / KTX2 textures

2022-06-16 Thread Jean-Roc Morreale (ml)
Hi Even, Out of curiosity, what are the possible usecases for geospatial tasks, georeferenced normal/displacement mapping straight to the gpu ? regards, JR Le mercredi 15 juin 2022 à 16:51 +0200, Even Rouault a écrit : > Hi, > > There's interest for adding a new read/write raster GDAL driver fo

Re: [gdal-dev] dfMaxAngleStepSizeDegrees in ApproximateArcAngles

2022-06-16 Thread Joaquim Manuel Freire Luís
Ah ghrr, I missed one argin in my wrapping (the dfRotation) and probably because the dfMaxAngleStepSizeDegrees has a default value, an error was not triggered. Now it works. Sorry for the noise. From: Even Rouault Sent: Thursday, June 16, 2022 5:49 PM To: Joaquim Manuel Freire Luís ; gdal-dev@

Re: [gdal-dev] dfMaxAngleStepSizeDegrees in ApproximateArcAngles

2022-06-16 Thread Even Rouault
I can't replicate that. Below the output with the Python bindings that directly map OGR_G_ApproximateArcAngles(): from osgeo import ogr >>> g = ogr.ApproximateArcAngles(0, 0, 0, 1, 1, 0, 0, -90, 0) >>> g.FlattenTo2D() >>> g.ExportToWkt() 'LINESTRING (1 0,0.997668769190539 0.068242413364671,0.9

[gdal-dev] dfMaxAngleStepSizeDegrees in ApproximateArcAngles

2022-06-16 Thread Joaquim Manuel Freire Luís
Even, I wrapped OGR_G_ApproximateArcAngles() in Julia and I think there is something wrong with the dfMaxAngleStepSizeDegrees argument (here shortcut to ‘inc’) This is fine (just repeating the default 0.0 value). Note, I’m dropping the z (=0) argin but that’s only the julia wrapper interface.