Hi Jody, another example, (In case anyone else is struggling like me and
needs an example)
Could I improve on this any way?
(I am trying to get a fill at 5M-1M with no graphic, then a graphic and a
fill color at lower zoom levels, and labelling at < 100K)
/* @title forest 5M - 1M */
[landuse='forest'][@scale>1000000][@scale<5000000]
{
fill: #CBEBB6;
}
/* @title forest 1M - 100K */
[landuse='forest'][@scale>100000][@scale<1000000]
{
fill-size: 15px;
}
/* @title forest 100K - 60K */
[landuse='forest'][@scale>60000][@scale<100000]
{
fill-size: 20px;
font-size: 11px;
label: [name];
}
/* @title forest 6K - 0K */
[landuse='forest'][@scale<60000]
{
fill-size: 30px;
font-size: 12px;
label: [name];
}
[landuse='forest']{
z-index: 30;
stroke-width: 0.75px;
fill-opacity: 0.75, 0.50;
font-fill: #eeeeee;
stroke: #CBEBB6;
fill: #CBEBB6, url("
http://icons.markware.net/geoserver/icons/img/areas/forest.png");
}
Regards
Mark Cupitt
Regards
Mark Cupitt
"If we change the world, let it bear the mark of our intelligence"
See me on Open StreetMap <https://www.openstreetmap.org/user/Mark_Cupitt>
See me on LinkedIn <http://ph.linkedin.com/in/markcupitt>
*See me on StackExchange <http://gis.stackexchange.com/users/17846/mark-c>*
===============================================================================================
The contents of this email are intended only for the individual(s) to whom
it is addressed and may contain
confidential or privileged information. If you are not the intended
recipient, you must not disclose, copy, distribute,
or use the contents of this email. If you have received this email in
error, please notify the sender immediately and
delete the email and any attachments.
===============================================================================================
On Wed, Jun 25, 2014 at 12: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