Niels Charlier created GEOS-5032:
------------------------------------

             Summary: GetLegendGraphic doesn't work for WMS with app-schema
                 Key: GEOS-5032
                 URL: https://jira.codehaus.org/browse/GEOS-5032
             Project: GeoServer
          Issue Type: New Feature
          Components: Application schema
            Reporter: Niels Charlier
            Assignee: Niels Charlier


Error message: 'java.lang.UnsupportedOperationException: Sample non-simple 
feature not yet supported.'
This is thrown in BufferedImageLegendGraphicBuilder.createSampleFeature:
            if (schema instanceof SimpleFeatureType) {
                sampleFeature = 
SimpleFeatureBuilder.template((SimpleFeatureType) schema, null);
            } else {
                // TODO: implement support for GSIP 31 (DataAccess API)
                throw new UnsupportedOperationException(
                        "Sample non-simple feature not yet supported.");
            }
It might be a lot of work. Probably need to implement complex feature builder. 

--
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

        

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Geoserver-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-devel

Reply via email to