I suppose I am just confused about the use of z-index there - I usually use
a z-index 1 or 2 (and then only if needed based on funny overlapping - like
simulating line casing, or ensuring that a polygon outline is drawn
separately overtop of the fill).
I recommend trying very simple examples like this and reviewing the SLD
that is produced.
Jody Garnett
On Wed, Jun 25, 2014 at 2:42 PM, Mark Cupitt <markcup...@gmail.com> wrote:
> Hi Jody, in thinking through your remarks, in my last response would this
> be a better approach to the example I gave?
>
> [landuse='forest'][@scale>60000][@scale<100000]{
> fill-size: 20px;
> }
> [landuse='forest'][@scale<60000]{
> fill-size: 30px;
> }
> [landuse='commercial'][@scale<1000000] {
> z-index: 40;
> stroke: #5F9EA0;
> fill: #87CEFA, url("
> http://icons.markware.net/geoserver/icons/img/areas/commercial.png");
> stroke-width: 0.5px;
> fill-opacity: 0.75;
> label: [name];
> font-size: 10px;
> font-fill: #000000;
> }
>
> [landuse='forest']{
> z-index: 30;
> stroke: #CBEBB6;
> fill: #CBEBB6, url("
> http://icons.markware.net/geoserver/icons/img/areas/forest.png");
> }
>
> Regards
>
> Mark
>
------------------------------------------------------------------------------
Open source business process management suite built on Java and Eclipse
Turn processes into business applications with Bonita BPM Community Edition
Quickly connect people, data, and systems into organized workflows
Winner of BOSSIE, CODIE, OW2 and Gartner awards
http://p.sf.net/sfu/Bonitasoft
_______________________________________________
Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users