> We just had a question about this in the geoserver list as well.
>
> I would expect the path to be relative to the SLD file itself? Is that wrong?

In my case it was first the fact that I was using file:image.png,
while the the "file:" has to be left out.

After that it worked for png, but not for svg. No idea why.

Andrea


>
> Jody
>
> On 07/07/2010, at 8:25 PM, andrea antonello wrote:
>
>> A small update...
>>
>> For those who were not sure like me, the relative path doesn't have
>> the "file:" before, ex:
>> xlink:href="smileyface.png"
>>
>> The real problem anyways is with the svg, the rendering of which seems
>> to be broken when using relative path.
>>
>> Andrea
>>
>>
>> On Wed, Jul 7, 2010 at 12:01 PM, andrea antonello
>> <[email protected]> wrote:
>>> I am having some problems with relative paths for external graphics in
>>> sld files (gt-2.7SNAP).
>>>
>>> Basically when the path is absolute, things are ok, when it is
>>> relative, nothing is rendered (I get no exception).
>>>
>>> I browsed the testcases and there is none with relative path.
>>>
>>> Is it possible that the relative path is not working? I am sure it
>>> used to, what I am not sure is if I am doing something wrong. Could
>>> anyone please give it a try and solve my doubt.
>>>
>>> Thanks,
>>> Andrea
>>>
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> Geotools-gt2-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to