[MapServer-users] WMS Server

2022-12-14 Thread Arnold Nicholas Tua Sibuea
Hi , Does anywant can give recommendation of the Hardware spec for WMS Server? Thanks in advance Arnold -Original Message- From: MapServer-users On Behalf Of mapserver-users-requ...@lists.osgeo.org Sent: 14 December 2022 20:48 To: mapserver-users@lists.osgeo.org Subject:

[mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter. A layer might be disabled for this request

2020-06-05 Thread Karl Suiter
Hi All, I have a Mapserver 7.6.0 wms server set up and it's generating images correctly in most circumstances. However, I have a wms mapfile consisting of 252 layer classes defining all of the country polygons in a Natural Earth world shapefile. In some instances, I need to send up to 90

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2015-11-12 Thread Jeff McKenna
I was going to respond to this now, but I see that I had responded to this thread 3 years ago, ha :) I guess I haven't changed. Thanks for the update. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/ On 2015-11-12 3:17 AM, Piero Campa

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2015-11-11 Thread Piero Campa
Three years later... Just wanting to trace that I was having the same "oh-Lord-WHY" problem with WMS layers in MapServer (via MapProxy this time), and it ended up being a miserable white-space in the my list of LAYERS. It would be a tiny little UX improvement if the blaming layer(s) could be

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

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

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

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

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

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.mapversion=1.3.0service=WMSREQUEST=GetMapEXCEPTIONS=XMLLAYERS=RasterSampleSTYLES=CRS=EPSG:26910SRS=EPSG:26910FORMAT=image/png;

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

[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

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.

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

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

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-09 Thread Basques, Bob (CI-StPaul)
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brian Fischer Sent: Friday, November 01, 2013 4:47 PM To: Donald Kerr; mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS Server and Custom ESPG code I can get the re-projection to work just fine, but not with a ESPG code

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-09 Thread Brian Fischer
Project Manager Houston Engineering, Inc. O 763.493.4522 | D 763.493.6664 | F 763.493.5572 From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: Friday, November 01, 2013 4:54 PM To: Brian Fischer; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] WMS Server and Custom ESPG code So

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-09 Thread Rahkonen Jukka
, Inc. O 763.493.4522 | D 763.493.6664 | F 763.493.5572 From: Donald Kerr [mailto:donald.k...@dkerr.co.uk] Sent: Friday, November 01, 2013 4:54 PM To: Brian Fischer; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] WMS Server and Custom ESPG code So adding it to the EPSG file does

[mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Brian Fischer
I am trying to use MapServer 6.2.1 as a WMS server with a custom projection and espg code, but I keep getting this error message. msWMSLoadGetMapParams(): WMS server error. Invalid SRS given : SRS must be valid for all requested layers. Is this supported? I have followed these steps. 1)

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Smith, Michael
-boun...@lists.osgeo.org] On Behalf Of Brian Fischer Sent: Friday, November 01, 2013 2:41 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS Server and Custom ESPG code I am trying to use MapServer 6.2.1 as a WMS server with a custom projection and espg code, but I keep getting

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Brent Wood
need to know the projection used. Brent Wood From: Brian Fischer bfisc...@houstoneng.com To: mapserver-users@lists.osgeo.org mapserver-users@lists.osgeo.org Sent: Saturday, November 2, 2013 7:41 AM Subject: [mapserver-users] WMS Server and Custom ESPG code

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Donald Kerr
the above to make yours work. Regards, Donald From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Brian Fischer Sent: 01 November 2013 18:41 To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS Server and Custom

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Donald Kerr
...@lists.osgeo.org] On Behalf Of Brian Fischer Sent: 01 November 2013 21:20 To: mapserver-users@lists.osgeo.org Subject: Re: [mapserver-users] WMS Server and Custom ESPG code Thanks for the reply! It looks like I have everything setup right but seems like MapServer is not reading my espg file

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Brian Fischer
[mailto:donald.k...@dkerr.co.uk] Sent: Friday, November 01, 2013 4:45 PM To: Brian Fischer; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] WMS Server and Custom ESPG code MAP WEB METADATA wms_srs EPSG:27700 EPSG:900913 #Additional projections do not need to be set in LAYER

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Donald Kerr
So adding it to the EPSG file does not work? If that's the case then the sting may be incorrect. Regards, Donald From: Brian Fischer [mailto:bfisc...@houstoneng.com] Sent: 01 November 2013 21:47 To: Donald Kerr; mapserver-users@lists.osgeo.org Subject: RE: [mapserver-users] WMS Server

Re: [mapserver-users] WMS Server and Custom ESPG code

2013-11-01 Thread Rahkonen Jukka
Hi, I did the same as you with MS4W and a new code in my C:\ms4w\proj\nad\epsg file # Chippewa County Coordinates EPSG:97036 97306 +proj=lcc +lat_0=44.5811 +lon_0=-91.29 +lat_1=45.1416 +lat_2=44.8138 +x_0=197000 +y_0=0.0 +ellps=GRS80 +datum=NAD83

[mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Paul S
I am not sure if I double-posted this - if so - apologies! I installed MS4W a few days ago to put together a small proof-of-concept. I've been through the tutorial, which I got to work with a little tweaking. When I attempt to use an Oracle spatial table, I get a MS server error: Invalid

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Lime, Steve D (MNIT)
...@lists.osgeo.org] On Behalf Of Paul S Sent: Monday, September 23, 2013 8:44 AM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter I am not sure if I double-posted this - if so - apologies! I installed MS4W a few days ago

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Paul S
Thanks Steve, Here is the URL I am using ... http://localhost/cgi-bin/mapserv.exe? map=C:\ms4w\Apache\TEST_Routes.map LAYER=TestMap SERVICE=WMS VERSION=1.1.1 REQUEST=GetMap I wish/hope it is something as simple as a misspelling! But I do not see it. Paul -- View this message in context:

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Rahkonen Jukka
Hi, Your latest mail shows that you do not know yet how a complete and valid GetMap request looks like. Later in this mail you will see an example. Read about EXTENT from http://mapserver.org/mapfile/map.html Read carefully http://mapserver.org/ogc/wms_server.html The mapfile on this page is

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter

2013-09-23 Thread Steve . Toutant
-boun...@lists.osgeo.org 2013-09-23 10:21 A mapserver-users@lists.osgeo.org cc Objet Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter Thanks Steve, Here is the URL I am using ... http://localhost/cgi-bin/mapserv.exe? map=C:\ms4w\Apache\TEST_Routes.map

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2012-10-26 Thread Mike Stoddart
Thanks, I tried as you suggested after reading the documentation WEB IMAGEPATH /opt/test/static/ms_tmp IMAGEURL /media/ms_tmp/ METADATA ows_enable_request * END END # WEB But I still get the same error. Thanks Mike On Thu, Oct 25, 2012 at

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2012-10-26 Thread Jeff McKenna
On 12-10-25 5:49 PM, Mike Stoddart wrote: I'm using MapServer 6.0.1 on Fedora 16 and I'm having a weird layer issue. We're trying to port our application from MapServer 5 - 6 and we're seeing the error: WMS server error. Invalid layer(s) given in the LAYERS parameter. Once you have your

[mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2012-10-25 Thread Mike Stoddart
I'm using MapServer 6.0.1 on Fedora 16 and I'm having a weird layer issue. We're trying to port our application from MapServer 5 - 6 and we're seeing the error: WMS server error. Invalid layer(s) given in the LAYERS parameter. I can re-create the problem using Python MapScript and an example map

Re: [mapserver-users] WMS server error. Invalid layer(s) given in the LAYERS parameter.

2012-10-25 Thread Rahkonen Jukka
Hi, Perhaps you have not added ows_enable_request * into your mapfile. Search and read the migration guide if this happens to be the reason for the trouble. Mapserver web site should be updated at least. -Jukka Rahkonen- Mike Stoddart wrote: I'm using

[mapserver-users] WMS server layer trouble

2012-03-06 Thread Raffaele Morelli
Hi, I can't get it working as desired and can't understand why. Here is my wms online resource: http://cen.isprambiente.it/cgi-bin/rf_mapserv?SERVICE=WMSVERSION=1.1.1REQUEST=GetCapabilities If you try to load the layer sostegni in QGis you should get an image size error, selecting the CEN-RF

Re: [mapserver-users] WMS server layer trouble

2012-03-06 Thread Rahkonen Jukka
Hi, Look at the GetCapabilities and see if Mapserver is advertising the layer extents in reasonable way. I have a feeling that QGis is trying to zoom automatically to the layer extents by taking the layer extents and some default resolution and calculating WIDTH and HEIGHT by those too. If

Re: [mapserver-users] WMS server layer trouble

2012-03-06 Thread Raffaele Morelli
2012/3/6 Rahkonen Jukka jukka.rahko...@mmmtike.fi ** Hi, Look at the GetCapabilities and see if Mapserver is advertising the layer extents in reasonable way. I have a feeling that QGis is trying to zoom automatically to the layer extents by taking the layer extents and some default

[mapserver-users] wms server - raster image quality

2011-07-01 Thread Mark Volz
Hello I set up a WMS Server using Mapserver. The quality of the map is terrible. If anyone an example of a mapfile to serve imagery via wms it would be appreciated. Thanks MAP NAME MAP EXTENT 699283 4853930 736320 4904147 PROJECTION init=epsg:26914

Re: [mapserver-users] WMS Server problem

2010-03-25 Thread Lars Lingner
Tony Baylis schrieb: Hi guys, Apologies for adding another question related to a similar previous post but I too am having problems getting MapServer to serve a WMS layer. At this stage I can't get a GetCapabilities (it wants to download the mapserv file) or Mode=map to work via the

[mapserver-users] WMS Server problem

2010-03-24 Thread Tony Baylis
Hi guys, Apologies for adding another question related to a similar previous post but I too am having problems getting MapServer to serve a WMS layer. At this stage I can't get a GetCapabilities (it wants to download the mapserv file) or Mode=map to work via the browser. I have been able to get

[mapserver-users] WMS Server - arcgis 9.3 Service Error Code:service

2009-03-20 Thread Travis Kirstine
I have been attempting to test a wms service with arcgis and am having difficulties. ArcGIS keeps generating the following error: One or more layers failed to draw: test_wms: WMS service exceptions:-Service Error Code:service Service Error Description: msWFSDispatch(): WFS server error.

Re: [mapserver-users] WMS Server - arcgis 9.3 Service Error Code:service

2009-03-20 Thread Bart van den Eijnden (OSGIS)
Which version of Mapserver are you running? This was fixed in 5.2.1. Best regards, Bart Travis Kirstine wrote: I have been attempting to test a wms service with arcgis and am having difficulties. ArcGIS keeps generating the following error: One or more layers failed to draw: test_wms:

Re: [MAPSERVER-USERS] wms server, serve layers in multiple projections

2008-05-20 Thread Neil Best
Maria Panagou wrote: I am wondering if it is possible to setup a WMS server with Mapserver, that will serve layers in more than one map projection. For example it it possible to declare at MAP level such a PROJECTION declaration? PROJECTION init=epsg:900913 init=epsg:4326

Re: [MAPSERVER-USERS] wms server, serve layers in multiple projections

2008-05-20 Thread Rahkonen Jukka
Neil Best wrote: Maria Panagou wrote: I am wondering if it is possible to setup a WMS server with Mapserver, that will serve layers in more than one map projection. For example it it possible to declare at MAP level such a PROJECTION declaration? PROJECTION init=epsg:900913

Re: [MAPSERVER-USERS] WMS server with non-EPSG SRS?

2008-05-20 Thread Neil Best
Frank Warmerdam-2 wrote: The normal practice if you want a non-EPSG coordinate system to be usable for WMS serving with MapServer is to just extend the epsg init file with the definition. Is this unacceptable for some reason? I have been reluctant to do this because: 1) I was