[postgis-users] converting bytea data to postgis raster
Ahmet Temiz
ahmettemiz88 at gmail.com
Mon Apr 20 00:12:12 PDT 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20150420/f34eb272/attachment-0001.html>
More information about the postgis-users
mailing list