custom output format not added tocapabilities

Bart van den Eijnden BEN at SYNCERA-ITSOLUTIONS.NL
Tue Jun 14 04:45:16 PDT 2005


The same answer applies to this.

The WMS interface currently only supports GD or GDAL formats, and PDF is not a GDAL or GD format.

Best regards,
Bart

Bart van den Eijnden
Syncera IT Solutions
Postbus 270
2600 AG  DELFT

tel.nr.: 015-7512436
email: BEN at Syncera-ITSolutions.nl

>>> Xavier Vanderstukken <xavan18 at HOTMAIL.COM> 06/14/05 01:43pm >>>
And why the following getmap request is not working?
http://sethi/cgi-bin/mapserver?map=bostonsi.map&REQUEST=GetMap&VERSION=1.1.1&SERVICE=WMS&BOX=232207.0031778726,896928.5498116227,234704.66909270853,899126.709749519&SRS=EPSG:26986&TRANSPARENT=TRUE&BGCOLOR=0xFFFFFF&EXCEPTIONS=application/vnd.ogc.se_xml&WIDTH=934&HEIGHT=822&LAYERS=roads&STYLES=&FORMAT=image/pdf 

<?xml version='1.0' encoding="ISO-8859-1" standalone="no" ?>
<!DOCTYPE ServiceExceptionReport SYSTEM
"http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd">
<ServiceExceptionReport version="1.1.1">
<ServiceException code="InvalidFormat">
msWMSLoadGetMapParams(): Image handling error. Unsupported output format
(image/pdf).
</ServiceException>
</ServiceExceptionReport>


<br><br><br>>From: "Bart van den Eijnden"
<BEN at Syncera-ITSolutions.NL><br>>To:
<xavan18 at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU><br>>Subject:
Re: [UMN_MAPSERVER-USERS] custom output format not added
tocapabilities<br>>Date: Tue, 14 Jun 2005 13:37:49
+0200<br>><br>>Hi,<br>><br>>only GDAL and GD formats are
advertized for now in the WMS capabilities,
see:<br>><br>>http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=455<br>><br>>http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1072<br>><br>>Best
regards,<br>>Bart<br>><br>>Bart van den Eijnden<br>>Syncera IT
Solutions<br>>Postbus 270<br>>2600 AG  DELFT<br>><br>>tel.nr.:
015-7512436<br>>email: BEN at Syncera-ITSolutions.nl<br>><br>>
>>> Xavier Vanderstukken <xavan18 at HOTMAIL.COM> 06/14/05
01:14pm >>><br>>I have the following option in my map file
:<br>>OUTPUTFORMAT<br>>                 NAME pdf<br>>
   MIMETYPE "application/x-pdf"<br>>                 DRIVER
pdf<br>>                 EXTENSION "pdf"<br>>
  FORMATOPTION "OUTPUT_TYPE=RASTER"<br>>END<br>><br>>I
have the following comment in the capabilities response
:<br>><!--<br>>MapServer version 4.4.2 OUTPUT=GIF OUTPUT=PNG
OUTPUT=JPEG OUTPUT=WBMP<br>>OUTPUT=PDF OUTPUT=SWF SUPPORTS=PROJ
SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER<br>>SUPPORTS=WMS_CLIENT
SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT<br>>SUPPORTS=WCS_SERVER
INPUT=EPPL7 INPUT=ORACLESPATIAL INPUT=OGR
INPUT=GDAL<br>>INPUT=SHAPEFILE<br>>--><br>><br>>However
mapserver dont add image/pdf to supported
format.<br>><br>>_________________________________________________________________<br>>Protégez
votre boîte de réception: Phishing : comment l'identifier,
le<br>>signaler et l'empêcher   http://www.fr.msn.be/security 

_________________________________________________________________
Créez gratuitement votre espace perso en ligne avec MSN Spaces !
http://spaces.msn.com/?mkt=fr-be



More information about the MapServer-users mailing list