[Geoserver-users] Dip and Strike SLD symbol Style for Geological Map

Hi All,

I’m making an interactive geological map in geoserver.
I can do the Color styling for Lithology and Normal Fault layer.

But how can I make symbols for Dip and Strike to show on the map?
I have a point layer with Dip angle and Strike direction in the attribute table.
ID | Dip | Strike

···

Have a nice day!

Mr. Khun San Aung

Hello, Khun.

You should be able to do this either in CSS or SLD styling.

Create a .png file with the dip symbol (|) in it (define the remainder of the .png as transparent)

If using CSS, use mark:symbol() to specify the .png as the marker shape.

Use mark-rotation to rotate the dip shape.

You would then define the label as the dip value and use label-rotate and label-offset, etc. to put the label in the right place and orientation.

Check these links out …

http://docs.geoserver.org/latest/en/user/extensions/css/cookbook/point.html#point-with-rotated-label

http://docs.geoserver.org/stable/en/user/styling/sld-extensions/pointsymbols.html

···

http://docs.geoserver.org/latest/en/user/extensions/css/index.html

http://docs.geoserver.org/latest/en/user/styling/index.html

​Regards,

David Collins

Geological Survey of New South Wales​

On Mon, May 18, 2015 at 3:35 PM, KhunSanAung <khunsanaung.gis@anonymised.com> wrote:

Hi All,

I’m making an interactive geological map in geoserver.
I can do the Color styling for Lithology and Normal Fault layer.

But how can I make symbols for Dip and Strike to show on the map?
I have a point layer with Dip angle and Strike direction in the attribute table.
ID | Dip | Strike

1 | 60 | 240

I’d like to have symbols for Thrust Fault too.

Thank you very much in advanced.


One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y


Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Have a nice day!

Mr. Khun San Aung