custom output format not addedtocapabilities

Xavier Vanderstukken xavan18 at HOTMAIL.COM
Tue Jun 14 04:53:16 PDT 2005


Ok and witch request is able to output custom format

<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 
addedtocapabilities<br>>Date: Tue, 14 Jun 2005 13:45:16 
+0200<br>><br>>The same answer applies to this.<br>><br>>The WMS 
interface currently only supports GD or GDAL formats, and PDF is not a GDAL 
or GD format.<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:43pm >>><br>>And why the 
following getmap request is not 
working?<br>>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<br>><br>><?xml 
version='1.0' encoding="ISO-8859-1" standalone="no" 
?><br>><!DOCTYPE ServiceExceptionReport 
SYSTEM<br>>"http://schemas.opengeospatial.net/wms/1.1.1/exception_1_1_1.dtd"><br>><ServiceExceptionReport 
version="1.1.1"><br>><ServiceException 
code="InvalidFormat"><br>>msWMSLoadGetMapParams(): Image 
handling error. Unsupported output 
format<br>>(image/pdf).<br>></ServiceException><br>></ServiceExceptionReport><br>><br>><br>><br><br><br>&gt;From: 
&quot;Bart van den 
Eijnden&quot;<br>>&lt;BEN at Syncera-ITSolutions.NL&gt;<br>&gt;To:<br>>&lt;xavan18 at HOTMAIL.COM&gt;,&lt;MAPSERVER-USERS at LISTS.UMN.EDU&gt;<br>&gt;Subject:<br>>Re: 
[UMN_MAPSERVER-USERS] custom output format not 
added<br>>tocapabilities<br>&gt;Date: Tue, 14 Jun 2005 
13:37:49<br>>+0200<br>&gt;<br>&gt;Hi,<br>&gt;<br>&gt;only 
GDAL and GD formats are<br>>advertized for now in the WMS 
capabilities,<br>>see:<br>&gt;<br>&gt;http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=455<br>&gt;<br>&gt;http://mapserver.gis.umn.edu/bugs/show_bug.cgi?id=1072<br>&gt;<br>&gt;Best<br>>regards,<br>&gt;Bart<br>&gt;<br>&gt;Bart 
van den Eijnden<br>&gt;Syncera 
IT<br>>Solutions<br>&gt;Postbus 270<br>&gt;2600 AG  
DELFT<br>&gt;<br>&gt;tel.nr.:<br>>015-7512436<br>&gt;email: 
BEN at Syncera-ITSolutions.nl<br>&gt;<br>&gt;<br>>&gt;&gt;&gt; 
Xavier Vanderstukken &lt;xavan18 at HOTMAIL.COM&gt; 
06/14/05<br>>01:14pm &gt;&gt;&gt;<br>&gt;I have the 
following option in my map 
file<br>>:<br>&gt;OUTPUTFORMAT<br>&gt;                
  NAME pdf<br>&gt;<br>>    MIMETYPE 
&quot;application/x-pdf&quot;<br>&gt;                 
DRIVER<br>>pdf<br>&gt;                 EXTENSION 
&quot;pdf&quot;<br>&gt;<br>>   FORMATOPTION 
&quot;OUTPUT_TYPE=RASTER&quot;<br>&gt;END<br>&gt;<br>&gt;I<br>>have 
the following comment in the capabilities 
response<br>>:<br>&gt;&lt;!--<br>&gt;MapServer 
version 4.4.2 OUTPUT=GIF OUTPUT=PNG<br>>OUTPUT=JPEG 
OUTPUT=WBMP<br>&gt;OUTPUT=PDF OUTPUT=SWF 
SUPPORTS=PROJ<br>>SUPPORTS=FREETYPE 
SUPPORTS=WMS_SERVER<br>&gt;SUPPORTS=WMS_CLIENT<br>>SUPPORTS=WFS_SERVER 
SUPPORTS=WFS_CLIENT<br>&gt;SUPPORTS=WCS_SERVER<br>>INPUT=EPPL7 
INPUT=ORACLESPATIAL 
INPUT=OGR<br>>INPUT=GDAL<br>&gt;INPUT=SHAPEFILE<br>&gt;--&gt;<br>&gt;<br>&gt;However<br>>mapserver 
dont add image/pdf to 
supported<br>>format.<br>&gt;<br>&gt;_________________________________________________________________<br>&gt;Protégez<br>>votre 
boîte de réception: Phishing : comment 
l'identifier,<br>>le<br>&gt;signaler et l'empêcher   
http://www.fr.msn.be/security<br>><br>>_________________________________________________________________<br>>Créez 
gratuitement votre espace perso en ligne avec MSN Spaces 
!<br>>http://spaces.msn.com/?mkt=fr-be<br>><br>

_________________________________________________________________
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