Mapscript compilation on Windows
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Tue Nov 22 12:04:03 PST 2005
The php mapscript would not indicate that. I does not indicate any
supported formats. If your php mapscript is linked with a mapserver
library built with Postgis, then you should have it. The best thing is
to open a simple map file with a postgis layer using mapscript.
Later,
Sture Dingsoyr wrote:
> Hi
>
> I have compiled Mapserver on my windows machine with these options:
>
> This is the output from my "mapserv.exe -v"
>
> MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
> SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE DEBUG=MSDEBUG
>
>
> Here POSTGIS is enabled so everything looks fine. I then want to compile
> MAPSCRIPT. This also works fine..and i get the "php_mapscript.dll" that
> also works fine in PHP.
>
> When i do a <? phpinfo ?> i get:
> MapServer version 4.6.1 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT
> SUPPORTS=WCS_SERVER INPUT=JPEG INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE
> DEBUG=MSDEBUG
>
>
> My problem is that the "php_mapscript.dll" do not says it supports
> POSTGIS. (look at the <? phpinfo ?> result above).
>
> Anybody have any ideas...
>
> The reason i am compiling is that i need a mapserver that supports both
> POSTGIS and ORACLE SDE in MAPSCRIPT.
>
> All help appriciated :-)
>
--
----------------------------------------------------------------
Assefa Yewondwossen
Software Analyst
Email: assefa at dmsolutions.ca
http://www.dmsolutions.ca/
Phone: (613) 565-5056 (ext 14)
Fax: (613) 565-0925
----------------------------------------------------------------
More information about the MapServer-users
mailing list