RE: [mapserver-users] upgrade Mapserver 5.4 to 6.0 (gulp!)

2011-06-10 Thread Chris Green
Hi Brent Thank you for your very helpful comments, much appreciated. It is pretty clear to me that I have to start by changing my elderly Fedora to something better suited to supporting GIS applications including Mapserver 6.0. It is strange - I'm not at all afraid of PHP/Mapscript (although th

[mapserver-users] MapServer Fails

2011-06-10 Thread SixDegrees
We have several NITF images that can be successfully translated to, say, PNG or GTiff format using a gdal_translate command similar to the following: gdal_translate -ot Byte -of GTiff -scale -b 3 -b 2 -b 1myNitf.ntf ~/myGTif.tif However, we are having trouble getting MapServer to serve these i

Re: [mapserver-users] upgrade Mapserver 5.4 to 6.0 (gulp!)

2011-06-10 Thread Smith, Michael ERDC-CRREL-NH
For Fedora, I think you want the EPEL and ELGIS repos. See http://wiki.osgeo.org/wiki/Enterprise_Linux_GIS Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 6/10/11 3:34 AM, "Chris Green" wrote: > Hi Brent > > Thank you for your very helpful comments, much ap

Re: [mapserver-users] Problem using mapserver with WCS

2011-06-10 Thread Frank Warmerdam
On 11-06-09 11:58 PM, Virginia Maffei wrote: Thanks Frank, i dropped the map= from the url but now it throws an error that i dont understand: msWCSGetCoverageMetadata(): WCS server error. Unable to determine the SRS for this layer, no projection defined and no metadata available. Do you have any

Re: [mapserver-users] MapServer Fails

2011-06-10 Thread Frank Warmerdam
On 11-06-10 04:26 AM, SixDegrees wrote: We have several NITF images that can be successfully translated to, say, PNG or GTiff format using a gdal_translate command similar to the following: gdal_translate -ot Byte -of GTiff -scale -b 3 -b 2 -b 1myNitf.ntf ~/myGTif.tif However, we are having

[mapserver-users] Mapserver 6.0, SLD and halo

2011-06-10 Thread Rahkonen Jukka
Hi, This part of SLD used to work with 5.x 3 #FF 1 It does not work with 6.0. Mapserver accepts the SLD if we take off this part: 3 However, the document http://mapserver.org/ogc/sld.html says that also Radius is supported "Halo Yes Supported (fill converted to outlinecolor,

Re: [mapserver-users] Mapserver 6.0, SLD and halo

2011-06-10 Thread Yewondwossen Assefa
Thanks for putting this in trac (#3915 and #3916). I will give it a look early next week. beat regards, On 10/06/2011 9:35 AM, Rahkonen Jukka wrote: Hi, This part of SLD used to work with 5.x 3 #FF 1 It does not work with 6.0. Mapserver accepts the SLD if we take off this part: 3

[mapserver-users] query results lost

2011-06-10 Thread Ben Thompson
Hello...we upgraded to the latest ms4w version 3.0.1 (MapServer and MapScript to 5.6.6 ) and some things went bad. after doing a $oLayer->queryByPoint which yields results (layer->numresults>0), a call to $map_object->saveQuery yields a file showing *no results*: MapServer Query - Generated by msS

[mapserver-users] Google tile schema to coordinates conversion

2011-06-10 Thread Armin Burger
Hi all I would like to set up a scripting solution based on MapScript that replies correctly to requests using the Google tile schema x+y+z. Does anybody know a formula how to transform the XYZ request values to bounding box coordinates in the Google Spherical Mercator projection? I know tha

[mapserver-users] Re: MapServer Fails

2011-06-10 Thread SixDegrees
I'm using PROCESSING "SCALE=AUTO". I don't have my mapfile available at this location, but I can access it on Monday. I'm not seeing as much output as you've indicated. Where is this being output? On the command line when mapserv is called with a query string? Or in the log file? -- View this me

Re: [mapserver-users] Re: MapServer Fails

2011-06-10 Thread Frank Warmerdam
On 11-06-10 01:00 PM, SixDegrees wrote: I'm using PROCESSING "SCALE=AUTO". I don't have my mapfile available at this location, but I can access it on Monday. I'm not seeing as much output as you've indicated. Where is this being output? On the command line when mapserv is called with a query str

[mapserver-users] Re: MapServer Fails

2011-06-10 Thread SixDegrees
OK, thanks. I've got everything set much the way you suggest already, but perhaps I missed some of the output. I'll check again on Monday. -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/MapServer-Fails-tp6461326p6463216.html Sent from the Mapserver - User mailing list ar

Re: [mapserver-users] Re: MapServer Fails

2011-06-10 Thread Jeff McKenna
More details on debug output at: http://mapserver.org/development/rfc/ms-rfc-28.html Actually the official doc for debugging MapServer lives at: http://www.mapserver.org/optimization/debugging.html -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeoma

Re: [mapserver-users] Google tile schema to coordinates conversion

2011-06-10 Thread Armin Burger
I discovered now the conversion method in the Mapserver source code in maptile.c => msTileSetExtent(). armin On 10/06/2011 17:43, Armin Burger wrote: Hi all I would like to set up a scripting solution based on MapScript that replies correctly to requests using the Google tile schema x+y+z. D

Re: [mapserver-users] upgrade Mapserver 5.4 to 6.0 (gulp!)

2011-06-10 Thread pcreso
Just my opinion. But the koolest thing is we do have choices!! ELGIS is nice, but I found it more limited in terms of supported packages (that I use anyway) & speed of update to new versionscompared to both OpenSuse & Ubuntu. My computer use pretty much revolves around Open Source GIS stuff (&

Re: [mapserver-users] Google tile schema to coordinates conversion

2011-06-10 Thread Mark Korver
there is also code here http://www.maptiler.org/google-maps-coordinates-tile-bounds-projection/ On Fri, Jun 10, 2011 at 3:35 PM, Armin Burger wrote: > I discovered now the conversion method in the Mapserver source code in > maptile.c => msTileSetExtent(). > > armin > > > On 10/06/2011 17:43, A

[mapserver-users] Unable to render a raster with 4 bands

2011-06-10 Thread jt2000
I have a GRD raster that I'm trying to show on the map using mapserver. Currently I'm getting all transparent output. I've converted it to TIF using gdal_translate and it converted fine. I also used shp2img to convert to png without any issues. Here is gdalinfo on the TIF file. Driver: GTiff/G

[mapserver-users] Re: Unable to render a raster with 4 bands

2011-06-10 Thread jt2000
BTW, I'm using mapserver 5.6.6 and GDAL 1.8.0 MapServer version 5.6.6 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=ICONV SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER SUPPORTS=WFS_CLIENT SUPPORTS=GEOS INPUT=EPPL7 INP