Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread paalkr
Hi! Could I please ask for a comment on this issue from one of the developers? paalkr wrote: Hi! I have the following output format defined in my mapfile (MapServer 5.4.2): OUTPUTFORMAT NAME png8bit DRIVER AGG/PNG MIMETYPE image/png EXTENSION png

[mapserver-users] OSM data rendering with Mapserver and Openlayers

2009-11-02 Thread Ali_
Hi guys, Thanks for all those who responded to my previous queries. I am using the same tutorial http://trac.osgeo.org/mapserver/wiki/RenderingOsmData I managed to see the proper image when I run shp2img utility and it looks good. But when I follow the code given for Openlayers to display the

Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread Frank Warmerdam
paalkr wrote: Hi! Could I please ask for a comment on this issue from one of the developers? Pål, One bit PNGs are a perfectly valid response. I would suggest two approaches. 1) File a ticket with Microsoft on Bing Maps, and hopefully they will roll a fix into their operational build

Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread Dan Little
You could use a Python/PHP mapscript wrapper that tests to see the number of colors in the PNG before returning it to the client. In such a case you could manipulate the PNG using GD/PAL/Cairo/Graphics-Library-of-the-Month. - Original Message From: Frank Warmerdam

[mapserver-users] Designing a wrapper around mapserv which can be used with fcgi

2009-11-02 Thread Adrian Popa
Hello everyone, I am currently using a wrapper around mapserv which receives the URL parameters, builds the map file (actually I only need to set some filters in the map file, but the filters need to be built after running some SQL queries with the passed in parameters). After the map file is

[mapserver-users] symbol problem

2009-11-02 Thread sunny74
Dear Friends, I have created a map file using QGIS and after that the symbols had to be changed once.So I imported the symbols into QGIS and created a fresh map file. But now again the symbols need to be changed and I followed the above process. But this time although symbols r getting imported

Re: [mapserver-users] Designing a wrapper around mapserv which can be used with fcgi

2009-11-02 Thread Andy Colson
Adrian Popa wrote: Hello everyone, I am currently using a wrapper around mapserv which receives the URL parameters, builds the map file (actually I only need to set some filters in the map file, but the filters need to be built after running some SQL queries with the passed in parameters).

[mapserver-users] EPSG code definition does not match the gdalinfo definition so I created a custom code

2009-11-02 Thread John Mitchell
I ran gdalinfo (listed at the bottom) for a jpeg 2000 that I want to host via mapserver and it says that the EPSG code is 32128 but when I look at this EPSG code definition within mapserver listed below I noticed that the definition is listed in meters but gdalinfo is listed in feet and the

Re: [mapserver-users] Quantize and 8bit/1bit PNG problem

2009-11-02 Thread paalkr
Hi Frank! Thanks for the comment! The idea of using Bing Maps and Silverlight was not mine, I argued quite heavily against it :) The bug is in fact in Sliverlight and Microsoft has admitted it, but they don't wont to fix it, go figure! I understand that a 1bit image is a total valid output and I

Re: [mapserver-users] Query feature using openlayers and mapserver

2009-11-02 Thread Aypes
I have solved the problem. There is the function code in my html: map.events.register('click', map, function (e) { var url = http://localhost/cgi-bin/mapserv.exe; + ?map=map/file/directory.map + REQUEST=GetFeatureInfo + VERSION=1.1.1 +

Re: [mapserver-users] Designing a wrapper around mapserv which can be used with fcgi

2009-11-02 Thread Adrian Popa
Thank you, I will look into it. I guess through mapscript I can redefine the parameters that get sent to mapserver? Or do I rewrite the whole map? Andy Colson wrote: Adrian Popa wrote: Hello everyone, I am currently using a wrapper around mapserv which receives the URL parameters, builds