[mapserver-users] About compiling mapserver with postgis
Hisaji ONO
hi-ono at mn.xdsl.ne.jp
Fri Jun 21 07:32:09 PDT 2002
Hello.
I've tried to compile mapserver 3.6.0 in win32 for enabling to display
Japanese Characters by compiling GD library with adding "-DJISX0208." I
noticed "Makefile.vc" doesn't define PostGIS although there's
"mappostgis.obj".
I tried to use this build to call PostGIS with following map file.
NAME MINES
EXTENT -159.6 28.77 -71.4667 70.5
SIZE 400 300
LAYER # start of the "mines" layer object
CONNECTIONTYPE postgis
NAME "mines"
CONNECTION "user=user_name password=XXXXX dbname=mines host=theHost
port=5432"
DATA "geo_value from themines"
STATUS DEFAULT
TYPE POINT
CLASS
EXPRESSION ([geoid] < 50)
COLOR 120 120 220
OUTLINECOLOR 10 10 0
END # end of class object
END # end of layer object
END # end of map file
But it failed with the following message.
msPOSTGISLayerOpen(): Query error. msPOSTGISLayerOpen called but
unimplemented!
And there's no descripton about PostGIS in
http://mapserver.gis.umn.edu/doc36/win32_compile-howto.html(MapServer
Win32 Compilation and Installation HOWTO).
But binaries distribution of MapServer 3.6.0 supports PostGIS.
Could you tell me any suggestion about this.
Best Regards.
More information about the MapServer-users
mailing list