[gdal-dev] How to add labels to DEM contour lines

2024-07-15 Thread Open Land LLC via gdal-dev
Hi everyone, this is my first post. I've also posted this to https://stackoverflow.com/questions/78751101/labelling-contour-lines-with-ogr-style I'm trying to add labels to DEM contour lines. I'm working with GDAL 3.6.2. , which I installed using Anaconda . I have some DEM data from USGS which I

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
All, I've cleaned up the code I have as best I can. I removed all the code specific to our codebase and tried to remove a lot of extraneous settings. This will still require that the user set a few environment variables that will be specific to their system. Hopefully the comments I added make it

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
All, If I understand correctly. Before we do anything else, we should try to rebuilt our GDAL solution such that it uses at least Proj4 9.2.0, do I have that right? Does anyone happen to know the minimum GDAL version compatible with Proj4 9.2.0? P.S. I am still working on the code example to repe

Re: [gdal-dev] Documentation/explanation on repository structure

2024-07-15 Thread Even Rouault via gdal-dev
Hi, hopefully this proposed improvement of the developer doc https://github.com/OSGeo/gdal/pull/10427 should answer your questions Even Le 14/07/2024 à 21:57, Thomas Larsen Wessel via gdal-dev a écrit : It's hard for me to understand the structure of the repository. Is there any documentatio

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread Greg Troxel via gdal-dev
David Klaus writes: > Thank you for the input. You don't happen to know where I can find > documentation on these NADCON5 related changes? I would suggest reading the 9.2.0 release notes. There is a link to a merged PR which has further discussion. The tl;dr; is that proj matches NGS tools. Wh

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
Even, Thank you for the input. You don't happen to know where I can find documentation on these NADCON5 related changes? On Mon, Jul 15, 2024 at 12:30 PM Even Rouault wrote: > Support for US datum transformations has been vastly improved in PROJ > 9.2.0 with NADCON5 grid based transformations >

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread Even Rouault via gdal-dev
Support for US datum transformations has been vastly improved in PROJ 9.2.0 with NADCON5 grid based transformations Le 15/07/2024 à 17:46, David Klaus via gdal-dev a écrit : Greg, Thank you for that information. I will post my example code shortly. Hopefully there is an obvious mistake in my

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
Greg, Thank you for that information. I will post my example code shortly. Hopefully there is an obvious mistake in my code that is not related to Proj4 or GDAL version, On Mon, Jul 15, 2024 at 11:40 AM Greg Troxel wrote: > David Klaus writes: > > > As far as upgrading Proj4; because we build

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread Greg Troxel via gdal-dev
David Klaus writes: > As far as upgrading Proj4; because we build Proj4 statically in our custom > build, it's not a trivial task to upgrade versions. Also, I think there > might be compatibility reasons why we've stuck with 6.3.1 up until now. > > But if NAD83 realization transformation function

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
Greg, Thank you for that information. I'll put together some example code and post that shortly. As far as upgrading Proj4; because we build Proj4 statically in our custom build, it's not a trivial task to upgrade versions. Also, I think there might be compatibility reasons why we've stuck with 6

Re: [gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread Greg Troxel via gdal-dev
You didn't, as far as I can tell, post the code that is not doing what you want. Or perhaps turn that code into a small test case program. People reading that would be able to be more helpful, and the code example could help others. Proj 6.3 is quite old. I recommend you update to the latest re

[gdal-dev] GDAL 3.7.0 Proj 6.3.1 strange behavior when performing NAD83(EPSG:4152) to NAD83 HARN(EPSG:4269) realization transformation

2024-07-15 Thread David Klaus via gdal-dev
Hello, I apologize if this is not the correct forum for this question. I am currently trying to determine the cause of some strange behavior I've encountered when running a custom build of GDAL that my company uses. To be clear I don't think the behavior is a bug on GDAL's part, but I think that