Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

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


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.