Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Rahkonen Jukka (Tike)
Hi, You seem to use the name of the whole service "rastersample" in &layer=. That will mean that all layers on the service are requested. And then you control the 5 and 2 m layers by using min/maxgeowidth in layers. I have never tried such configuration myself but probably it should work. Howev

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread gom
This is what is in the ms_error.txt file when debug is turned on. [Thu Apr 03 14:34:17 2014].276000 CGI Request 1 on process 8516 [Thu Apr 03 14:34:17 2014].276000 msWMSLoadGetMapParams(): enabling non-square pixels. [Thu Apr 03 14:34:17 2014].276000 msDrawMap(): kicking into non-square pixel pres

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Andrea Peri
Thi go in timeout: 192.168.0.21 - - [03/Apr/2014:09:53:54 -0600] "GET /cgi-bin/mapserv.exe?map=/ mapserv/images/images.map&version=1.3.0&service=WMS&REQUEST=GetMap&EXCEPTIONS=XML&LAYERS=RasterSample&STYLES=&CRS=EPSG:26910&SRS=EPSG:26910&FORMAT=image/png; mode=8bit&BBOX=496500.00,6234300.00

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread gom
Here is what I have done. I tweaked the extents of my Mapfile and now the data is added to AutoCAD Map instantly. The changes are fairly small so it doesn't seem logical that the change in total area is the culprit. Does this suggest anything? New Extents 496500.000 6237500.00 595000.000 639550

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread gom
Here is what I have done. I tweaked the extents of my Mapfile and now the data is added to AutoCAD Map instantly. The changes are fairly small so it doesn't seem logical that the change in total area is the culprit. Does this suggest anything? New Extents 496500.000 6237500.00 595000.000 639550

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Rahkonen Jukka (Tike)
Hi, AutoCAD is making funny requests: same BBOX but four different image size. Probably it is building a local cache from the maps for making zooming and panning fluent later, and perhaps it wants to fetch a high resolution image so that it can create better quality printouts. Anyway, the seco

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread gom
Thanks for all the tips. I checked the logs and this is what I found. The following 4 requests are sent to the server when AutoCAD connects to the server. The 1st, 3rd and 4th requests all execute almost instantly when pasted into the browser command line. The second statement runs for about 70

Re: [mapserver-users] WMS Server Optimization?

2014-04-03 Thread Lars Lingner
Hi, thats an interesting case. Like Jukka said, could you check your Apache log files and identify the request URL send by AutoCad? I would run these request by hand and check the resulting image. For comparison it would be interesting to do this also with a request from GrobalMapper or other cli

Re: [mapserver-users] WMS Server Optimization?

2014-04-02 Thread Rahkonen Jukka (Tike)
Hi, Check from the Apache access.log what kind of WMS requests AutoCad is sending. That should give a hint about how it is so heavy. Png format is about the worst of all for server usage because the whole image data must be decompressed for each request. You will find easily recipes for creat

Re: [mapserver-users] WMS Server Optimization?

2014-04-02 Thread gom
Thanks for the tip Andrea. I tried the settings but it makes no difference. I have included my map file to be sure I am am asking the question clearly and to be sure I am implelemnting you suggestion correctly. MAP NAME "RasterSample" SIZE 300 450 EXTENT 496500.000 62

Re: [mapserver-users] WMS Server Optimization?

2014-04-02 Thread Andrea Peri
I set always the EXTEND information at the layer level. This speed really the startup of mapserver. Without the EXTENT al layer level the WMS try to calculate it to respond at a GetCapability request. I guess the wms_extents is not sufficient to speed up mapserver. hope to help. Andrea. 2014

[mapserver-users] WMS Server Optimization?

2014-04-02 Thread gom
I have created a Mapserver site and published a couple of large raster layers through WMS. They work as expected and perform quiite well. When i add the wms layers to Gaia or to Global Mapper they add and display great. I want to display the layers in AutoCAD Map. When I add the WMS layer there