Re: [mapserver-users] Re: Getfeatureinfo and MSsql 2008 server

2010-03-02 Thread Tamas Szekeres
Hmmm... That might be a different error. Do you have a debug log to get further information about the problem? Or could you back up a test database for me to reproduce this issue? Best regards, Tamas 2010/3/2 Afroz K afr...@gmail.com Dear Mr. Tamas, I have upgraded my Mapserver from 5.4.2

[mapserver-users] Re: Getfeatureinfo and MSsql 2008 server

2010-03-02 Thread Afroz Kannancheri
Dear Tamas, Heres the debug log obtained when i clicked on the polygon [Tue Mar 02 12:28:47 2010].113000 msMSSQL2008LayerOpen called datastatement: geom from region1 USING UNIQUE id USING SRID=4326 [Tue Mar 02 12:28:47 2010].113000 MSMSSQL2008LayerOpen -- shared connection not available. [Tue

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bill Thoen
James Card wrote: On Mon, 01 Mar 2010 20:48:59 -0800, Bill Thoen bth...@gisnet.com wrote: I've got about about 30 layers that I'd like to display as a single layer, all in the same style, with only one entry in the legend for the group. I've tried using the 'GROUP' command in the mapfile, and

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bob Basques
James, the Legend entries are keyed off of the NAME paramater in the mapfile, if you don't want a entry in the Legend, comment out the NAME parameter that is displaying the stuff you don't want. bobb On 3/2/2010 6:42 AM, Bill Thoen wrote: James Card wrote: On Mon, 01 Mar 2010 20:48:59

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bob Basques
James, Oops, I didn't see right off that you were using HTML legends, You can do the same as I described eariler, but you could also try something with DUMMY layers too, where you set up a layer purely for legend display (no real DATA definition) bobb On 3/2/2010 6:42 AM, Bill Thoen

[mapserver-users] Mapscript WFS wrapper for C-sharp

2010-03-02 Thread Frost89
Hi list I've been trying to make a C-sharp wrapper for WFS. I'm using MS4W's binaries. I have added a reference for MapScript to my Visual Studio project. When I try to execute this code: OWSRequest req = new OWSRequest(); req.loadParams(); mapObj map = new

[mapserver-users] OSM Renderer using mapfile. A Projection Problem?

2010-03-02 Thread Ali_
Hi, I have used the tutorial to render OSM from the url: http://trac.osgeo.org/mapserver/wiki/RenderingOsmData The problem is the output image I get seemed to be in the wrong projection. Please find the link below to see the image. http://img7.imageshack.us/img7/8279/imagelw.png On the left,

[mapserver-users] Changing OUTPUTFORMAT via CGI URL

2010-03-02 Thread Ivan Mincik
Dear Mapserver users, Is it possible to change OUTPUTFORMAT parameters via CGI URL ? I have this OUTPUTFORMAT definition: OUTPUTFORMAT NAME PNGQ DRIVER AGG/PNG MIMETYPE image/png IMAGEMODE RGBA FORMATOPTION

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bill Thoen
thomas bonfort wrote: as the code is right now, classes don't show up in the legend if they have no NAME *nor* TITLE Seeing Bob's comment, I should add that I'm using HTML legends and I'm trying to combine *layers* as opposed to classes. Combining CLASSes from a LAYER is comparatively

RE: [mapserver-users] Changing OUTPUTFORMAT via CGI URL

2010-03-02 Thread Lime, Steve D (DNR)
I'm pretty sure you can't do what you're trying to do. Best bet would be to create the necessary output formats ahead of time and switch between them with map.imagetype=PNGQ16 or map.imagetype=PNG256... Steve -Original Message- From: mapserver-users-boun...@lists.osgeo.org

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bob Basques
Bill Well first off I have no idea how the Legend entry for grp_BLM_WSAa_2009 is being created with nothing whatsoever in the Mapfile other than comments having that as a value. Could you be experiencing a Caching problem somewhere Another possibility is

[mapserver-users] getmap request with SLD failing after upgrade to 5.6.0

2010-03-02 Thread DeDuikertjes
Hi List, Finally I managed to upgrade mapserver 5.1-dev (FWTools) to 5.6.0 (FGS). I use it as a WMS. Everything looks fine, but I've one anoying problem: When I do a getmap-request with an SLD I get an empty image back, while 5.1-dev gives me a proper result. Other getmap requests work fine. I

Re: [mapserver-users] Mapscript WFS wrapper for C-sharp

2010-03-02 Thread Tamas Szekeres
2010/3/2 Frost89 kristian_fro...@hotmail.com I get this error: System.TypeInitializationException: An exception was thrown by the type initializer for OSGeo.MapServer.mapscriptPINVOKE --- System.TypeInitializationException: An exception was thrown by the type initializer for

Re: [mapserver-users] Re: Getfeatureinfo and MSsql 2008 server

2010-03-02 Thread Tamas Szekeres
Paul It would be helpful to have some test data to reproduce your problem. In the meantime I've found an issue with regards of the query handling in the sql2008 driver and working on a fix right now, however I'm not sure if it is related to the problem of yours. Best regards, Tamas 2010/3/2

Re: [mapserver-users] A Question of Group

2010-03-02 Thread Bill Thoen
Bob Basques wrote: As a matter of discussion, I went into using HTML legends early on, and ran into similar problems as these, and after a few months I ended up abandoning the use of them. Also, I now use GeoMoose as my preferred client side interface, which deals with each layer

Re: [mapserver-users] getmap request with SLD failing after upgrade to 5.6.0

2010-03-02 Thread Yewondwossen Assefa
Hi There, One way to debug would be to set your map file in debug, something like this: CONFIG MS_ERRORFILE f:/msapps/gmap-ms40/htdocs/gmap.log DEBUG 5 and check the logs. It should show you the map file after the sld has been applied. That might give a hint on what went wrong. best

[mapserver-users] Search function always ends with no matching results

2010-03-02 Thread yadirosadi
Hi All, I'm Yadi Rosadi I Have problem with search and queries on Kamap Using Postgis the search-function always ends with no matching results. if I Using a shapefile, the search-function work Any ideas why Kamap treats data from shapefiles and databases do different ? This is the Layer :

[mapserver-users] Mapserver in ubuntu: not displaying map

2010-03-02 Thread ashka fernando
Dear all, I am trying to run Mapserver in Ubuntu Karmic Koala. I have successfully used Mapserver in windows and now want to migrate to ubuntu . But I'm very much new to ubuntu and struggle to get the work done smoothly. The Mapserver and Apache both are running ,works fine as localhost. I can

Re: [mapserver-users] getmap request with SLD failing after upgrade to 5.6.0

2010-03-02 Thread DeDuikertjes
Hi, And if I do the same request without the SLD:

Re: [mapserver-users] getmap request with SLD failing after upgrade to 5.6.0

2010-03-02 Thread DeDuikertjes
Bart, Thanks for the suggestion. I've opened up the temporary MAP file. A layer definition from this file is (there are a LOT more like that): LAYER CONNECTION host=xxx user=x dbname=xxx CONNECTIONTYPE POSTGIS DATA 'tc_punt_geometry from