[postgis-users] Enabling NetCDF export in PostGIS
Regina Obe
lr at pcorp.us
Tue Sep 15 08:05:29 PDT 2020
Mario,
I haven't worked with NetCDF so don't know the answer. GDAL 1.9 is long
EOL.
You might want to ask your question on gdal mailing list if you don't get an
answer on this list.
Thanks,
Regina.
From: postgis-users [mailto:postgis-users-bounces at lists.osgeo.org] On Behalf
Of Mario A. Tarouco De Sales
Sent: Tuesday, September 15, 2020 5:19 AM
To: postgis-users at lists.osgeo.org
Subject: [postgis-users] Enabling NetCDF export in PostGIS
Hello
I need to export rasters in PostGIS to NetCDF format using ST_AsGDALRaster .
I searched a lot for this topic but not much information is available. And
the available information is confusing.
In https://trac.osgeo.org/gdal/wiki/NetCDF it's mentioned "GDAL 1.9 includes
support for NetCDF-4 file format (provided that nc-config is found in the
configure stage), as well as the 64-bit offset file format. HDF4 and HDF5
files are also supported, although the respective driver is used if
available. The syntax "NETCDF:<file>" forces the use of the NetCDF driver."
GDAL version in my PostGIS is 2.2 so this should be possible,
I have installed netcdf and added it to the path but now I'm stuck. Where to
place the nc-config file? What is the 64-bit offset file format?
Any help is highly appreciated
Best regards
Mario
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20200915/82a6c55f/attachment.html>
More information about the postgis-users
mailing list