[postgis-users] Postgis raster : jfif? jp2?

Mateusz Loskot mateusz at loskot.net
Mon Nov 25 07:04:37 PST 2013


I overlooked Laurent's tried the -G option indeed.
I apologise, my bad.

Yes, gdalinfo should help to figure out what's wrong.
Peraps multiple GDAL libs in the env?

M


On 25 November 2013 14:55, Pierre Racine <Pierre.Racine at sbf.ulaval.ca> wrote:
> Laurent,
>
> The list of available drivers is dependent on your installation. Normally if you can gdalinfo a raster, raster2psgql should be able to load it. So the first thing is: Does gdalinfo works fine? If not then you should refer to the gdal list. I yes then it might be a raster2pgsql problem which would be surprising.
>
> Pierre
>
>> -----Original Message-----
>> From: postgis-users-bounces at lists.osgeo.org [mailto:postgis-users-
>> bounces at lists.osgeo.org] On Behalf Of laurent
>> Sent: Monday, November 25, 2013 9:23 AM
>> To: postgis-users at lists.osgeo.org
>> Subject: [postgis-users] Postgis raster : jfif? jp2?
>>
>> Dear all,
>>
>> I would like import a world raster DEM in my postgis db. I would like use
>> raster2pgsql.
>> When i try to convert the jp2 file or jfif file to the .sql, i have an error
>> message saying "Unable to read raster".
>>
>> When i type: raster2pgsql -G , the jpeg jfif seems to be in the list. Why i
>> have this error message? Except tiff, what raster format can be imported
>> into postgis db?
>>
>>
>>
>> --
>> View this message in context: http://postgis.17.x6.nabble.com/Postgis-
>> raster-jfif-jp2-tp5004960.html
>> Sent from the PostGIS - User mailing list archive at Nabble.com.
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users at lists.osgeo.org
>> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users



-- 
Mateusz  Loskot, http://mateusz.loskot.net


More information about the postgis-users mailing list