Re: [Geotools-devel] SLD external graphics resolution

2011-10-27 Thread Andrea Aime
On Wed, Oct 26, 2011 at 4:28 PM, Jan De Moerloose < [email protected]> wrote: > > I guess we could either expose a setter for that field or as you suggested > allow for > a OnlineResourceLocator to be set into the parser like you suggested, I'd > be fine with both. > > Just setting the s

Re: [Geotools-devel] SLD external graphics resolution

2011-10-26 Thread Jan De Moerloose
On 26/10/2011 9:17, Andrea Aime wrote: On Tue, Oct 25, 2011 at 4:45 PM, Jan De Moerloose mailto:[email protected]>> wrote: Problem is that i don't even reach this factory because my relative path cannot be turned into a valid url (no protocol) by the SLDParser. Wait, d

Re: [Geotools-devel] SLD external graphics resolution

2011-10-26 Thread Andrea Aime
On Tue, Oct 25, 2011 at 4:45 PM, Jan De Moerloose < [email protected]> wrote: > Problem is that i don't even reach this factory because my relative path > cannot be turned into a valid url (no protocol) by the SLDParser. > Wait, did you just say relative path? The SLDParser already res

Re: [Geotools-devel] SLD external graphics resolution

2011-10-25 Thread Jan De Moerloose
On 24/10/2011 20:27, Andrea Aime wrote: On Mon, Oct 24, 2011 at 5:36 PM, Jan De Moerloose mailto:[email protected]>> wrote: Hi all, i would like to extend the way in which external graphics can be resolved in the main Geotools SLD parser. As far as i know, you can n

Re: [Geotools-devel] SLD external graphics resolution

2011-10-24 Thread Andrea Aime
On Mon, Oct 24, 2011 at 5:36 PM, Jan De Moerloose < [email protected]> wrote: > Hi all, > > i would like to extend the way in which external graphics can be > resolved in the main Geotools SLD parser. > As far as i know, you can now specify the location of an external > graphic in two w

[Geotools-devel] SLD external graphics resolution

2011-10-24 Thread Jan De Moerloose
Hi all, i would like to extend the way in which external graphics can be resolved in the main Geotools SLD parser. As far as i know, you can now specify the location of an external graphic in two ways: - specify the location as a relative URL w.r.t. the SLD document URL - specify the location as