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.

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

1 Answer 1

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

 
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.