[mapserver-users] Using a 16-bit per band PNG image

2009-03-17 Thread Reinoud Bokhorst
Hi, I am trying to use a PNG image with 16-bits per color band (TYPE=UInt16 according to GDAL) as a raster layer in mapserver. But what comes out is reduced to a 8-bit per color band PNG (TYPE=BYTE) resulting in a loss of colors. I tried various imagetype options like aggpng24, png24 and

[mapserver-users] ArcSDE-Support for php mapscript

2009-03-17 Thread Sven Schroeter
Hi all, My customers System: Windows 2003 Server with IIS 6, PHP 5.2.5 MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread Rahkonen Jukka
Frank Warmerdam wrote: Aihe: Re: [mapserver-users] Two questions about WMS and outputformats Rahkonen Jukka wrote: Hi, By default, without having any OUTPUTFORMAT sections in the mapfile, Mapserver is advertising following imageformats in WMS GetCapabilities document:

Re: [mapserver-users] Using a 16-bit per band PNG image

2009-03-17 Thread Frank Warmerdam
Reinoud Bokhorst wrote: Hi, I am trying to use a PNG image with 16-bits per color band (TYPE=UInt16 according to GDAL) as a raster layer in mapserver. But what comes out is reduced to a 8-bit per color band PNG (TYPE=BYTE) resulting in a loss of colors. Reinoud, MapServer does not normally

Re: [mapserver-users] ArcSDE-Support for php mapscript

2009-03-17 Thread Jeff McKenna
Sven Schroeter wrote: Hi all, My customers System: Windows 2003 Server with IIS 6, PHP 5.2.5 MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=AGG SUPPORTS=FREETYPE SUPPORTS=WMS_SERVER SUPPORTS=WMS_CLIENT

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread paalkr
Hi! Is there a way to prevent the default outputformats to be exposed in the capabilities document? I have a map service where I have used AGG specific rendering capabilities, and requesting e.g a GIF image then makes a bad looking map and does not make sense. I would like the opportunity to

[mapserver-users] Problems with Google 900913 Projection and WMS Layers

2009-03-17 Thread Bill Thoen
I'm trying to get my WMS server to produce WMS layers for an OpenLayers application I'm building that uses some Google map layers. But I'm getting no results. DEBUG set to ON in my mapfile produces the following errors (this is the last three lines of the log file: [Tue Mar 17 15:16:28

Re: [mapserver-users] Problems with Google 900913 Projection and WMS Layers

2009-03-17 Thread paalkr
Hi! Which file did you add the 900913 coordinate system block to? You have to add it to the epsg file, I have done that my self and has no trouble (regarding coordinate system support) when adding a WMS service from MapServer in Google Maps. Regards, Pål Kristensen Bill Thoen wrote: .. I

Re: [mapserver-users] Two questions about WMS and outputformats

2009-03-17 Thread Rahkonen Jukka
Hi, Reason for both of my problems was found. The first, two image formats that seemed not to work, is caused by not-so-common MIME types image/png; mode=24bit and image/svg+xml (not image/tiff as I wrote in my original mail). My GIS client does not use url encoding for Space and Plus

Re: [mapserver-users] WFS and PostGIS newbie question

2009-03-17 Thread paalkr
Hi! CONNECTIONTYPE WFS is used when MapServer acts as a WFS client, i.e consuming a WFS service. If I understood you correctly, you are trying to serve out a WFS service with data stored in PostgreSQL/PostGIS. I think the following documents should be of great help to you: WFS server howto:

Re: [mapserver-users] Problems with Google 900913 Projection and WMS Layers

2009-03-17 Thread Bill Thoen
I added it to the epsg file. paalkr wrote: Hi! Which file did you add the 900913 coordinate system block to? You have to add it to the epsg file, I have done that my self and has no trouble (regarding coordinate system support) when adding a WMS service from MapServer in Google Maps. Regards,

[mapserver-users] SDE connection problem from Solaris Mapserver

2009-03-17 Thread mapgeek
Environment: Mapserver 5.2.1 // Solaris 9 // Apache 2.2.8 // SDE 9.2 I am trying to serve SDE data via WFS requests. It works great on a development machine running MS4W, but now we're trying to get it working on our Solaris web server, and the SDE connection is not working there. To move my