[Mapserver-users] POSTGIS problem

Swaminathan, Gayathri gayathri at ou.edu
Fri Mar 5 15:08:54 PST 2004


Also forgot to mention in the last email,

If this is mapserver version 4.0 then you need to do DATAPATTERN for
your mapfile.

Search the list archive on "DATAPATTERN" for reference.

Gayathri

> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu 
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of 
> Wai-ho Wong
> Sent: Friday, March 05, 2004 4:19 PM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] POSTGIS problem
> 
> 
> 
> 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
> ~
> 
> 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu 
> http://lists.gis.umn.edu/mailman/listinfo/maps> erver-users
> 




More information about the MapServer-users mailing list