MapServer Map Context

Jeff McKenna jmckenna at DMSOLUTIONS.CA
Sun Dec 5 12:36:01 EST 2004


I've filed a bug for this
(http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1104).  If you notice
any documentation problems please file a bug in the MapServer Bugzilla
(component: 'MapServer Documentation')...this helps us keep track of
them.  thanks.

jeff





Raj Singh wrote:
> 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
>> ----------------------------------------------------------------
>>
>>
>


--
Jeff McKenna
GIS Specialist
DM Solutions Group Inc.
http://www.dmsolutions.ca



More information about the mapserver-users mailing list