[maplab-users] problem with postgis layer

Alberto Cavalli alberto.cavalli at sintranet.it
Wed Sep 1 11:43:45 EDT 2004


Hi dear I've a problem, I'm using mapserver but, when I try to see my page,
I can't see anithyng. I've putted all my shape in postgresql through
postgis.
This is the layer definition in my map file

LAYER
    NAME "Confine"
    STATUS DEFAULT
    DATA "the_geom FROM h887_c"
    TYPE POLYGON
    CONNECTIONTYPE POSTGIS
    CONNECTION "user=postgres PASSWORD=admin dbname=template1 host=localhost
port=5432"
    UNITS METERS
    SIZEUNITS PIXELS
    TOLERANCE 0
    TOLERANCEUNITS PIXELS
    TRANSPARENCY 25
    CLASS
      NAME "confini"
      #TEMPLATE "false_query.html"
      STYLE
        COLOR 255 204 153
      END
    END
  END

I'm working on 
apache 2.0.46
php 4.3.3
mapserver 4.0
win 2000 professional
 bye
alberto


More information about the Maplab-users mailing list