Topic: dist_point attributes
Hi,
I'm looking for a definitive list of the attributes for Distribution Layer Style "dist_point" I'm trying to find some colours that work well on our maps but most that I try aren't recognised.
Thanks
Dave
The technical forum of the NBN Trust for use by the Network. It includes discussions and announcements on the NBN Atlas, Recorder 6 and Indicia |
You are not logged in. Please login or register.
Forum → Indicia Development → dist_point attributes
Hi,
I'm looking for a definitive list of the attributes for Distribution Layer Style "dist_point" I'm trying to find some colours that work well on our maps but most that I try aren't recognised.
Thanks
Dave
Hi Dave,
I'm using the BRC live warehouse and can get red, blue, green, black, grey and yellow to work (format is dist_point_red etc).
I find the grey doesn't show well but the rest work fine.
I believe the layers are different on the test warehouse so it might take a little experimentation to find the ones that work.
Hope this helps,
Fiona
Thanks, Fiona.
That is all of them defined on warehouse1 except for one I see called dist_point_red_transparent. On testwarehouse there are only blue, green and red.
We can create all sorts of styles in GeoServer. See the Styled Layer Descriptor documentation
By way of example, the definition of dist_point_blue is as follows
<?xml version="1.0" encoding="ISO-8859-1"?>
<StyledLayerDescriptor version="1.0.0" xmlns="http://www.opengis.net/sld" xmlns:ogc="http://www.opengis.net/ogc"
xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.opengis.net/sld http://schemas.opengis.net/sld/1.0.0/StyledLayerDescriptor.xsd">
<NamedLayer>
<Name>Default Polygon</Name>
<UserStyle>
<Title>Distribution Point Blue</Title>
<Abstract>A blue square or point.</Abstract>
<FeatureTypeStyle>
<Rule>
<Title>Polygon</Title>
<PointSymbolizer>
<Graphic>
<Mark>
<WellKnownName>circle</WellKnownName>
<Fill>
<CssParameter name="fill">#0000FF</CssParameter>
</Fill>
</Mark>
<Size>6</Size>
</Graphic>
</PointSymbolizer>
<PolygonSymbolizer>
<Fill>
<CssParameter name="fill">#0000FF</CssParameter>
</Fill>
<Stroke>
<CssParameter name="stroke">#000000</CssParameter>
<CssParameter name="stroke-width">1</CssParameter>
</Stroke>
</PolygonSymbolizer>
</Rule>
</FeatureTypeStyle>
</UserStyle>
</NamedLayer>
</StyledLayerDescriptor>
Minor note. Versions of GeoServer currently installed are 2.1.3 on Testwarehouse and 2.1.2 on Warehouse1.
So, get creative, Dave!
Jim Bacon.
Forum → Indicia Development → dist_point attributes
Powered by PunBB 1.4.6, supported by Informer Technologies, Inc.