Re: [gdal-dev] Hints for debugging gdal vector drivers ?

2020-05-20 Thread Andrew C Aitchison
Evan, Thanks. Those two hints were just what I needed. On Wed, 20 May 2020, Even Rouault wrote: On mercredi 20 mai 2020 17:02:12 CEST Andrew C Aitchison wrote: I'm writing a gdal vector driver for a file-based data format. I'm getting a SIGSEGV in OGRLayer::GetExtentInternal called from ogrin

Re: [gdal-dev] Gettin' started: WMTS -> gdal2tiles

2020-05-20 Thread Dan Jacobson
Or, how would I download a few tiles, from openstreetmap, say near 24,121 lat/lon? Yes, https://github.com/OSGeo/gdal/issues/2052#issuecomment-628650934 but of course works for me, but is black. I suppose there is no way to pipe this into gdal2tiles, so I will save it as a separate file(s) first.

Re: [gdal-dev] Hints for debugging gdal vector drivers ?

2020-05-20 Thread Even Rouault
On mercredi 20 mai 2020 17:02:12 CEST Andrew C Aitchison wrote: > I'm writing a gdal vector driver for a file-based data format. > I'm getting a SIGSEGV in OGRLayer::GetExtentInternal called from > ogrinfo code when I run > /usr/local/gdal3.1.0/bin/ogrinfo /home/maps/MemoryMap/Norway-1m.qct > "

[gdal-dev] Hints for debugging gdal vector drivers ?

2020-05-20 Thread Andrew C Aitchison
I'm writing a gdal vector driver for a file-based data format. I'm getting a SIGSEGV in OGRLayer::GetExtentInternal called from ogrinfo code when I run /usr/local/gdal3.1.0/bin/ogrinfo /home/maps/MemoryMap/Norway-1m.qct "outline" on my datafiles. The stack trace below suggests that the featur

Re: [gdal-dev] Updated GDAL and PROJ, now certain datasets crash when calling GetGeoTransform

2020-05-20 Thread Even Rouault
Please keep the list posted when you reply > I didn't know it was possible for GDAL to link against multiple PROJ libs. By accident, yes. > How would I go about checking this? See https://lists.osgeo.org/pipermail/gdal-dev/2020-May/thread.html#52187 that discusses this for Linux On Windows, th

Re: [gdal-dev] Updated GDAL and PROJ, now certain datasets crash when calling GetGeoTransform

2020-05-20 Thread Even Rouault
On mercredi 20 mai 2020 14:47:00 CEST Craig Delancy wrote: > I already clean the solution before rebuilding, as I can't get a successful > build without doing this. Here is an example that causes the crash. (Readding the list without the download URL) [...] Works fine for me with gdalinfo, or wit

Re: [gdal-dev] Updated GDAL and PROJ, now certain datasets crash when calling GetGeoTransform

2020-05-20 Thread Even Rouault
On mercredi 20 mai 2020 14:32:25 CEST Craig Delancy wrote: > I've just updated my PROJ and GDAL libraries from the github source again, > building in debug configuration, and when testing discovered that certain > datasets crash while other do not. Specifically, when I call > GetGeoTransform on the

[gdal-dev] Updated GDAL and PROJ, now certain datasets crash when calling GetGeoTransform

2020-05-20 Thread Craig Delancy
I've just updated my PROJ and GDAL libraries from the github source again, building in debug configuration, and when testing discovered that certain datasets crash while other do not. Specifically, when I call GetGeoTransform on the dataset, I get an exception on line 3395 of c_api.cpp. The para