Hi,

MS4W certainly has support for PostGIS. That detail you can check with command

C:\ms4w\Apache\cgi-bin>mapserv -v

If you can find “INPUT=POSTGIS” then you have the support. The next thing to do 
is to read the documentation 
https://www.mapserver.org/input/vector/postgis.html.

The previous problem that you had with missing mapscript affects only the QGIS 
side. QGIS needs mapscript for creating the mapfile for Mapserver but nothing 
prevents you from writing a mapfile from a scratch with a text editor. Use for 
example mapfiles used in the ms4w demos https://ms4w.com/download.html as 
template.
-Jukka Rahkonen-

Lähettäjä: mapserver-users <mapserver-users-boun...@lists.osgeo.org> Puolesta 
Boubacar Bah
Lähetetty: torstai 26. elokuuta 2021 2.37
Vastaanottaja: mapserver-users@lists.osgeo.org
Aihe: [mapserver-users] asking help

hello how are you ; i need your help to use postgis in mapserver; recently i 
read an article by jeff mckenna in witch he said that mapserver defaults to 
postgis database, but that it must be compiled  to work; so my question is how 
to compile postgis in mapserver since have installed the mapserver from ms4w in 
order to connect postgis to mapserver.
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to