[Mapserver-users] POSTGIS problem

Wai-ho Wong wawong at ucsd.edu
Fri Mar 5 17:19:13 EST 2004


To whom it might be concerned,


I am the postGIS user in UC San Diego. I have the postGIS working fine and
the mapserver can take the input of shapefile. Both of them are the most
updated versions. But when I try to map using postGIS, I have the unkown
internal error or blank picture output.

The following is the map file.


MAP
IMAGETYPE PNG
SIZE 600 600
EXTENT  2951122.40634836 9972524.19586431 3272632.96527259 10243868.741275
# Geographic coordinates
IMAGECOLOR 255  255 255


        LAYER
                CONNECTIONTYPE postgis
                NAME "railroad"
                CONNECTION "user=willy password=goodwill   dbname=mydb host=geon01.sdsc.edu port=7531"
                DATA "the_geom FROM railroad"
                STATUS DEFAULT
                TYPE POLYGON

                CLASS
                        STYLE
                                COLOR 0 0 0
                        END
                END
        END
END
~

Thank you for your help.

Willy
~







More information about the mapserver-users mailing list