MapServer Map Context
Yewondwossen Assefa
assefa at DMSOLUTIONS.CA
Thu Dec 2 09:34:59 PST 2004
You need to make sure that your build uses USE_WMS_LYR and USE_OGR flags
(you need to build you mapserver/php_mapscript with wms and gdal/ogr
support).
Raj Singh wrote:
> Has anyone used the OGC web map context support in version 4.2.2?
>
> I'm having a tough time getting Web Map Context support working. I have
> proj4, gdal, php, wmsclient and wmsserver support working fine, but
> whenever I test map context support using this code:
> <?php
> dl("php_mapscript.so");
> $oMap = ms_newMapObj("/usr/local/apache2/htdocs/umi5/parcel.map");
> $oMap->saveMapContext("/usr/local/apache2/htdocs/tmp/output.xml");
> ?>
>
> I get the following message in my apache error log:
> [error] [client 66.31.41.182] PHP Warning: [MapServer Error]:
> msSaveMapContext(): Not implemented since Map Context is not enabled.
>
>
> --Raj
>
--
----------------------------------------------------------------
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