The source of the data determines how the road is encoded. If you are using 
OSM, its typically a set of line segments (ways) that determine the length, and 
is styled with some width based on the type of road (highway vs path, for 
example). 

 

Styling is also variable, and heavily dependent on the geometry and attributes 
in your source data.

 

Again assuming OSM, the styling isn’t usually a real polygon, but instead is 
two lines, one drawn over the top of another. If you picture two roads that 
join at a T intersection, you don’t want a closed polygon for each road. What 
you want is for the roads to look like they are merged. So draw a thick black 
line for each road first, then draw a white (background colour) line for each 
road over the top, but slightly thinner. Now all you see is the outline, which 
is what you want.

 

Brad

 

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Geoserver-users mailing list

Please make sure you read the following two resources before posting to this 
list:
- Earning your support instead of buying it, but Ian Turton: 
http://www.ianturton.com/talks/foss4g.html#/
- The GeoServer user list posting guidelines: 
http://geoserver.org/comm/userlist-guidelines.html

If you want to request a feature or an improvement, also see this: 
https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer


Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to