Re: [mapserver-users] error in raster layer

2011-04-08 Thread fruitwerks
That error is fairly vague. The first thing I would look at is permissions. Also a good rule of thumb is to not use () in file or directory names. On Thu, Apr 7, 2011 at 9:16 PM, morteza shabihkhani m.shabihkh...@gmail.com wrote: Hello all, I want to create a very simple raster layer, but I

[mapserver-users] Problems with Query Template (Chameleon)

2011-04-08 Thread Andy Hird
Hi there - really need some help if you can please regarding Template Query feature, and I have googled to exhaustion :-/ Background: I have an existing Map file referencing MapInfo Tab files running under ms4w_2.3.1 chameleon_ms4w-2.4.1 I have installed ms4w - V3.0.1 and chameleon V2.6.0

Re: [mapserver-users] RE: making POINT with SQL

2011-04-08 Thread Jan Hartmann
Didn't I hear this advice before on this list :-) Jan On 7-4-2011 21:49, Lime, Steve D (DNR) wrote: Make sure you're actually turning the layer on. Status ON always makes me wonder. Try setting STATUS to DEFAULT and comment out the maxscale line and see what happens. Steve

[mapserver-users] MapServer 6: ESRI Grid display with KMZ output

2011-04-08 Thread Cécile Alfred
Hi, I try to use Mapserver 6 beta 5 to generate kmz output with several type of input data (geotiff, shape and esri ascii grid): It is OK with geotiff and shape but there is no result with grd (empty image in temp). If I try to generate png output it's OK for all. Thank you for help Kelly

[mapserver-users] MS 6.0 beta 4: OGR outputformat truncates WMS GetCapabilities

2011-04-08 Thread Rahkonen Jukka
Hi, I was playing with the ORG outputformats. On the bottom I have a working mapfile for WMS. I took this section OUTPUTFORMAT NAME OGRGML DRIVER OGR/GML FORMATOPTION STORAGE=filesystem FORMATOPTION FORM=multipart FORMATOPTION FILENAME=result.gml END from document

Re: [mapserver-users] MS 6.0 beta 4: OGR outputformat truncates WMSGetCapabilities

2011-04-08 Thread Rahkonen Jukka
Done, #3822 with a simple mapfile that truncates GetCapabilities for me. And yes, I am on Windows, server 2003 and MS4W with MS 6.0 beta4 package. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org

[mapserver-users] Transparency of overlapping PNG-symbols

2011-04-08 Thread Stephan Holl
Dear list, while developing an application with PNG-symbols rendered on top of a map I have encountered a problem if the PNG-symbols overlap each other; artefacts are present (see attachment). The Symbols are defined as following: SYMBOL NAME Batnight TYPE PIXMAP IMAGE

Re: [mapserver-users] wms_style_xxx_legendurl_href

2011-04-08 Thread Stephan Holl
Hello Jörg, Jörg Thomsen j...@mapmedia.de, [20110316 - 11:53:52] Hi, o.k., it was not the best moment to ask my question, because at the same time the mapserver beta 6 was announced ;) so here a 'repost', it would be nice if anyone could give me a hint: Hi, I'm using the

[mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
Hi folks, just a beginner's question: Is it possible to position the image-error message of a WMS request in the middle of the image? Normally it is placed in the upper left corner, and with OpenLayers (overlaid over Google Maps) the message is displayed on a tile outside the visual screen.

RE: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Lime, Steve D (DNR)
Looking at the code it's always in the same place, so no... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org [mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jan Hartmann Sent: Friday, April 08, 2011 9:21 AM To: mapserver-users@lists.osgeo.org Subject:

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
OK, that means that I have to create an error image the size of the WMS request and position the message in the middle, with some combination of PHP Mapscript and PHP/GD. Doable. Thanks, Jan On 8-4-2011 16:27, Lime, Steve D (DNR) wrote: Looking at the code it's always in the same place, so

RE: [mapserver-users] Transparency of overlapping PNG-symbols

2011-04-08 Thread Lime, Steve D (DNR)
Can you share the batnight.png file? Any difference if you remove TRANSPARENT 0? It shouldn't have any effect since transparency is picked up from the pixmap. By chance does this work ok in 6.0? Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org

RE: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Lime, Steve D (DNR)
Or limit the size of the WMS request to the viewport size (ratio:1). I would think that would be desirable regardless IMHO. Other option is to generate longer error messages with really long layer names. ;-) Steve -Original Message- From: Jan Hartmann [mailto:j.l.h.hartm...@uva.nl]

Re: [mapserver-users] error in raster layer

2011-04-08 Thread Frank Warmerdam
On 11-04-08 12:16 AM, morteza shabihkhani wrote: Hello all, I want to create a very simple raster layer, but I faced to this error: msDrawMap(): Image handling error. Failed to draw layer named 'elevation'. msDrawRaster(): Unable to access file. stcon using full path stcon this is my layer:

Re: [mapserver-users] Transparency of overlapping PNG-symbols

2011-04-08 Thread thomas bonfort
Given the artifact, I'd say that you are using the GD renderer. Are you sure it's the AGG one that is being selected when you create that image? -- thomas 2011/4/8 Lime, Steve D (DNR) steve.l...@state.mn.us: Can you share the batnight.png file? Any difference if you remove TRANSPARENT 0? It

Re: [mapserver-users] 16 Bit PNG Output

2011-04-08 Thread Frank Warmerdam
On 11-04-07 08:19 AM, kaipi wrote: I am not able to output elevation data as 16 Bit PNGs. Is Mapserver not able to to this ? I tried with a current version of Mapserver on Windows and on Linux. I tried WMS and WCS requests - but I always get 8 Bit PNGs back although I have configured 16INT.

Re: [mapserver-users] error in raster layer

2011-04-08 Thread morteza shabihkhani
Thank you, Because I'm new in Mapserver, I don't know how to track the errors. Could you please help me to check the permissions. On Fri, Apr 8, 2011 at 2:45 AM, fruitwerks fruitwe...@gmail.com wrote: That error is fairly vague. The first thing I would look at is permissions. Also a good

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
No, that doesn't work. It's an OpenLayers application, so the WMS request automatically computes an extent in excess of the screen. The second solution is really a bit of a kludge, don't you think so? :-) I use another kludge: handle the complete WMS request via PHP Mapscript: return a an XML

Re: [mapserver-users] Error Message in WMS service

2011-04-08 Thread Jan Hartmann
Ah, I knew it was a beginner's question. Thanks Michael. Jan On 8-4-2011 18:36, Smith, Michael ERDC-CRREL-NH wrote: Jan, In the options to OpenLayers WMS layer, you set the ratio: 1 and OpenLayers will not request outside of the visible screen area. Mike

Re: [mapserver-users] error in raster layer

2011-04-08 Thread morteza shabihkhani
Frank Thank you for your response. In fact, I'm not very familiar with binaries, but as I remember, I had installed GDAL/OGR before I installed Mapserv. How can I check that my installation process was correct? about the path, I have provided the path in my mapfile and the mapfile call this

Re: [mapserver-users] error in raster layer

2011-04-08 Thread Frank Warmerdam
On 11-04-08 01:41 PM, morteza shabihkhani wrote: Frank Thank you for your response. In fact, I'm not very familiar with binaries, but as I remember, I had installed GDAL/OGR before I installed Mapserv. How can I check that my installation process was correct? Morteza, I suggested using the