RE: [mapserver-users] De-coupling legend from class name

2010-01-27 Thread nikos
Thanx Steve and David, A title attribute would be really useful. Consider it a feature request, or tell me and I'll submit it;-) I'll use David's solution to resolve this for now, but as he points out we now have to keep track of class hierarchy, which does not seem too bad. OTOH, does class ord

RE: [mapserver-users] De-coupling legend from class name

2010-01-27 Thread Lime, Steve D (DNR)
I hope to see this fixed in 6.0. There was a attribute named 'title' added to classes years ago but it's never been hooked up... Steve From: mapserver-users-boun...@lists.osgeo.org [mapserver-users-boun...@lists.osgeo.org] On Behalf Of Fawcett, David (MP

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread stela anders
Finally I found the problem (I think)... I was using mssql2008 database... Changed to Postgis, and all works fine... Probably a bug ... Stella 2010/1/27 stela anders > Replied from my husband acc... > My bad > > sorry > > Stella > > 2010/1/27 Paul james > > Hi ! >> >> I dont think that it is

RE: [mapserver-users] Repeating annotation, using LABEL_NO_CLIP=1 with Open Layers

2010-01-27 Thread Lime, Steve D (DNR)
Do you have to have them in the image or is it enough to have them displayed some other way? Work arounds include: - Use untiled with 'ratio:1', creates images the same size as your view port. - Just drop the copyright in a div over the top of the viewport and don't have it in the image. -

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread stela anders
Replied from my husband acc... My bad sorry Stella 2010/1/27 Paul james > Hi ! > > I dont think that it is the problem, because WMSGetFeatureInfo is > generating the "correct" url (I think)... > > Anyway I tested querying only 1 single layer and got the same result... > > Dammit :( > > Thanks

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread Paul james
Hi ! I dont think that it is the problem, because WMSGetFeatureInfo is generating the "correct" url (I think)... Anyway I tested querying only 1 single layer and got the same result... Dammit :( Thanks anyway Stella On Wed, Jan 27, 2010 at 12:24 PM, Eichner, Andreas - SID-NLKM < andreas.eich.

RE: [mapserver-users] Repeating annotation, using LABEL_NO_CLIP=1 with Open Layers

2010-01-27 Thread Ted Spradley
Thank you David. At times I am not able to see the forest for the trees. - Thank you, Ted S MapServer version 5.6.1 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_SERVE

[mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread Eichner, Andreas - SID-NLKM
Hi Stella, according to http://dev.openlayers.org/docs/files/OpenLayers/Control/WMSGetFeatureInfo-js.html the WMSGetFeatureInfo control's constructor takes an array of OpenLayers.Layer.WMS objects. But you give it the list you used to draw as one layer. So you should create two OpenLayers.La

RE: [mapserver-users] De-coupling legend from class name

2010-01-27 Thread Fawcett, David (MPCA)
Nick, Just as you did with 'style[0]', you can reference a layer or class by it's numeric index. This gives you the flexibility to change the class name, but now you need to know which class it is based on order (index). http://mapserver.org/cgi/controls.html?highlight=Example%203#using-m

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread stela anders
Steve, _test is a javascript variable: var _test = new OpenLayers.Layer.WMS("MyLayer", _mapfilex, { layers: [ 'Test1,Test2'], format: "image/png", transparent: "true" }, { isBaseLay

RE: [mapserver-users] Repeating annotation, using LABEL_NO_CLIP=1 with Open Layers

2010-01-27 Thread Fawcett, David (MPCA)
Ted, If you go the tile route, each image request to MapServer is independent, so it will get a copyright notice. You can go use an OpenLayers Layer.WMS layer with singleTile set to True and a ratio of 1 to get one tile that only fills the viewport. (This is similar to the deprecated OpenL

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread Steve . Toutant
Stela, In that example you are querying layers Test1 and Test2. Below you defined your control with layer _test It is confusing... You should try with a simpler example. I suggest you create a mapfile with one layer (don't forget the tolerance and template), create the wms layer in Openlayer and

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread stela anders
Hi David! The url is : http://localhost/cgi-bin/mapserv.exe?map=map.map&&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetFeatureInfo&LAYERS=Test1,Test2&QUERY_LAYERS=Test1,Test2&STYLES=,&BBOX=-65.806807%2C-16.885911%2C-38.978193%2C-11.238939&FEATURE_COUNT=10&HEIGHT=257&WIDTH=1221&FORMAT=image%2Fpng&INFO_FORM

[mapserver-users] De-coupling legend from class name

2010-01-27 Thread nikos
Hello, It's been a while since I've been using MS and I have the following q or observation. AFAIU, MS only supports run-time substitution for the following parameters • LAYER: DATA (must validate against DATAPATTERN) • LAYER: TILEINDEX • LAYER: CONNECTION • LAYER: FILTER

Re: [mapserver-users] PHP SOAP extension depreciated in ms4w 3.0 beta7 ?

2010-01-27 Thread Jeff McKenna
Alexander Bonatti wrote: Checking php extensions in this package (ms4w 3.0 beta7), i miss php_soap.dll. Why has been removed? (since previous versions of ms4w have PHP compiled with this ext) Hello Alex, You should always use the MS4W email list for questions regarding MS4W (subscribe at

[mapserver-users] Creating world files from raster images referenced in dwg

2010-01-27 Thread Dejan Gambin
Hi, I suppose this is not the right place to ask, but maybe someone can give me a hint: I have a dwg file with a bunch of raster images referenced. In the background, these images are tiff files but they have no georeference information. I know there are many utlities/programs that can export

[mapserver-users] Fatal error: Call to undefined function (dl)

2010-01-27 Thread Murat Beyhan
Hi Friends, I have installed apache 2.2.14 and php 5.3.1 then I have installed mapserver 5.6.1 with phpMapScript module. I have try to open a phpmapscript file on the server, which was worked fine for php4, but the following message occured Fatal error: Call to undefined function dl() in /usr

Re: [mapserver-users] Re: WMSGetFeatureInfo problem (No results, using OL)

2010-01-27 Thread Rahkonen Jukka
Hi, Did you try to find the problem first? You seem to run your own Mapserver. Then you can see from the Apache access log the requests that your client is actually sending. MS4W installation the log file is by default at ms4w\apache\logs\access.log Add DEBUG 5 into LAYER definitions in your