I’ve already correctly specified my output format inside the mapfile. Anyway, these 2 requests doesn’t give the same rendering : (tile mode) http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer1 (wms) http://localhost/cgi-bin/mapserv.exe?map=mymapfile.map&SERVICE=WMS&REQUEST=GetMap&VERSION=1.3.0&LAYERS=layer1&STYLES=&FORMAT=image/png&BGCOLOR=0xFFFFFF&TRANSPARENT=TRUE&CRS=EPSG:4326&BBOX=y1,x1,y2,x2&WIDTH=256&HEIGHT=256 But maybe I didn’t understand the appropriate use of tile mode.
Should I expect these 2 requests to give the same png output by the way ? Thanks De : [email protected] [mailto:[email protected]] De la part de Wim Vanbelle Envoyé : mercredi 25 août 2010 14:52 À : [email protected] Objet : Re: [mapserver-users] Tile mode & multiple layers Hi Clément, Under your MAP you can specify an OUTPUTFORMAT tag. See http://mapserver.org/mapfile/outputformat.html for details. There's also some additional information about the format options at the bottom. Use AGG for best quality results. On 25 August 2010 14:37, Clément MONIER <[email protected]<mailto:[email protected]>> wrote: Thanks a lot ! I have another bothering issue : PNG outputs of my MS CGI requests now don’t look nicely rendered any more (i.e no smoothly antialiased AGG display) http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer1 layer2<http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer1%20layer2> as it was with similar WMS requests targeting the same mapfile though Where should I specify the desired output format ? Thank you for your help De : [email protected]<mailto:[email protected]> [mailto:[email protected]<mailto:[email protected]>] De la part de Wim Vanbelle Envoyé : mercredi 25 août 2010 13:50 À : [email protected]<mailto:[email protected]> Objet : Re: [mapserver-users] Tile mode & multiple layers Hi Clément, Your request is wrong ;). Try using a space instead. Take a look here : http://mapserver.org/output/tile_mode.html Good luck. On 25 August 2010 13:47, Clément MONIER <[email protected]<mailto:[email protected]>> wrote: Hi, I’m facing a (probable widely encountered) problem using MapServer with tile-mode option. It seems like multiple layers aren’t allowed ?? http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer1 => ok http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer2 => ok http://localhost/cgi-bin/mapserv.exe?mode=tile&tilemode=gmap&tile=X+Y+S&map=mymapfile.map&LAYERS=layer1,layer2 => ko ! Why ? Thanks & Regards Clément _______________________________________________ mapserver-users mailing list [email protected]<mailto:[email protected]> http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
