[ 
https://jira.codehaus.org/browse/GEOT-4000?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Justin Deoliveira reopened GEOT-4000:
-------------------------------------


Reopening until the SLD/SE xsd parsers updated
                
> Configurable resource locator in SLDParser 
> -------------------------------------------
>
>                 Key: GEOT-4000
>                 URL: https://jira.codehaus.org/browse/GEOT-4000
>             Project: GeoTools
>          Issue Type: Improvement
>          Components: api, main
>    Affects Versions: 2.7.4
>            Reporter: Jan De Moerloose
>            Assignee: Andrea Aime
>             Fix For: 2.7.5
>
>         Attachments: 2.7.4.patch
>
>
> 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 a java classpath resource
> The first case assumes that the document URL is known and reachable, 
> which is not always the case (e.g. transfer of SLD over the wire or 
> configuring SLD in a database and so on). The second case is a nice 
> fallback in many circumstances but for web applications it is very 
> common to put graphics in a non-classpath location like the web context.
> My suggestion is to make the location more customizable by adding a 
> resource locator to the SLD parser:
>      setOnlineResourceLocator(ResourceLocator resourceLocator);
> where ResourceLocator would define the following:
>      public URL locateResource(String uri);

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to