I would appriciate to go to the next step : commit
Like I wrote before, the API changes are minor and I got no test failure.
Frank
2010/10/10 Andrea Aime <[email protected]>
> Well, no feedback? Shall we just go on and make the little change to the
> API?
> We'll just do if nobody complains! :-)
>
> Cheers
> Andrea
>
> On Sun, Oct 3, 2010 at 8:16 AM, Andrea Aime
> <[email protected]> wrote:
> > On Sat, Oct 2, 2010 at 10:28 PM, Frank Gasdorf
> > <[email protected]> wrote:
> >> Hello,
> >> I would like to get support for complete dynamic URL's for external
> graphics
> >> read from feature attribute(s). But the applied patch for issue
> >> http://jira.codehaus.org/browse/GEOT-3137 changes the API a bit and
> >> therefore I would like to discuss it.
> >> I'm not sure, there could be other ways to solve the problem, probably
> you
> >> have one !
> >> Please have a look at the patch, it's self-explained.
> >
> > Frank, I don't believe people will have time to look into the patch, we
> live in
> > a condition where time is extremely scarce, so let me
> > try to sum it up (I'll do my best, you'll correct me if I'm
> > misunderstanding your patch).
> >
> > Frank wants to have dynamic symbolizers in external graphics work even in
> > the case where the full url is an expression:
> >
> > <ExternalGraphic>
> > <OnlineResource xlink:type="simple" xlink:href="${attributeImageURL}"/>
> > <Format>image/png</Format>
> > </ExternalGraphic>
> >
> > However there is a catch, the ExternalGraphic interface has:
> >
> > URL getLocation() throws MalformedURLException;
> >
> > as the only way to get to the location. However ${attributeImageURL} is
> > not a valid URL, so trying to access the location like that will throw an
> > exception.
> >
> > Internally the location is stored as a string anyways and we already have
> > a setURI() method, so Frank is proposing to add to the GeoTools
> externalGraphic
> > interface a:
> > public String getURI()
> > method.
> >
> > A possible variant could be to use getOnlineResource().getLinkage(), but
> > that path a complete dead end at the moment (not really implemented and
> > used).
> >
> > Cheers
> > Andrea
> >
> > -----------------------------------------------------
> > Ing. Andrea Aime
> > Senior Software Engineer
> >
> > GeoSolutions S.A.S.
> > Via Poggio alle Viti 1187
> > 55054 Massarosa (LU)
> > Italy
> >
> > phone: +39 0584962313
> > fax: +39 0584962313
> >
> > http://www.geo-solutions.it
> > http://geo-solutions.blogspot.com/
> > http://www.linkedin.com/in/andreaaime
> > http://twitter.com/geowolf
> >
> > -----------------------------------------------------
> >
>
>
>
> --
> -----------------------------------------------------
> Ing. Andrea Aime
> Senior Software Engineer
>
> GeoSolutions S.A.S.
> Via Poggio alle Viti 1187
> 55054 Massarosa (LU)
> Italy
>
> phone: +39 0584962313
> fax: +39 0584962313
>
> http://www.geo-solutions.it
> http://geo-solutions.blogspot.com/
> http://www.linkedin.com/in/andreaaime
> http://twitter.com/geowolf
>
> -----------------------------------------------------
>
------------------------------------------------------------------------------
Beautiful is writing same markup. Internet Explorer 9 supports
standards for HTML5, CSS3, SVG 1.1, ECMAScript5, and DOM L2 & L3.
Spend less time writing and rewriting code and more time creating great
experiences on the web. Be a part of the beta today.
http://p.sf.net/sfu/beautyoftheweb
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel