All, I'd like to thank Ian Turton for his assistance with an issue I had regarding a lat/lon grid with labels "just inside the box". His suggestions ultimately led me to my final implementation. I have attached a screenshot (layer preview screen) of my lat/lon grid as well as one of the SLDs that governs it.
I generated 8 shape files using the code from MMQGIS [1] plugin for Lat/lon lines at 20° 10° 5° 2.5° 1° .5° .25° .1°. I then ingested the shapefiles into a PostgreSQL/PostGIS database, updated the SRID and renamed the geometry field from "geom" to "the_geom". I created one SLD per layer/table exposed based on the zoom levels listed at the bottom of the layer preview screen allowing each layer to display ~2 times before dropping off. The final layer at .1° is the final layer and is used for the remaining zoom levels. I used a slightly modified decimal degrees to degrees script [2] to generate the labels. [cid:[email protected]] [1] http://michaelminn.com/linux/mmqgis/ [2] http://anothergisblog.blogspot.com.br/2011/11/convert-decimal-degree-to-degrees.html Chris Snider Senior Software Engineer Intelligent Software Solutions, Inc. Direct (719) 452-7257 [Description: Description: Description: cid:[email protected]]
lat_lon_grid_10.0deg.sld
Description: lat_lon_grid_10.0deg.sld
------------------------------------------------------------------------------
_______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
