I want to render some data on a map. They are stored as points in my database (postGiS), each one is associated with a name. I want to render points with the same place name in the same color.
However, I don't want to put the name of the places directly in my .xml style file. (Too many places)
Do you know how can I do ?
Maybe an idea is to try to return json data in OpenLayers js, but I don't know how I can get it. Does GeoServer enable to return json to OpenLayers ?
I am totaly lost. Please help !!!