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

I've imported shp directory files of OSM to geoserver and the city label layer look like red dots instead of showing labels of street names. Is there a fix for this ? (should I declare this layer kml instead of openlayers ?)

share|improve this question
support your question with some screenshots for some ideas.I think it might be more understandable.. – Aragon Nov 30 '12 at 8:01
If answer won't solve the label issue , I will . – Alophind Nov 30 '12 at 11:23
up vote 4 down vote accepted

Red points are the default point style that GeoServer will use when you don't ask for anything else. So you need to tell GeoServer what you would like it to draw.

It sounds as though you would like it to be a label in which case you'll need to create an SLD file with a TextSymbolizer in it.

See the SLD cookbook for an example.

share|improve this answer

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.