[mapserver-users] Trouble shooting SLD?

2010-10-17 Thread K
Is there any way to trouble shoot why an SLD layer is being being rejected, or suggestions as to what it might be? Currently Mapserver seems to be ignoring the SLD and not displaying it, which I assume means some kind of parsing error or rejection of the SLD? I look at my getcapabilities and i

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread Jeff McKenna
On 10-10-17 11:01 AM, K wrote: Is there any way to trouble shoot why an SLD layer is being being rejected, or suggestions as to what it might be? Currently Mapserver seems to be ignoring the SLD and not displaying it, which I assume means some kind of parsing error or rejection of the SLD? I loo

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread K
Thanks, I tried one of those. Left colors as is, but changed the Name, Title and PropertyName fields to the name of the layer in my map file. Still no luck, just returns the normal map. Thanks again, Ken On 17/10/2010 11:57 AM, Jeff McKenna wrote: On 10-10-17 11:01 AM, K wrote: Is there any

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread Rahkonen Jukka
Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Trouble shooting SLD? Thanks, I tried one of those. Left colors as is, but changed the Name, Title and PropertyName fields to the name of the layer in my map file. Still no luck, just returns the normal map. Thanks again, Ken

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread K
0/2010 3:16 PM, Rahkonen Jukka wrote: Hi, It would be much easier to start thinking about what goes wrong if you could mail also your layer and the failing SLD. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: K Lähetetty: su 17.10.2010

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread Rahkonen Jukka
ukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Trouble shooting SLD? Ok, didnt want to spam the the list, here is my map file and the SLD file I am using: MAP NAME "Communities" SIZE 700 500 UNITS meters CONFIG PROJ_LIB "R:\proj\nad\" CONFI

Re: [mapserver-users] Trouble shooting SLD?

2010-10-17 Thread K
nen viesti- Lähettäjä: mapserver-users-boun...@lists.osgeo.org puolesta: K Lähetetty: su 17.10.2010 21:37 Vastaanottaja: Rahkonen Jukka Kopio: mapserver-users@lists.osgeo.org Aihe: Re: [mapserver-users] Trouble shooting SLD? Ok, didnt want to spam the the list, here is my map file and the SLD file

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread Bartłomiej Burkot
Hi if you use SLD_BODY in Your url parameter in wms getmap request try to replace all '#' characters to '%23' example: http://yourhost/wms?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetMap&BBOX=6411762.591659,5756575.612084,6416330.414387,5758975.584279&CRS=EPSG:your_epsg&WIDTH=1102&HEIGHT=580&LAYERS=y

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread K
I wasnt using SLD_BODY, just the the URL to the SLD document, using the SLD tag. Would there be a difference in using SLD_BODY and it is something I should try? Thanks, Ken On 18/10/2010 6:15 AM, Bartłomiej Burkot wrote: Hi if you use SLD_BODY in Your url parameter in wms getmap request t

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread Rahkonen Jukka
server-users-boun...@lists.osgeo.org] Puolesta K > Lähetetty: 18. lokakuuta 2010 16:57 > Vastaanottaja: Bartłomiej Burkot > Kopio: mapserver-users@lists.osgeo.org > Aihe: Re: [mapserver-users] Trouble shooting SLD? > > I wasnt using SLD_BODY, just the the URL to the SLD document,

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread Jeff McKenna
On 10-10-18 11:16 AM, Rahkonen Jukka wrote: I noticed that none of the full request links in the document http://mapserver.org/ogc/sld.html are working now Good catch Jukka. The examples should be working again, please re-try. -jeff -- Jeff McKenna MapServer Consulting and Training Service

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread K
As I am still unable to get my SLD to work, I wonder if the shape file (is it a shape file?) and map file for that example is available to download somewhere? This way I can toss it on my server and it would let me see if my problem is software related, rather then something wrong with my files

Re: [mapserver-users] Trouble shooting SLD?

2010-10-18 Thread Rahkonen Jukka
Hi, I have never made a single SLD file myself, just edited something working that I have found so unfortunately I fear I cannot give very good advice. I did, however, compare something that works for me and your SLD file and these are the differences: My first line has more elements: http://ww

Re: [mapserver-users] Trouble shooting SLD?

2010-10-19 Thread Yewondwossen Assefa
Hi there, I do not think there is any thing wrong wit the LSD you posted. I used it locally with MapServer svn and It did apply (after I changed the layer name to my local data set. I see that your map file has the log set and you should be able to see something in the log file starting with

Re: [mapserver-users] Trouble shooting SLD?

2010-10-19 Thread K
Thanks again for your assistance. The SLD file I was using was from the mapserver repository that Jeff posted earlier in the thread. I went ahead and edited it and removed all the differing bits from yours. No change, still not reading the SLD file. I then decided to create a line file, in ca

Re: [mapserver-users] Trouble shooting SLD?

2010-10-19 Thread Jeff McKenna
Hi Ken, See Assefa's last message to you, he made some great points. In fact I hit many of the points that Assefa mentioned when fixing those demo.mapserver.org examples. -jeff On 10-10-19 5:44 PM, K wrote: Thanks again for your assistance. The SLD file I was using was from the mapserve

Re: [mapserver-users] Trouble shooting SLD?

2010-10-19 Thread K
Do you mean the part about using GetStyles to get a SLD blurb from Mapserver? I did try that originally, well I used PHP Mapscript to do it. On the odd chance that GetStyles does something different I just did a GetStyles request, changed the color and nothing else. Still not working. Ken On

Re: [mapserver-users] Trouble shooting SLD?

2010-10-19 Thread Barend Köbben
HI, I missed the beginning of this thread, just chip in to ask if you did not overlook the basis: Does MS actually read the SLD? I found that to be a problem in earlier work, see below an extract from an old mail to this list. If it's not that, sorry... Barend Köbben (ITC) (..) Almost always I