Re: [gdal-dev] Linking issue in Windows

2025-06-02 Thread Andrew Bell via gdal-dev
tderivedrasterband.cpp.obj) : error LNK2019: unresolved > external symbol __std_find_end_1 referenced in function "char const * > __cdecl std::_Find_end_vectorized(char const * > const,char const * const,char const * const,unsigned __int64)" > (??$_Find_end_vectorized@$$CBD$$CBD@std@@YAPEBDQEBD00

Re: [gdal-dev] [External] : Re: libgdal.so.36 refers to sqlite library with full path

2025-05-14 Thread Andrew Bell via gdal-dev
You can use patchelf or a similar program to modify dependencies. -- Andrew Bell andrew.bell...@gmail.com On Wed, May 14, 2025, 6:10 PM Fengting Chen via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Both GDAL and PROJ refer to my custom build sqlite3 library. The sqlite3 > e

[gdal-dev] RFCs

2025-05-14 Thread Andrew Bell via gdal-dev
there is to read through, the less likely that I'll find the correct information that I'm looking for. Thoughts? -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] OSX Dev Build

2025-05-02 Thread Andrew Bell via gdal-dev
rt_helper return importlib.import_module('_gdal') ~~~^ File "/Users/abell/miniconda3/envs/gdal.2/lib/python3.13/importlib/__init__.py", line 88, in import_module return _bootstrap._gcd_import(name[level:], p

[gdal-dev] Search This Mailing List?

2025-05-02 Thread Andrew Bell via gdal-dev
Hi, Is there an easy way to search the archives of this mailing list? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] How can I avoid absolute path to shared libraries in libgdal.so

2025-04-30 Thread Andrew Bell via gdal-dev
uot; ` > > -DGDAL_USE_EXPAT=ON -DEXPAT_INCLUDE_DIR="$EXPAT_INCLUDE" > -DEXPAT_LIBRARY="$EXPAT_LIB" ` > > -DGDAL_USE_SQLITE3=ON -DSQLite3_INCLUDE_DIR="$SQLITE_INCLUDE" > -DSQLite3_LIBRARY="$SQLITE_LIB" ` > > -DACCEPT_MISSING_SQLITE3_MUTEX_ALLOC:BOOL=ON > -DACCEPT_MIS

Re: [gdal-dev] Improving GDAL production in our release

2025-01-06 Thread Andrew Bell via gdal-dev
are not the recipient, you are hereby > notified that any disclosure, copying, distribution or taking action in > relation of the contents of this information is strictly prohibited and may > be unlawful. > > ___ > gdal-de

Re: [gdal-dev] Call for review on RFC 104: Adding a "gdal" front-end command line interface

2024-11-18 Thread Andrew Bell via gdal-dev
__ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Call to GDALDestroy results in occasional core dump, GDAL 3.4.2

2024-09-18 Thread Andrew Bell via gdal-dev
xiting, I can't imagine you need to call GDALDestroy() at all. You could also eliminate this issue by instantiating your GDAL class-thingee as the first line of your program rather than as a static. -- Andrew Bell andrew.bell...@gmail.com __

Re: [gdal-dev] Call to GDALDestroy results in occasional core dump, GDAL 3.4.2

2024-09-18 Thread Andrew Bell via gdal-dev
There are many potential causes. Providing code and a backtrace would allow someone else to look. On Wed, Sep 18, 2024, 7:28 PM Fox, Shawn D (US) via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Could someone help me understand this sentence from the documentation at > gdal.h: > Raster C API —

[gdal-dev] Band Initialization

2024-07-29 Thread Andrew Bell via gdal-dev
Hi, Is a newly created raster band initialized to zero? If not, is there some trivial way to perform such an initialization (this is a MEM driver raster, if that matters). -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev

[gdal-dev] gdal2xyz

2024-06-11 Thread Andrew Bell via gdal-dev
Hi, The documentation describes an application `gdal2xyz`, but I don't see one built in my development environment. I also don't see anything in the CMakeLists.txt that refers to it. Is it named something I'm not expecting? Does it still exist? Thanks, -- Andrew Bell andrew.be

[gdal-dev] pre-commit hook failure

2024-06-07 Thread Andrew Bell via gdal-dev
.namespace, ()) ^^^^^ AttributeError: 'EntryPoints' object has no attribute 'get' -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] get_cli_utility_path_internal

2024-06-06 Thread Andrew Bell via gdal-dev
sts to get skipped, when they should fail. I can fix this, but I don't understand why there's an attempt to run a utility in order to determine its path. I would think that checking that the file exists would be sufficient (and this already occurs), but I'm not privy to the

Re: [gdal-dev] Thread-safe raster access

2024-06-05 Thread Andrew Bell via gdal-dev
ing thread-specific instances > of VSILFILE* and third-party "reader" objects could be a way of solving > this. But realistically doing a pass in all GDAL drivers would be a > multi-month-man to multi-year-man type of effort. A realistic plan should > be designed to allow combini

[gdal-dev] Thread-safe raster access

2024-06-03 Thread Andrew Bell via gdal-dev
s that I'm surely not considering would have to be dealt with. Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Threading and Datasets

2024-05-22 Thread Andrew Bell via gdal-dev
Hi, Are there any issues with opening the same input multiple times as distinct datasets so that simultaneous read access can be done by threads? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https

[gdal-dev] Data Type Conversion

2024-05-20 Thread Andrew Bell via gdal-dev
rocess. Is this a numeric conversion as would be done with a C/C++ cast or is this conversion simply add or truncate bytes in order to fit in a destination data type. Or perhaps something else? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-d

Re: [gdal-dev] Doxygen Arguments

2024-05-09 Thread Andrew Bell via gdal-dev
, the parameters were still missing. Updating > to Doxygen 1.9.8 as now used by our CI fixed things) > > Even > Le 09/05/2024 à 15:20, Andrew Bell via gdal-dev a écrit : > > Hi, > > I'm looking at the documentation for GDALRasterBand::RasterIO and it's > surprising

[gdal-dev] Doxygen Arguments

2024-05-09 Thread Andrew Bell via gdal-dev
Source: https://fossies.org/linux/gdal/gcore/gdalrasterband.cpp (line 110) -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Warning/Error Update?

2024-05-08 Thread Andrew Bell via gdal-dev
rg/bugzilla/show_bug.cgi?id=55837 Thoughts on turning off such checks as they're not sufficiently specific? -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Mass operations to raster block?

2024-05-06 Thread Andrew Bell via gdal-dev
Hi, Is there any support in the library for applying some arithmetic operations to all entries in a block? For example, can I optimally subtract or add some scalar to every entry? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
ave to do more research to figure out how to rectify this, if desired. Thanks for your help. The python failure message wasn't too helpful on its own. -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Test problem After Merge

2024-04-30 Thread Andrew Bell via gdal-dev
n rebuilt recently? OSRIsDerivedProjected() has been added > recently both in libgdal and the bindings > -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Test problem After Merge

2024-04-29 Thread Andrew Bell via gdal-dev
s/abell/gdal.2/build/swig/python/osgeo/_ osr.cpython-312-darwin.so, 0x0002): symbol not found in flat namespace '_OSRIsDerivedProjected' -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Hungarian Notation

2024-04-17 Thread Andrew Bell via gdal-dev
do we still think it's important. I didn't see an RFC or documentation that covers this, but there's lots so I may have missed it. Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lis

[gdal-dev] Windows CPL_STDCALL

2021-08-31 Thread Andrew Bell
Hi, There is a hint here (https://trac.osgeo.org/gdal/wiki/GDAL20Changes) that CPL_STDCALL would be no longer used, but it's still around in many function signatures. Is this #define'd away somewhere, or does one still need to be aware of CPL_STDCALL? Thanks, -- Andrew Bell a

Re: [gdal-dev] Large GeoJSONs and aborting file opening

2021-07-29 Thread Andrew Bell
lman/listinfo/gdal-dev >> >> -- http://www.spatialys.com >> My software is free, but my time generally not. >> >> > > -- > <http://www.omnisci.com/> > Simon Eves > Senior Graphics Engineer, Rendering Group > 100 Montgomery St (5th Floor), San Fran

Re: [gdal-dev] Polygon operations

2021-06-19 Thread Andrew Bell
These are done in 2D, without regard to the spatial reference. On Sat, Jun 19, 2021, 11:31 AM Met Bas wrote: > From my understanding, a square polygon feature would only consists of the > 5 > vertices of the corners (with the last vertex being the same as the first > to > "close" the polygon). >

Re: [gdal-dev] Motion: adopt RFC 81: support for coordinate epochs in geospatial formats

2021-05-13 Thread Andrew Bell
s whether people expect to use time-marked CRS. It's more whether GDAL should attempt to add their support into formats not built for it. I also wonder if people who create time-marked files from GDAL will be confused/mislead when those files aren't properly read by other softwa

[gdal-dev] RFC 82

2021-05-10 Thread Andrew Bell
Hi, I've made a PR for RFC 82 that addresses norms for memory allocation in GDAL. https://github.com/OSGeo/gdal/pull/3829 Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osge

[gdal-dev] exif dump?

2021-05-07 Thread Andrew Bell
s block of code go away? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] gdal_priv.h and CPL_DLL

2021-05-05 Thread Andrew Bell
Hi, I don't understand function declarations in gdal_priv.h being marked CPL_DLL. I would think that if the functions are exposed, they wouldn't be exposed from the GDAL shared library. Is this a mistake? Is this for testing? Thanks, -- Andrew Bell andrew.bell...

[gdal-dev] Python Binding Update?

2021-05-04 Thread Andrew Bell
repo? Am I supposed to make a PR with the changes? I believe the SWIG I have is version 4 and the files in question were previously generated with version 3. Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev

[gdal-dev] Mutexes

2021-05-03 Thread Andrew Bell
gnored, meaning that the subsequent code could run without the lock having been acquired. This seems like strange behavior. Is there a reason for the different behavior on Windows and not-Windows? Am I missing something? Thanks, -- Andrew Bell andrew.be

Re: [gdal-dev] PROJ context and threads

2021-04-28 Thread Andrew Bell
this issue for now. Changes in GDAL might be nice, but I need to work with what's available today. I could certainly PR the first suggestion if there is interest. Perhaps I'm at the point where I should be using PROJ directly rather than as wrapped by G

Re: [gdal-dev] PROJ context and threads

2021-04-28 Thread Andrew Bell
other suggestions, I'd be happy to hear them. -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Test Failures

2021-04-28 Thread Andrew Bell
lease submit a > PR adding your checksums as alternate accepted ones. You may just remove > the "if sys.platform == 'darwin'" case. Hopefully adding your checksums > should fix the OSX CI too > -- Andrew Bell andrew.bell...@gmail.com __

Re: [gdal-dev] Test Failures

2021-04-28 Thread Andrew Bell
Here is the output tif file along with the command and its terminal output. On Tue, Apr 27, 2021 at 3:02 PM Even Rouault wrote: > > Le 27/04/2021 à 20:49, Andrew Bell a écrit : > > > > On Tue, Apr 27, 2021 at 2:27 PM Even Rouault > wrote: > >> Andrew, >&

[gdal-dev] PROJ context and threads

2021-04-27 Thread Andrew Bell
closed? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Test Failures

2021-04-27 Thread Andrew Bell
27;s necessary to get this to happen or do I misunderstand the PROJ_NETWORK setting? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Test Failures

2021-04-27 Thread Andrew Bell
ssertionError --- Captured stderr call --- ERROR 1: PROJ: webmerc: Invalid latitude ERROR 1: PROJ: webmerc: Invalid latitude ERROR 1: PROJ: webmerc: Invalid latitude -- Andrew Bell andrew.bell...@gmail.com ___

Re: [gdal-dev] Test Data

2021-04-26 Thread Andrew Bell
hanging a relative path to an absolute one allowed the seed file to be found. This seemed strange because the provided pytest.ini contains a relative path. Is there some other variable that sets the base path to be used? Thanks, -- Andrew Bell andrew.bell...@

Re: [gdal-dev] Test Data

2021-04-26 Thread Andrew Bell
(0) > dst_feat = ogr.Feature(feature_def=dgn2_lyr.GetLayerDefn()) E AttributeError: 'NoneType' object has no attribute 'GetLayerDefn' Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Test Data

2021-04-26 Thread Andrew Bell
x86_64-3.9 GDAL_DATA=../gdal/data:./ogr pytest ogr/ogr_arcgen.py Does anyone have information on how to I might resolve this? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] exportToPrettyWkt and simplify

2021-04-21 Thread Andrew Bell
On Wed, Apr 21, 2021 at 10:49 AM Even Rouault wrote: > Andrew, > > Le 21/04/2021 à 16:31, Andrew Bell a écrit : > > exportToPrettyWkt() takes an argument called simplify. If it's set, > > the FORMAT option is set to WKT1_SIMPLE before a call is made to > >

[gdal-dev] exportToPrettyWkt and simplify

2021-04-21 Thread Andrew Bell
rgument is potentially a no-op, depending on the SRS. Can someone explain what this argument is supposed to do and how I might get WKT2 text out of this function? I'm currently getting an error: PROJ: proj_as_wkt: DatumEnsemble can only be exported to WKT2:2019 Thanks, -- Andrew B

Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew Bell
On Wed, Apr 7, 2021, 11:48 AM Andrew C Aitchison wrote: > > On Wed, 7 Apr 2021, Andrew Bell wrote: > > > Dare I suggest getting rid of EQUAL? > > Since the purpose of EQUALS is to compare two strings, that would > be passing the buck. Without it developers would have t

Re: [gdal-dev] stricmp in cpl_port.h

2021-04-07 Thread Andrew Bell
ts > EXTRAFLAGS = $(MRSID_INCLUDE) -D_CRT_SECURE_NO_WARNINGS > /Zc:wchar_t- > but I would rather not turn off warnings, since my code is clean enough to > use -Wall -Wextra -Weverything on linux. > > Thanks. > > -- > Andrew C. Aitchison

Re: [gdal-dev] Hi,

2021-04-01 Thread Andrew Bell
On Thu, Apr 1, 2021 at 12:34 PM Ahmet Temiz wrote: > How can I create a mask using C++ GDAL_API? > regards > It's not clear what you're asking, but you might start here: https://gdal.org/api/gdalrasterband_cpp.html#classGDALRasterBand_1a021cde274591f3e44c1fadea6914d

Re: [gdal-dev] no such function: ST_Line_Interpolate_Point when Spatialite and GDAL are installed and quite up-to-date

2021-02-02 Thread Andrew Bell
Have you successfully used Spatialite at all? What is your platform? How did you verify Spatialite is installed? On Tue, Feb 2, 2021, 6:13 PM Ann Tulliani via gdal-dev < gdal-dev@lists.osgeo.org> wrote: > Dear list members, > > I have been trying to use the GDAL tools from within QGIS, more > sp

Re: [gdal-dev] Considering drivers removal ?

2021-01-10 Thread Andrew Bell
Could you simply make them all plugins and announce that they will be unmaintained? After a release cycle, we place such things into their own repo. Don't know if that would work for GDAL. On Sun, Jan 10, 2021, 6:02 PM Even Rouault wrote: > Hi, > > It's not spring yet, but I'm in a mood lately o

Re: [gdal-dev] GetSpatialRef, OGRSpatialReference and memory leaks ?

2020-08-01 Thread Andrew Bell
Seems like it would depend on what you're doing with the pointer after you return it. On Sat, Aug 1, 2020, 5:50 AM Andrew C Aitchison wrote: > > I would like to define GetSpatialRef() for my raster driver as something > like: > > const OGRSpatialReference* GetSpatialRef() const override { >

Re: [gdal-dev] Python bindings for a GDAL dependent library

2020-06-25 Thread Andrew Bell
7;re trying to do would be helpful. If you're writing your code that's calling GDAL from C++, why are you concerned about Python bindings? -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] OGR ExecuteSQL

2020-01-23 Thread Andrew Bell
Thanks. Just located it in the documentation. Google was not my friend in this case. Sorry to bother, On Thu, Jan 23, 2020 at 1:03 PM Even Rouault wrote: > On jeudi 23 janvier 2020 12:49:38 CET Andrew Bell wrote: > > Hi, > > > > This function returns a pointer to a lay

[gdal-dev] OGR ExecuteSQL

2020-01-23 Thread Andrew Bell
Hi, This function returns a pointer to a layer. Does the dataset retain ownership of the layer, or does the user need to make sure that the layer gets deleted? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev

Re: [gdal-dev] Test Failure Question

2020-01-09 Thread Andrew Bell
e to use > --with-rename-internal-libtiff-symbols I didn't set any special options in configure when I built. What happens in this case? I don't see libtiff in the set of libraries to be linked. Is it dlopen'ed? -- Andrew Bell andrew.bell...@gmail.com __

[gdal-dev] Test Failure Question

2020-01-09 Thread Andrew Bell
reate('tmp/ovr43.tif', 16, 16, 1, gdal.GDT_UInt16) Any ideas what might be going on or what I might look for to fix? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] angle of crossing two lines

2019-11-11 Thread Andrew Bell
Dot product On Mon, Nov 11, 2019, 09:07 Ahmet Temiz wrote: > Hi, > I need to know angle of crossing two lines. > which function can I use? > > regards > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > __

Re: [gdal-dev] Fwd: Gdal - multipolygon - geometry errors instead holes

2019-10-29 Thread Andrew Bell
I don't know if this is relevant, but WKT doesn't support "islands" -- you can't have positive space inside negative space in one polygon. Islands must be represented as separate polygons within a multipolygon. On Tue, Oct 29, 2019, 08:32 jratike80 wrote: > Interesting observation is that if I r

Re: [gdal-dev] "Banning" use of underflow/overflow with unsigned integer arithmetic ?

2019-08-16 Thread Andrew Bell
__ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] WKT driver in OGR?

2019-08-16 Thread Andrew Bell
Hi, I'm not seeing a driver for WKT geometry in OGR, though I know that WKT is well-supported in the API in OGRGeometryFactory and such. Can I convert a file containing WKT geometry with ogr2ogr? Thanks, -- Andrew Bell andrew.bell...@gmai

Re: [gdal-dev] Wkt single precision float point

2019-08-04 Thread Andrew Bell
It's text. I don't believe there are any specific precision requirements for wkt. On Sun, Aug 4, 2019, 1:25 PM Nicolas Cadieux wrote: > Hi, > > I’am I wrong or is the WKT format only a single precision float point? Is > there a standard that imposes this? Could this be changed to a double > pr

Re: [gdal-dev] 2.4 problem with OGRCoordinateTransformation?

2019-07-15 Thread Andrew Bell
On Mon, Jul 15, 2019 at 11:41 AM Even Rouault wrote: > On lundi 15 juillet 2019 11:33:40 CEST Andrew Bell wrote: > > I'm seeing an issue with OGRCoordinateTransformation where the first > point > > passed to the transform is handled properly, but the second one is not. &

[gdal-dev] 2.4 problem with OGRCoordinateTransformation?

2019-07-15 Thread Andrew Bell
o I'm wondering if anyone was aware of an issue that might have been fixed after 2.4. Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Ellipsoidal length of a line

2019-06-15 Thread Andrew Bell
How is the line defined? If you have a function, there's calculus. On Sat, Jun 15, 2019, 12:43 AM Nicolas Cadieux wrote: > Thanks, > Could work but I think this will be too slow. I wonder how QGIS does it? I > guess they use code from Proj.4. If anyone has an other idea, shoot! > Cheers > Nicol

Re: [gdal-dev] Undefined references to proj_* functions while building GDAL

2019-06-11 Thread Andrew Bell
e. > GDAL build process doesn't set RPATH by default. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com > > ___ > gdal-dev mailin

Re: [gdal-dev] Issues installing gdal from source code

2019-06-05 Thread Andrew Bell
stalled previous version of gdal in the machine. > > > > We also have tried to install other versions such as 2.2.1, 2.2.2 and > 2.2.3 and we got the same error. The vesion that we have installed is > 1.8.1. > > Regards, > Jorge > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] EPSG code with vertical datum

2019-05-30 Thread Andrew Bell
On Thu, May 30, 2019 at 5:06 AM Even Rouault wrote: > On mercredi 29 mai 2019 20:38:02 CEST Andrew Bell wrote: > > In earlier GDAL versions I could call > > > > SetFromUserInput("EPSG:4326+4326"); > > > > without error. I now get the follo

[gdal-dev] EPSG code with vertical datum

2019-05-29 Thread Andrew Bell
ression in version 3.0? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] WKT Interpretation Change

2019-05-24 Thread Andrew Bell
AL 3.0 I get: (gdal3) $ gdalsrsinfo "PROJCS[\"unnamed\",GEOGCS[\"unknown\",DATUM[\"unknown\",SPHEROID[\"GRS 1980\",6378137,298.2572221010042,AUTHORITY[\"EPSG\",\"7019\"]]],PRIMEM[\"Greenwich\",0],UNIT[,0.01745329251994

[gdal-dev] OGR Transformation Clarification

2019-05-22 Thread Andrew Bell
iour similar to GDAL < 3.0, the OGR_CT_FORCE_TRADITIONAL_GIS_ORDER configuration option can be set to YES." I'm trying to understand what the difference is from GDAL < 3.0 and how I might know that I'm seeing an issue and need to use the specified configuration option.

[gdal-dev] Test failure

2019-02-21 Thread Andrew Bell
RROR> res = hook_impl.function(*args) INTERNALERROR> File "/home/acbell/gdal/autotest/conftest.py", line 61, in pytest_collection_modifyitems INTERNALERROR> for mark in item.iter_markers('require_driver'): INTERNALERROR> AttributeError: 'Function' object has no attribute 'iter_markers' -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] RFC 73 (aka gdalsrsbarn) available for review

2019-01-17 Thread Andrew Bell
On Thu, Jan 17, 2019 at 2:09 PM Even Rouault wrote: > On jeudi 17 janvier 2019 13:45:27 CET Andrew Bell wrote: > > What is the logic behind the PROJ symbol renaming? > > First, it is purely optional and require active decision of the user to > build > PROJ that way. This is

Re: [gdal-dev] RFC 73 (aka gdalsrsbarn) available for review

2019-01-17 Thread Andrew Bell
rks. > > Even > > -- > Spatialys - Geospatial professional services > http://www.spatialys.com > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev -- Andrew Bell andrew.bell...@gmail.com __

Re: [gdal-dev] Python/SWIG Build Error

2019-01-16 Thread Andrew Bell
Seems the problem is in the python module build. I think I've been here before 😥 On Wed, Jan 16, 2019, 6:47 PM Andrew Bell Seems strange that configure would place other directories before the > location for the current source tree. Is this by design? Is there a way to > change t

Re: [gdal-dev] Python/SWIG Build Error

2019-01-16 Thread Andrew Bell
Seems strange that configure would place other directories before the location for the current source tree. Is this by design? Is there a way to change the behavior? On Wed, Jan 16, 2019, 6:22 PM Even Rouault On mercredi 16 janvier 2019 17:41:26 CET Andrew Bell wrote: > > I'm tryi

[gdal-dev] Python/SWIG Build Error

2019-01-16 Thread Andrew Bell
--- It seems like a header file is missing in the swig configuration, but that seems like something that others would have run into. Any ideas appreciated, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Make Issue

2019-01-15 Thread Andrew Bell
I'm not terribly familiar with the GDAL build system and I'm having some issues getting a proper rebuild to occur when a header file is changed in OGR. Are dependencies automatically generated or might something manual be missing? Thanks, -- Andrew Bell andrew.bell...

[gdal-dev] OGRFormatDouble

2019-01-15 Thread Andrew Bell
he OGR-specific formatting doesn't serve a purpose other than satisfying the desires of a previous developer or working around non-standard implementations that no longer exist. Any thoughts appreciated, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-d

[gdal-dev] Whitespace in WKT

2019-01-08 Thread Andrew Bell
is an "implied" space: OGC 06-103r4 ::= I would have expected to see spacing specified something like: ::= So I'm confused. Are only tabs and spaces allowed? Only a single space? Is this defined somewhere I'm not seeing? Thanks, -- Andrew Bell

Re: [gdal-dev] Linking proj statically/dynamically

2018-11-02 Thread Andrew Bell
On Fri, Nov 2, 2018 at 4:45 PM Even Rouault wrote: > On vendredi 2 novembre 2018 16:32:29 CET Andrew Bell wrote: > > Hi, > > > > I'm trying to figure out what might be going on with setting things up > for > > proj with GDAL. If I set > > --with-proj=/di

[gdal-dev] Linking proj statically/dynamically

2018-11-02 Thread Andrew Bell
th-link to my link line. What, exactly, is --with-proj supposed to do and how does it interact with static linking of proj, assuming I have libproj.a somewhere? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists

Re: [gdal-dev] Use of C++ iterators in API

2018-04-11 Thread Andrew Bell
e put that instead ? > I believe the universal reference (&&) has no purpose in this context. It will decay to a standard reference. So what you post is more clear. -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Crash using mem raster on Windows

2017-10-30 Thread Andrew Bell
;rgb; return ss.str(); } I read the three bands in succession. This works fine on OSX/Linux, but fails when attempting to read the second band on Windows. Any thoughts on what might be the issue? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___

[gdal-dev] Running Tests

2017-09-26 Thread Andrew Bell
ish given the setup so it makes me think I'm doing something wrong. Is there a standard (and easy) way to get tests going on a local GDAL build tree that I'm missing? P.S. - It seems strange to use python as a CI interface to a C/C++ library. Is there a reason the test harness isn'

[gdal-dev] OGR_L_SetSpatialFilter

2017-09-22 Thread Andrew Bell
Hi, Is there any reason to use OGR_L_SetSpatialFilter if you're fetching a layer using OGR_DS_Execute_SQL? Am I missing something or can I place whatever filter (via a where clause) on the SQL statement that I might otherwise use in a call to OGR_L_SetSpatialFilter? Thanks, -- Andrew

Re: [gdal-dev] RFC68: C++11 compilation mode - Call for vote on adoption

2017-09-06 Thread Andrew Bell
C++ 11 mode. Are the "Core changes" the NECESSARY changes to support the C++11 standard? Are the "not included" features DISALLOWED in future code, or...? Thanks for the clarification. -- Andrew Bell andrew.bell...@gmail.com ___ gdal-de

[gdal-dev] Return from Set/GetNoDataValue

2017-09-05 Thread Andrew Bell
x27;t set or fetch a nodata value, an error should be returned. In this case, the code indicates no error. How is one supposed to know (other than reading the code) that you can't set a value if success is returned if this operation isn't supported? Thanks, -- Andrew Bell andrew.be

Re: [gdal-dev] ISO-11783, known as Tractors and machinery for agriculture and forestry

2017-06-10 Thread Andrew Bell
You have to pay for the spec. Its On Jun 10, 2017 10:05 AM, "Paul Meems" wrote: Hi List, I need to export my tiff file to ISOBUS (ISO-11783), which is a standard for the agriculture. In short I create a task map which will be loaded into a terminal of a tractor and the terminal will manage the,

Re: [gdal-dev] C++11 timeline

2017-01-12 Thread Andrew Bell
> gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] C++11 timeline

2017-01-05 Thread Andrew Bell
epends on the features we use. Would be good to have >> VS2013 or even 2012. I'm CC'ing Jürgen Fischer to know if he has plans >> regarding of the compiler version that will be used for OSGeo4W / QGIS 3.0 >> >> >> >> Even >> >> >> >> -- >> >> Spatialys - Geospatial professional services >> >> http://www.spatialys.com >> > > > > -- > -- > http://schwehr.org > > ___ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Error Handling (or not) in GTIFSetFromOGISDefn

2016-12-13 Thread Andrew Bell
lan to update WKT code to handle the new specification? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] Fwd: [pdal] Riegl extrabytes stripped

2016-10-24 Thread Andrew Bell
integer values instead of float. > > 2. Is there any option to forward the description and scale of the > extra bytes? > I'm sorry, but there is currently no way to set the scale/offset or description in an extra-bytes VLR/field. I'

Re: [gdal-dev] Multithread deadlock

2016-09-26 Thread Andrew Bell
but its > failing in my case. I am working with GDAL 2.1.0 version under VS2015 (x32, > Debug) compilation. > > > > Even, what do you think? > > > > Thanks! > > Javier C. > > > > ___ > gdal-dev mailing

Re: [gdal-dev] Writing descriptions to GeoTiff bands

2016-09-20 Thread Andrew Bell
i); band->SetDescription(someString); // Force metadata change flag so that description gets written. Current bug // (ticket 6592) requires something like this. band->SetOffset(band->GetOffset(NULL) + .1); band->SetOffset(band->GetOffset(NULL) - .1); b

[gdal-dev] Writing descriptions to GeoTiff bands

2016-09-16 Thread Andrew Bell
iption. But once Crystalize() is called, it sets a flag so as to be a NOOP in future calls. I'm not using streaming. I'm trying to understand if this behavior is by design, a limitation that I can't find in the documentation or a bug. Any pointers appreciated

[gdal-dev] Raster Band Types

2016-09-14 Thread Andrew Bell
all of the raster bands in the dataset (GDALDriver::Create). I don't see a way to create a dataset with raster bands of varying data types. Is this supported? If not, why not OR, why is the call to find the datatype on GDALRasterBand rather than GDALDataset? Thanks, -- Andrew

[gdal-dev] Raster Band Support Info

2016-09-07 Thread Andrew Bell
I assume that there are limits to the number of raster bands supported by various drivers that support raster creation. Is there a call I can make to determine this limit? Thanks, -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal

Re: [gdal-dev] Starting a discussion on style and coding guidelines

2016-05-09 Thread Andrew Bell
. Just write something. But I already suggested that and wrote something... :) Do you know why they are wedded to a 16K stack? -- Andrew Bell andrew.bell...@gmail.com ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

  1   2   >