Help: MapInfo -> PostGIS -> blank map, projection?

Sam Lawrance boris at BROOKNET.COM.AU
Thu Jan 13 17:32:50 PST 2005


Daniel Caldeweyher wrote:

>However I can't get it to display anything (blank gif) with Mapserver. I am
>using Apache2 + MapServer 4.4.1(pg) and it appears to be working as I can
>display the "Hello World. Mapserver rocks." example.
>
>My qldpoa.map file looks like this:
>MAP
>  SIZE 400 400
>  NAME ABS
>  STATUS ON
>
>  #EXTENT 136.440601 -29.177898 153.552171 -9.142186    #from ogrinfo
>  EXTENT 98 -45 160 -8      #from MIF
>  UNITS dd   #kilometers?
>  IMAGECOLOR 255 255 255
>  IMAGETYPE gif
>
>  LAYER
>    NAME "qldpoa_h"
>    TYPE POLYGON
>    STATUS ON
>

For starters, you want "STATUS DEFAULT". For layers, "STATUS ON" merely
allows the layer to be turned on through CGI parameters etc; it doesn't
make it "always on".

--
Sam Lawrance    ph +61 0425 228 579    freenode: deft



More information about the MapServer-users mailing list