MapServer Map Context
Raj Singh
info2004 at RAJSINGH.ORG
Fri Dec 3 12:01:57 PST 2004
Thanks Assefa. Your advice worked. The HOWTO should be updated because
it seems incomplete.
http://mapserver.gis.umn.edu/doc42/mapcontext-howto.html says only to,
"Build/install the above libraries on your system adn then build
MapServer with the '--with-wmsclient --with-proj --with-php' configure
options."
--Raj
On Dec 2, 2004, at 12:34 PM, Yewondwossen Assefa wrote:
> 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