hello

I am trying to get "data(" bytea ")  , then convert it to postgis raster.

On this table:

  Column  |     Type      | Modifiers
----------+---------------+-----------
 location | character(64) | not null
 data     | bytea         |
Indexes:
    "tiletable_2_pk" PRIMARY KEY, btree (location)
​
​***  I tried to get "data(" bytea ")  as then convert to postgis raster

tr2=> select location, st_astext(ST_GeomFromWKB(data, 4326))   from
tiletable_0 where  location='dem2_4326_06_11.tif';
ERROR:  Invalid endian flag value encountered.


how can I solve the problem ?

regards

-- 
Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem  Dairesi Başkanlığı-CBS Grubu


________________________

Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency
_______________________________________________
postgis-users mailing list
[email protected]
http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users

Reply via email to