Re: [mapserver-users] Tile mode multiple layers

2010-08-25 Thread Wim Vanbelle
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 clement.mon...@v-trafic.com 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1=
  ok


 http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer2=
  ok




 http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1,layer2=
  ko !



 Why ?



 Thanks  Regards



 *Clément *



 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Tile mode multiple layers

2010-08-25 Thread Clément MONIER
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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
 
layer2http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=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 : mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] De la part de Wim Vanbelle
Envoyé : mercredi 25 août 2010 13:50
À : mapserver-users@lists.osgeo.org
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 
clement.mon...@v-trafic.commailto:clement.mon...@v-trafic.com 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
 = ok
http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer2
 = ok

http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1,layer2
 = ko !

Why ?

Thanks  Regards

Clément


___
mapserver-users mailing list
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Tile mode multiple layers

2010-08-25 Thread Wim Vanbelle
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 clement.mon...@v-trafic.com 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
 layer2http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=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 :* mapserver-users-boun...@lists.osgeo.org [mailto:
 mapserver-users-boun...@lists.osgeo.org] *De la part de* Wim Vanbelle
 *Envoyé :* mercredi 25 août 2010 13:50
 *À :* mapserver-users@lists.osgeo.org
 *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 clement.mon...@v-trafic.com
 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1=
  ok


 http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer2=
  ok




 http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1,layer2=
  ko !



 Why ?



 Thanks  Regards



 *Clément *




 ___
 mapserver-users mailing list
 mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/mailman/listinfo/mapserver-users



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


RE: [mapserver-users] Tile mode multiple layers

2010-08-25 Thread Clément MONIER
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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
(wms)
http://localhost/cgi-bin/mapserv.exe?map=mymapfile.mapSERVICE=WMSREQUEST=GetMapVERSION=1.3.0LAYERS=layer1STYLES=FORMAT=image/pngBGCOLOR=0xFFTRANSPARENT=TRUECRS=EPSG:4326BBOX=y1,x1,y2,x2WIDTH=256HEIGHT=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 : mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] De la part de Wim Vanbelle
Envoyé : mercredi 25 août 2010 14:52
À : mapserver-users@lists.osgeo.org
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 
clement.mon...@v-trafic.commailto:clement.mon...@v-trafic.com 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
 
layer2http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=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 : 
mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org
 
[mailto:mapserver-users-boun...@lists.osgeo.orgmailto:mapserver-users-boun...@lists.osgeo.org]
 De la part de Wim Vanbelle
Envoyé : mercredi 25 août 2010 13:50
À : mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
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 
clement.mon...@v-trafic.commailto:clement.mon...@v-trafic.com 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=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1
 = ok
http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer2
 = ok

http://localhost/cgi-bin/mapserv.exe?mode=tiletilemode=gmaptile=X+Y+Smap=mymapfile.mapLAYERS=layer1,layer2
 = ko !

Why ?

Thanks  Regards

Clément


___
mapserver-users mailing list
mapserver-users@lists.osgeo.orgmailto:mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users