Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
from your system. JBA Risk Management Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: gdal-dev On Behalf Of Jon Morris via gdal-dev Sent: 15 May 2025 12:25 To: gdal dev Subject: Re: [gda

Re: [gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. -Original Message- From: Rahkonen Jukka Sent: 15 May 2025 12:16 To: gdal dev ; Jon Morris Subject: Re: Building GDAL with rtree support CAUTION: This email originated from

[gdal-dev] Building GDAL with rtree support

2025-05-15 Thread Jon Morris via gdal-dev
PWT_URL=https://github.com/rouault/PublicDecompWT \ -DWERROR_DEV_FLAG="-Werror=dev" \ -DPython_LOOKUP_VERSION=3.8 \ -DUSE_CCACHE=OFF \ -DCMAKE_INTERPROCEDURAL_OPTIMIZATION=ON \ -DGDAL_USE_TIFF_INTERNAL=ON \ -DGDAL_USE_GEOTIFF_INTERNAL=ON \

Re: [gdal-dev] Vector VRT with OGRVRTUnionLayer

2025-05-07 Thread Jon Morris via gdal-dev
ssage- From: Rahkonen Jukka Sent: 06 May 2025 21:36 To: gdal-dev@lists.osgeo.org; Jon Morris Subject: Re: Vector VRT with OGRVRTUnionLayer CAUTION: This email originated from outside of JBA and contains one or more links. DO NOT click links unless you recognise the sender's email address

[gdal-dev] Vector VRT with OGRVRTUnionLayer

2025-05-06 Thread Jon Morris via gdal-dev
t;,east, ORDER[2], ANGLEUNIT["degree",0.0174532925199433]], USAGE[ SCOPE["Horizontal component of 3D system."], AREA["World."], BBOX[-90,-180,90,180]], ID["EPSG",4326]] Data axis to CRS axis mapping: 2,1 Geome

[gdal-dev] Detecting SPARSE rasters

2024-06-28 Thread Jon Morris via gdal-dev
rting sparse rasters, and if so, does anyone know which version of ArcMap 10.x? (Our clients are mostly on older versions, not sure if any are using Pro yet). Thanks, Jon Jon Morris Software Developer -- e: jon.mor...@jbarisk.com d:+44 (0)1756 587229 t: +44 (0)1756 799919 www.jbarisk.com All J

Re: [gdal-dev] Intermittent failure with Python mocks

2023-04-14 Thread Jon Morris
gland. From: Sean Gillies Sent: Thursday, April 13, 2023 3:14 PM To: Jon Morris Cc: gdal dev Subject: Re: [gdal-dev] Intermittent failure with Python mocks CAUTION: This email originated from outside of JBA and contains one or more links and one or more attachments. DO NOT click links or

[gdal-dev] Intermittent failure with Python mocks

2023-04-13 Thread Jon Morris
I'm getting intermittent fails with our Python unit tests and I wondered if anyone has seen the same issue. I think it's a race condition where a mock patch is either not applied at all or maybe applied too slowly so the patched function still has its original return value. It might be a pytest

Re: [gdal-dev] FileGDB_COMPILE fails during CMake

2023-03-09 Thread Jon Morris
ted is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. -Original Message- From: Scott Sent: 27 February 2023 16:03 To: Jon Morris ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] FileGDB_COMPILE fails

Re: [gdal-dev] FileGDB_COMPILE fails during CMake

2023-02-27 Thread Jon Morris via gdal-dev
ck links unless you recognise the sender's email address and are absolutely certain that the content is safe. See the Phishing page on IMS on SP for more information about how to spot and report suspicious messages. With gdal >= 3.6 OpenFileGDB is built in by default, no need for external A

[gdal-dev] FileGDB_COMPILE fails during CMake

2023-02-24 Thread Jon Morris
Hi all, I've been upgrading our build script from autotools to CMake and I've almost got it working, except for FileGDB. I've added the cmake parameters -DFileGDB_ROOT=/usr/local/FileGDB_API -DFileGDB_INCLUDE_DIR=/usr/local/FileGDB_API/include and the paths are correct. The earlier FileGDB in

Re: [gdal-dev] Motion: adopt RFC 87: Signed int8 data type for raster

2022-11-17 Thread Jon Morris
I concur that signed byte data is fairly common and we have to handle it in our Python application. The recent addition of Int64 types actually broke the dictionary-based way we were converting between numpy and GDAL datatypes and we had to implement a more robust solution. Is it the case that

Re: [gdal-dev] GetFID incorrect after sorting layer

2022-06-22 Thread Jon Morris
___ From: Even Rouault Sent: 22 June 2022 16:09 To: Jon Morris ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] GetFID incorrect after sorting layer Jon, this is a bug on the result SQL layer implementation of GetFeature(). Can you file a ticket in https://github.com/OSGeo/gdal/issues/

[gdal-dev] GetFID incorrect after sorting layer

2022-06-22 Thread Jon Morris
Hello all, I’m having trouble getting features in a layer after sorting with SQL query. It seems that the FIDs change when the layer is sorted. I’m ok with that, but if you take the id returned by GetFID and call GetFeature on the layer, you get a different feature. I would have thought GetFID/

Re: [gdal-dev] Faster alternative to GetFeatureCount?

2022-01-20 Thread Jon Morris
between the ones you want. See https://github.com/OSGeo/gdal/blob/master/ogr/ogrsf_frmts/csv/ogrcsvlayer.cpp#L1667. Can you switch to a more optimized format? On Thu, Jan 20, 2022 at 2:02 AM Jon Morris mailto:jon.mor...@jbarisk.com>> wrote: I'm writing applications using the GDAL Python

Re: [gdal-dev] Faster alternative to GetFeatureCount?

2022-01-20 Thread Jon Morris
this email from your system. JBA Risk Management Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: Ian Turton Sent: 20 January 2022 10:55 To: Jon Morris Cc: gdal-dev@lists.osgeo.org Subject

Re: [gdal-dev] Faster alternative to GetFeatureCount?

2022-01-20 Thread Jon Morris
hton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: Roman Breitfuss-Schiffer Sent: 20 January 2022 10:38 To: Jon Morris ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Faster alternative to GetFeatureCount? CAUTION: This email originated from outside of JBA and co

[gdal-dev] Faster alternative to GetFeatureCount?

2022-01-20 Thread Jon Morris
is if the layer has has 0, 1 or >1 features, I don't need the actual count. Can anyone suggest the fastest way of doing this in Python? I'm using GDAL 3.3.1 at the moment but could upgrade if there is new functionality that would help. Thanks, Jon Jon Morris Software Developer e:

Re: [gdal-dev] Recalculating spatial index with FileGDB driver

2021-08-25 Thread Jon Morris
anagement Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: Even Rouault Sent: 25 August 2021 16:13 To: Jon Morris ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Recalculating spatial index with

[gdal-dev] Recalculating spatial index with FileGDB driver

2021-08-25 Thread Jon Morris
f you add a feature with the larger geom before doing the update, it works fine. The error is only when you try and update the existing small feature. Thanks, Jon Jon Morris Software Developer e: jon.mor...@jbarisk.com t: +44 (0)1756 799919 www.jbarisk.com All JBA Risk Management's e

Re: [gdal-dev] How to stop gdal_translate using overviews when resampling

2021-05-28 Thread Jon Morris
mail by mistake and delete this email from your system. JBA Risk Management Limited is registered in England, company number 07732946, 1 Broughton Park, Old Lane North, Broughton, Skipton, North Yorkshire, BD23 3FD, England. From: Even Rouault Sent: 28 May 2021 15:03 To: Jon Morris ; gdal

[gdal-dev] How to stop gdal_translate using overviews when resampling

2021-05-28 Thread Jon Morris
lar in the docs or the code when it comes to gdal_translate. Should overviews make a difference? Is there any way to disable this behaviour, so the resampling is always done using the input raster and not the overviews? Thanks, Jon Jon Morris Software Developer e: jon.mor...@jbarisk.com t: +

Re: [gdal-dev] Duplicate pixels in VRT

2020-12-23 Thread Jon Morris
ages reported by GDAL 2 and 3, as well as the sizes in pixels, and if images are of type "pixel is area" or "pixel is point". DEM kind of images are sometimes intentionally produced to have overlap. -Jukka Rahkonen- Jon Morris wrote > Hello all, > > I've come ac

[gdal-dev] Duplicate pixels in VRT

2020-12-22 Thread Jon Morris
tum_1983", SPHEROID["GRS 1980",6378137,298.257222101004,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6269"]], PRIMEM["Greenwich",0],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY[&

Re: [gdal-dev] GDAL conda build

2020-11-19 Thread Jon Morris
d Training Services co-founder of FOSS4G http://gatewaygeo.com/ On 2020-11-17 10:06 a.m., Jon Morris wrote: > Hi Jeff, > > No problem, I can do that. Does it need to be approved, or do people just > keep editing until we're all happy with it? > > Thanks, > > Jon >

Re: [gdal-dev] GDAL conda build

2020-11-17 Thread Jon Morris
needed) thanks, -jeff -- Jeff McKenna MapServer Consulting and Training Services co-founder of FOSS4G http://gatewaygeo.com/ On 2020-11-17 7:33 a.m., Jon Morris wrote: > Hi Jeff, > > I don't feel I know enough about the process to start to update that page, as > there is quite

Re: [gdal-dev] GDAL conda build

2020-11-17 Thread Jon Morris
gdal-dev On Behalf Of Jeff McKenna Sent: 16 November 2020 12:54 To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] GDAL conda build On 2020-11-11 9:00 a.m., Jon Morris wrote: > Hi Paul, > > Thanks for your reply. The only reason we're trying to build locally > is to add FileGDB

Re: [gdal-dev] GDAL conda build

2020-11-13 Thread Jon Morris
. Thanks, Jon From: Paul Harwood Sent: 11 November 2020 13:36 To: Jon Morris Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] GDAL conda build The documents are horrendously out of date - I know :) I am assuming that you have seen this and that it does not meet your reqs https://gdal.org

Re: [gdal-dev] GDAL conda build

2020-11-11 Thread Jon Morris
ot;GDAL Windows Building example for Plugins" links to https://trac.osgeo.org/gdal/wiki/BuildingOnWindows. The only reason I'm building 3.1.4 is because when I started, 3.2.0 wasn't out yet... Thanks, Jon From: Paul Harwood Sent: 11 November 2020 09:18 To: Jon Morris Cc: gdal-d

[gdal-dev] GDAL conda build

2020-11-10 Thread Jon Morris
minor version set to 23. I'll also ask over at conda as this is most likely a conda build problem, but I thought I would also ask here if anyone has successfully built a conda package and knows how to get this recipe working. Many thanks! Jon Jon Morris Software Developer COVID-19. Dur

[gdal-dev] gdalbuildvrt cannot specify srcnodata for multiple bands

2020-09-25 Thread Jon Morris
separated values, e.g. "1 2 3". When I examine the created VRT, the nodata value for each band is 1. It's taken the first value and ignored the other two. Am I doing this right? I'm still using GDAL 2.2.0, so apologies if this has been fixed in a more recent version. Tha

Re: [gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
m: Even Rouault Sent: 08 June 2020 10:41 To: gdal-dev@lists.osgeo.org Cc: Jon Morris Subject: Re: [gdal-dev] Segmentation fault on BuildOverviews Jon, thanks for the report. I've just pushed a fix for that Even > Hello all, > > I think I've found an edge case in gdal

[gdal-dev] Segmentation fault on BuildOverviews

2020-06-08 Thread Jon Morris
that the raster dimensions are important. I couldn't get it to fail if the width was equal to or greater than the height. Thanks, Jon Jon Morris Software Developer Skype COVID-19. During the current outbreak JBA remains open for business and we continue to deliver our services. However, w

Re: [gdal-dev] Documentation for previous versions

2020-06-05 Thread Jon Morris
Hi Thomas, Looks like that is my best bet. Python docs are on there, so Wayback Machine saves the day again! Thanks, Jon From: Thomas Juntunen Sent: 04 June 2020 15:12 To: Jon Morris Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Documentation for previous versions Hi Jon, Maybe the

[gdal-dev] Documentation for previous versions

2020-06-04 Thread Jon Morris
erent version of the docs at https://gdal.org/python/index.html. Thanks, Jon Jon Morris Software Developer Skype COVID-19. During the current outbreak JBA remains open for business and we continue to deliver our services. However, we have adopted flexible/remote workingas required. I wi

Re: [gdal-dev] cannot write to gdal_array

2020-03-13 Thread Jon Morris
n Rouault Sent: 13 March 2020 15:42 To: gdal-dev@lists.osgeo.org Cc: Jon Morris Subject: Re: [gdal-dev] cannot write to gdal_array Jon, > I'm trying to upgrade from GDAL 2.2.0 to 3.0.4 and some of our tests > are failing. We're using gdal_array.OpenArray() to create temporary > d

[gdal-dev] cannot write to gdal_array

2020-03-13 Thread Jon Morris
dataset opened in read-only mode." I can't see any way to open a gdal_array in update mode, so is this a change in behaviour between 2.2 and 3.0? Should we be able to write to these datasets, or should I change the failing tests to use the MEM driver instead? Thanks, Jon Jon Morris

Re: [gdal-dev] Cannot set simple geotransform

2020-02-05 Thread Jon Morris
lt;http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [http://www.jbagroup.co.uk/imgstore/JBA-Email-Sig-Icons-LINKEDIN.png] <https://www.linkedin.com/in/jon-morris-a2897b4/> [Follow us on Twitter] <https://twitter.com/jbarisk> Our postal address and registered of

[gdal-dev] Cannot set simple geotransform

2020-02-05 Thread Jon Morris
te) In [278]: ds.GetGeoTransform() Out[278]: (0.0, 1.0, 0.0, 0.0, 0.0, -1.1) Thanks, Jon Jon Morris Software Developer Skype T +44 (0) 1756 799919 www.jbarisk.com<http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [http://www.jbagroup.co.uk/imgstore/JBA-E

Re: [gdal-dev] FileGDB create layer error

2019-10-25 Thread Jon Morris
> > >-Original Message- >From: Even Rouault >Sent: 25 October 2019 09:39 >To: gdal-dev@lists.osgeo.org >Cc: Jon Morris >Subject: Re: [gdal-dev] FileGDB create layer error > >On vendredi 25 octobre 2019 08:19:54 CEST Jon Morris wrote: >> Hi All, >&g

[gdal-dev] FileGDB create layer error

2019-10-25 Thread Jon Morris
OK. I want to be sure that users are not going to encounter this error, and that our tool is able to handle their data. Thanks, Jon Jon Morris Software Developer Skype T +44 (0) 1756 799919 www.jbarisk.com<http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [ht

Re: [gdal-dev] Intermittent raster read/write error

2019-03-15 Thread Jon Morris
Great. Many thanks for the quick fix and for all your great work so far! Jon -Original Message- From: Even Rouault Sent: 14 March 2019 16:17 To: gdal-dev@lists.osgeo.org Cc: Jon Morris Subject: Re: [gdal-dev] Intermittent raster read/write error Jon, > Is there a better way

Re: [gdal-dev] Intermittent raster read/write error

2019-03-14 Thread Jon Morris
ter way to determine that a write has failed? We've enabled gdal.UseExceptions, but if you call rb.WriteArray() on a read-only dataset, no error is raised. There is a write to stderr, but no exception. Jon From: gdal-dev On Behalf Of Jon Morris Sent: 07 March 2019 11:39 To: gdal-dev@lists.os

[gdal-dev] Intermittent raster read/write error

2019-03-07 Thread Jon Morris
not occur. I'm suspecting it's a floating point rounding error, but can't really tell. I'm still trying to track down the cause really, but I just wondered if this sounded familiar to anyone and/or if there were any solutions. Thanks, Jon Jon Morris Software Devel

Re: [gdal-dev] How to read all metadata from GeoTIFF file?

2018-09-14 Thread Jon Morris
list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev T +44 (0) 1756 799919 www.jbarisk.com<http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [http://www.jbagroup.co.uk/imgstore/JBA-Email-Sig-Icons-LINKEDIN.png] <https://www.linkedin.com/in/jon-morris-a2897b4/> [Follow us on Twitter] <https://twitter.com/jbarisk> ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Polygon intersection failure

2018-07-17 Thread Jon Morris
can go back and try and perform the intersection manually for just those features? Thanks, Jon Jon Morris Software Developer Skype T +44 (0) 1756 799919 www.jbarisk.com<http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [http://www.jbagroup.co.uk/imgstore/

Re: [gdal-dev] Dissolve large amount of geometries

2018-06-29 Thread Jon Morris
professional services http://www.spatialys.com T +44 (0) 1756 799919 www.jbarisk.com<http://www.jbarisk.com> [Visit our website]<http://www.jbarisk.com> [http://www.jbagroup.co.uk/imgstore/JBA-Email-Sig-Icons-LINKEDIN.png] <https://www.linkedin.com/in/jon-morris-a2897b4/> [Follow us on Twitter] <https://twitter.com/jbarisk> ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] GDAL make error

2017-11-10 Thread Jon Morris
hy would extra options be enabled when we haven't made any changes to the makefile? And are these extra options likely to be the failure in building libgdal.so? Thanks, Jon Jon Morris Software Developer t: +44 (0) 1756 799919 Please click here<http://www.jbarisk.com/get-touch> if you w