Compiling Mapserver with WCS

Frank Warmerdam warmerdam at POBOX.COM
Wed Aug 30 16:54:16 EDT 2006


B Tuttle wrote:
> Hi-
> I'm still a little new to mapserver and I have a build of 4.8.3
> running wms just fine. I'd like to add WCS and WFS though. I think
> that I didn't compile with WCS and WFS included based on the
> following:
> [root at localhost cgi-bin]# ./mapserv -v
> MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER
> SUPPORTS=GEOS INPUT=EPPL7 INPUT=POSTGIS INPUT=OGR INPUT=GDAL
> INPUT=SHAPEFILE
> I am correct in thinking I need to recompile with some extra flags to
> get WCS and WFS functinong?
> If so does the following look like a reasonable way to go about addidn
> WCS and WFS support:
> ./configure \
>> --with-proj=/usr/local \
>> --with-geos=/usr/local/bin/geos-config \
>> --with-ogr=/usr/local/bin/gdal-config \
>> --with-gdal=/usr/local/bin/gdal-config \
>> --with-postgis=/usr/local/pgsql/bin/pg_config \
>> --with-curl-config=/usr/bin/curl-config \
>> --with-httpd=/usr/local/apache2/bin/httpd \
>> --with-php=/usr/local/php-5.1.2 \
>> --with-wcs \
>> --with-wfs \
>> --with-wfsclient \
>> --with-wmsclient \

Yes, this looks just fine.

> Finally, am I correct in believeing that I can just build mapserver
> again and all the other items I installed (gdal, ogr, proj4, postgis,
> etc.) can be reused as is?

Yes, the rest of the components should be fine unchanged.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | President OSGeo, http://osgeo.org



More information about the mapserver-users mailing list