[Spanish] Problema con DATA RASTER desde PostGIS
Florencia Buján
florita026 at gmail.com
Mon Nov 29 08:55:03 EST 2010
Buenas días,
Tengo rasters (imágenes TIF) subidas a PostGIS y necesitaría mostrarlas
mediante MapServer.
Para ello me defino la estructura en la Base de Datos de la siguiente forma:
TABLE rasters (
id serial NOT NULL,
nombre character varying(100),
archivo_bytea bytea,
mime character varying(100),
size double precision
)
Corroboré que efectivamente se guarden bien las imágenes.
Ahora con MapServer querría mostrarlas desde una capa raster, pero no logro
que funcione:
LAYER
NAME 'Raster'
TYPE RASTER
CONNECTIONTYPE postgis
CONNECTION "user=postgres password=... dbname=... host=..."
DATA "bytea FROM rasters"
STATUS OFF
OFFSITE 0 0 0
TRANSPARENCY 100
END
Alguna idea de cómo sería?
Desde ya muchas gracias y saludos.
Florencia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/spanish/attachments/20101129/b02bc010/attachment.html
More information about the Spanish
mailing list