Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

so I am not sure if I have missed something or this a particular problem with this version of Geoserver. I want to style a point layer with a SLD, based on values in a particular column. The column is an enumerated type relating to a type of activity.

i.e. type_of_activity: { camping, fishing, hunting }

But when I reach the configuration part of publishing the layer the column I base my style on is not present in the feature type details, and when previewing the layer, an exception is caused stating that "type_of_activity" does not exist.

Any ideas?

share|improve this question

1 Answer 1

It can't work because arrays and I supposed the more complex enumerated type seems to be not supported according to this discussion on Geoserver Users list

share|improve this answer
    
Hmm, that seems to be the case but I have been looking into extending geoserver with geoscript and it seems there might be a way. I haven't had much time to look into it and there doesn't seem to be much documentation yet.. –  Pete Jun 7 '13 at 17:02
    
Coming back to this - following Andrea Aime's really useful talk at FOSS4G13 in Nottingham : ) By enabling the CSS extension then adding a column to the table containing a path to a specific symbol based on the enumerated type - it is possible to use the symbol column to style the individual features. –  Pete Sep 24 '13 at 14:10

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.