Dear all,

Yesterday I pushed a GRASS GIS 7 / Python version of r.colors.out_sld to AddOns.

Further improvements to the GRASS 6 version are category label support, UTF-8 
encoding and a preliminary manual 
(https://grass.osgeo.org/grass70/manuals/addons/r.colors.out_sld.html).

It is still limited to SLD v1.0.0.

The produced SLDs validate without issues in GeoServer, but further testing is 
very welcome...

Mvh
Stefan

From: grass-dev [mailto:grass-dev-boun...@lists.osgeo.org] On Behalf Of 
Blumentrath, Stefan
Sent: 21. november 2016 14:07
To: GRASS developers list (grass-dev@lists.osgeo.org) 
<grass-dev@lists.osgeo.org>
Subject: [GRASS-dev] r.colors.out_sld

Hi,

In order to get some of my data properly from GRASS into GeoNode (which is 
based on GeoServer) I would like to also export the GRASS color tables into 
SLD, so I can import them to GeoServer too.

I found the r.colors.out_sld AddOn 
(https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.colors.out_sld/) for 
that purpose, but it is GRASS 6 Shell script. Even though I think it would work 
with GRSS 7 too, my questions are:

1)      Are there other solutions in GRASS 7 to produce SLD I might have 
overlooked?

2)      If not, do you think it there is a point porting r.colors.out_sld to 
GRASS7 / Python (which I would volunteer for)? or

3)      Would it be better to add SLD export as a flag to r.colors.out?

Kind regards,
Stefan

________________________________________________________________
Stefan Blumentrath
Researcher II

Norwegian Institute for Nature Research - NINA
Postal address: Gaustadalléen 21, NO-0349 Oslo, NORWAY
Delivery/Visiting address: Gaustadalléen 21, NO-0349 Oslo, NORWAY
Phone: +47 46 34 11 58 * Cell: +47 46 34 11 58 * Fax: +47 73 80 14 01 * 
www.nina.no<http://www.nina.no/>
________________________________________________________________

_______________________________________________
grass-dev mailing list
grass-dev@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to