Barry,
The file
"${SWIG_INSTALL_PREFIX}/share/swig/{swig_version_here}/java/typemaps.i
seems to be the place where the default mappings from unsigned long long
to BigInteger are defined. I guess taking inspiration from those
typemaps and overriding them could be the way to go.
An alternativ
Thanks Even. I will try to throw that together later. But I think my
question is much more simple. I will show a small blurb below from
swig/include/java/typemaps_java.i
Code I have now follows right here. This code might conflict with current
code because I am wanting GUInt64s to go to longs and
I went spelunking in brew’s folder structure and found
_gdal_array.cpython-311-darwin.so. So I just copied it over and problem
solved. Not sure why that file was left out.
Hermeneutic solutions like conda at least prevent this kind of problem from
occurring.
From: Paul Harwood
Date: Wednesda
To state the (I hope) obvious - it must be a problem with your installation
and not a general problem with GDAL on Mac - I just tried it on a fresh
installation and it worked.
However - I used Conda as the virtual environment and not Brew/Venv/Pip. I
find it much more consistent and easier ...
On
I checked which functions that were being exported from
python3.11/site-packages/osgeo/_gdal.cpython-311-darwin.so
And found a few IO-esque functions, including _GDALReadBlock and
_Band_ReadRaster. Calling these via the standard bindings work. Must be how
rasterio is operating under the hood.
Barry,
it could help if you could point to a public branch in your github fork
with your pending work
Even
Le 21/06/2023 à 07:58, Barry DeZonia a écrit :
Hello,
I am trying to work on the swig java api. I've made a lot of progress
and am running into one last error before my code completel
Derek,
This is intended. GDAL build shouldn't leak/expose internal
implementation details such as its embedded shapelib copy, which doesn't
belong to the GDAL API. Either you use the OGR Shapefile driver through
OGR API, or you link against external shapelib if you want to use
shapelib direct