PostGIS + MapServer

From: "carlos toniolo" <cmtoniolo(at)hotmail(dot)com>
To: pgsql-es-ayuda(at)postgresql(dot)org
Subject: PostGIS + MapServer
Date: 2004-12-01 19:08:28
Message-ID: BAY10-F461B29295B4FD0004AEE9EB1BF0@phx.gbl
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda

Buenos dias; mi duda esta relacionada a como leer una capa, utilizando
mapserver y leer esa capa directamente de la base de datos (postgresql +
postgis) ya que sigo todos los pasos indicados en los papers que tratan el
tema y no puedo lograr la conexion (cree los indices y todo) y el mapserver
no me da error, pero el tiempo de respuesta se hace interminable y no
devuelve nada.

Desde ya, su ayuda seria de gran utilidad; ya que este problema lo tengo
hace un tiempo importante. Muchas gracias.

Fragmento de la capa (que no me anda).

#########################################
## PostgresQL
#########################################

LAYER
CONNECTIONTYPE postgis
NAME "postest"
# # Connect to a remote spatial database
CONNECTION "user=postgres password=cto2054 dbname=dcmms host=localhost"
# Get the lines from the ’geom’ column of the ’roads’ table
DATA "the_geom from establecimiento"
STATUS ON
# TYPE POINT
# Of the lines in the extents, only render the wide highways
FILTER "gid >= 0"
CLASS
# Make the superhighways brighter and 2 pixels wide
# EXPRESSION ([numlanes] >= 6)
COLOR 255 22 22
SYMBOL 'images/tit_ref.gif'
SIZE 8
END
#CLASS
# All the rest are darker and only 1 pixel wide
#EXPRESSION ([numlanes] < 6)
#COLOR 205 92 82
#END
END

_________________________________________________________________
Las mejores tiendas, los precios mas bajos, entregas en todo el mundo,
YupiMSN Compras: http://latam.msn.com/compras/

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Joan Manuel Ventura 2004-12-01 23:17:06 Re: Instalacion de Postgres
Previous Message Manuel Sugawara 2004-12-01 18:44:24 Re: Instalacion de Postgres