JRA
(Jukka Rahkonen)
4
Hi,
Some WMS servers can output quite a good quality pdf files. Here are some examples. The Server is Mapserver 6.0 and data are OSM data, imported into PostGIS with osm2pgsql. These requests show only building and road layers and the map looks a bit odd but you should get an idea.
PNG output which shows the image on a browser:
http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1059&HEIGHT=653&LAYERS=building,roadsclose_03&TRANSPARENT=TRUE&FORMAT=image/png&BBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623&SRS=EPSG:3067&STYLES=
The same request as PDF. Save it on a disk, zoom in and look at the texts and building outlines.
http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1059&HEIGHT=653&LAYERS=building,roadsclose_03&TRANSPARENT=TRUE&FORMAT=application/x-pdf&BBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623&SRS=EPSG:3067&STYLES=
This one makes a geotiff file which includes an internal georeferencing info and therefore it opens automatically in a right place in GIS programs like QGis. OpenJUMP, MapInfo, ArcMap etc.
http://188.64.1.61/cgi-bin/mapserv?map=/usr/map/osm-mapserver_i.map&REQUEST=GetMap&SERVICE=WMS&VERSION=1.1.1&WIDTH=1059&HEIGHT=653&LAYERS=building,roadsclose_03&TRANSPARENT=TRUE&FORMAT=image/tiff&BBOX=384624.91928819387,6670111.152621979,388398.2415827064,6672437.856548623&SRS=EPSG:3067&STYLES=
No cached tiles, actually no tiles at all, and OpenLayers nor web Mercator projection.