[postgis-users] import .ecw into postgis database ?

Paolo Corti pcorti at gmail.com
Wed Feb 27 09:03:14 PST 2013


On Wed, Feb 27, 2013 at 5:52 PM, laurent
<lcelati at latitude-geosystems.com> wrote:
> Hello,
>
> please find below  a SS of my prompt command when i taped gdal info :
>
> SS_error_gdalinfo.JPG
> <http://postgis.17.n6.nabble.com/file/n5002714/SS_error_gdalinfo.JPG>
>
>  Thank you to throw light for me.
>

Hi

this is because your gdal installation is missing .ecw support (it is
always this case, unless you compiled gdal by yourself).
Therefore raster2pgsql will not support is as well, because it is based on GDAL.

You have two options, as suggested in a previous reply:

1. convert your ecw data, using the proprietary tool you have been
using to produce the ecw data, to an open format and then use
raster2pgsql on the open format data
2. if 1 is not applicable, your only option is to compile gdal with
ecw support [1]

Please if you have more doubts ask to the GDAL list, this one it is
focused on  PostGIS

regards
p

[1] http://trac.osgeo.org/gdal/wiki/BuildingOnWindows

-- 
Paolo Corti
Geospatial software developer
web: http://www.paolocorti.net
twitter: @capooti
skype: capooti


More information about the postgis-users mailing list