custom output format not addedtocapabilities
Bart van den Eijnden
BEN at SYNCERA-ITSOLUTIONS.NL
Tue Jun 14 05:08:09 PDT 2005
You can do it through the native Mapserver CGI interface, so use mode=map&layers=roads
http://mapserver.gis.umn.edu/doc44/cgi-reference.html
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:53pm >>>
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>>From:
"Bart van den
Eijnden"<br>><BEN at Syncera-ITSolutions.NL><br>>To:<br>><xavan18 at HOTMAIL.COM>,<MAPSERVER-USERS at LISTS.UMN.EDU><br>>Subject:<br>>Re:
[UMN_MAPSERVER-USERS] custom output format not
added<br>>tocapabilities<br>>Date: Tue, 14 Jun 2005
13:37:49<br>>+0200<br>><br>>Hi,<br>><br>>only
GDAL and GD formats are<br>>advertized for now in the WMS
capabilities,<br>>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<br>>regards,<br>>Bart<br>><br>>Bart
van den Eijnden<br>>Syncera
IT<br>>Solutions<br>>Postbus 270<br>>2600 AG
DELFT<br>><br>>tel.nr.:<br>>015-7512436<br>>email:
BEN at Syncera-ITSolutions.nl<br>><br>><br>>>>>
Xavier Vanderstukken <xavan18 at HOTMAIL.COM>
06/14/05<br>>01:14pm >>><br>>I have the
following option in my map
file<br>>:<br>>OUTPUTFORMAT<br>>
NAME pdf<br>><br>> MIMETYPE
"application/x-pdf"<br>>
DRIVER<br>>pdf<br>> EXTENSION
"pdf"<br>><br>> FORMATOPTION
"OUTPUT_TYPE=RASTER"<br>>END<br>><br>>I<br>>have
the following comment in the capabilities
response<br>>:<br>><!--<br>>MapServer
version 4.4.2 OUTPUT=GIF OUTPUT=PNG<br>>OUTPUT=JPEG
OUTPUT=WBMP<br>>OUTPUT=PDF OUTPUT=SWF
SUPPORTS=PROJ<br>>SUPPORTS=FREETYPE
SUPPORTS=WMS_SERVER<br>>SUPPORTS=WMS_CLIENT<br>>SUPPORTS=WFS_SERVER
SUPPORTS=WFS_CLIENT<br>>SUPPORTS=WCS_SERVER<br>>INPUT=EPPL7
INPUT=ORACLESPATIAL
INPUT=OGR<br>>INPUT=GDAL<br>>INPUT=SHAPEFILE<br>>--><br>><br>>However<br>>mapserver
dont add image/pdf to
supported<br>>format.<br>><br>>_________________________________________________________________<br>>Protégez<br>>votre
boîte de réception: Phishing : comment
l'identifier,<br>>le<br>>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