<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:x="urn:schemas-microsoft-com:office:excel" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Verdana;
panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:#954F72;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:70.85pt 70.85pt 70.85pt 70.85pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1927378609;
mso-list-type:hybrid;
mso-list-template-ids:-1308752070 68419601 68419609 68419611 68419599 68419609 68419611 68419599 68419609 68419611;}
@list l0:level1
{mso-level-text:"%1\)";
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level2
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level3
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level4
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level5
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level6
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
@list l0:level7
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level8
{mso-level-number-format:alpha-lower;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
@list l0:level9
{mso-level-number-format:roman-lower;
mso-level-tab-stop:none;
mso-level-number-position:right;
text-indent:-9.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="NO-BOK" link="#0563C1" vlink="#954F72">
<div class="WordSection1">
<p class="MsoNormal"><span lang="EN-US">Hi,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">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.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">I found the r.colors.out_sld AddOn (<a href="https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.colors.out_sld/">https://svn.osgeo.org/grass/grass-addons/grass6/raster/r.colors.out_sld/</a>) for that purpose, but
it is GRASS 6 Shell script. Even though I think it would work with GRSS 7 too, my questions are:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">Are there other solutions in GRASS 7 to produce SLD I might have overlooked?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">If not, do you think it there is a point porting r.colors.out_sld to GRASS7 / Python (which I would volunteer for)? or<o:p></o:p></span></p>
<p class="MsoListParagraph" style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><![if !supportLists]><span lang="EN-US"><span style="mso-list:Ignore">3)<span style="font:7.0pt "Times New Roman"">
</span></span></span><![endif]><span lang="EN-US">Would it be better to add SLD export as a flag to r.colors.out?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Kind regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Stefan<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK">________________________________________________________________</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:NO-BOK"><o:p></o:p></span></p>
<p class="MsoNormal"><b><span lang="EN-US" style="font-size:9.0pt;font-family:"Verdana",sans-serif;color:#009999;mso-fareast-language:NO-BOK">Stefan Blumentrath</span></b><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#009999;mso-fareast-language:NO-BOK"><br>
</span></b><span lang="EN-GB" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK">Researcher II</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK"><br>
<br>
</span><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#009999;mso-fareast-language:NO-BOK">Norwegian Institute for Nature Research - NINA</span></b><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK"><br>
Postal address: Gaustadalléen 21, NO-0349 Oslo, NORWAY<br>
Delivery/Visiting address: Gaustadalléen 21, NO-0349 Oslo, NORWAY<br>
Phone: +47 46 34 11 58 </span><span lang="EN-GB" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#FF9900;mso-fareast-language:NO-BOK">•</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK"> Cell:
+47 46 34 11 58 </span><span lang="EN-GB" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#FF9900;mso-fareast-language:NO-BOK">•</span><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK">
Fax: +47 73 80 14 01 </span><span lang="EN-GB" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#FF9900;mso-fareast-language:NO-BOK">•</span><b><span lang="EN-GB" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:#009999;mso-fareast-language:NO-BOK"> <a href="http://www.nina.no/" title="http://www.nina.no/"><span style="color:#009999">www.nina.no</span></a></span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Verdana",sans-serif;mso-fareast-language:NO-BOK"><br>
</span><b><span lang="EN-US" style="font-size:8.0pt;font-family:"Verdana",sans-serif;color:gray;mso-fareast-language:NO-BOK">________________________________________________________________</span></b><span lang="EN-US" style="mso-fareast-language:NO-BOK"><o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
</div>
</body>
</html>