<meta http-equiv="content-type" content="text/html; charset=utf-8"><div>Hi,</div><div id="AppleMailSignature">Try a raster to vector conversion instead.  That will give you better results.</div><div id="AppleMailSignature">Cheers<br><br>Envoyé de mon iPad</div><div><br>Le 15 sept. 2016 à 08:30, KOHLMANN Hannes [via <a href="http://osgeo.org" target="_top" rel="nofollow" link="external">OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5286106&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br><br></div><blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' type="cite"><div>

        

<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[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]-->


<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hello Nicolas,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">thank you for your answer! Reinstalling Osgeo removed the error I mentioned. Now I was able to get contour lines (!! When I chose „Auto“ for the advanced preference
 v.out.ogr) with r.contour.step, where I chose the minimum 0 and maximum 10 with step size 1. After getting the contour vector layer, I transformed it with the tool Vector
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> Geometry tools
</span><span style="font-size:11.0pt;font-family:Wingdings;color:#1F497D">à</span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"> from line to polygon which gives me areas, that I gave 5 different colors then.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Snapshots of the density raster file and the result (filled contours) are here:
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Density:
<a href="https://postimg.org/image/86yowo0oj/" target="_top" rel="nofollow" link="external">https://postimg.org/image/86yowo0oj/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Filled Contours:
<a href="https://postimg.org/image/ugk8s349n/" target="_top" rel="nofollow" link="external">https://postimg.org/image/ugk8s349n/</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I’m not really satisfied with that result because:<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">1)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Why is it, that there are white areas where actually there should be other than blank? Is it because the contour lines are not closed for these areas?
 I strongly think so - what would be recommended to avoid that ?<o:p></o:p></span></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l1 level1 lfo2">
<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><span style="mso-list:Ignore">2)<span style="font:7.0pt "Times New Roman"">     
</span></span></span><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">When I select „area“ under the advanced preferences in r.contour.step, I get NOTHING … not a single value or color… do I have to configure the parameters
 of r.contour.step/level differently?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">If you are interested in trying to reproduce that, here is the corresponding density .dat raster file. I gave it the style of 5 different colors, equidistantly
 distributed.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><a href="https://www.dropbox.com/s/bpkfkvos6ss3wx5/density_2015.dat?dl=0" target="_top" rel="nofollow" link="external">https://www.dropbox.com/s/bpkfkvos6ss3wx5/density_2015.dat?dl=0</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Thank you very much for your help, it took me already one step closer tot he truth :D<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Best regards,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Hannes<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">Von:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Qgis-user [<a href="/user/SendEmail.jtp?type=node&node=5286093&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>]
<b>Im Auftrag von </b>Nicolas Cadieux<br>
<b>Gesendet:</b> Donnerstag, 8. September 2016 19:57<br>
<b>An:</b> <a href="/user/SendEmail.jtp?type=node&node=5286093&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a><br>
<b>Betreff:</b> Re: [Qgis-user] QGIS - help: filled contour lines from raster layer data<o:p></o:p></span></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">Hi,<o:p></o:p></p>
</div>
<div id="AppleMailSignature">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="AppleMailSignature">
<p class="MsoNormal">I am not sure why you get that error but the r.contour.level will give you what you need if you select "area" in the
<a href="http://v.out.org" target="_top" rel="nofollow" link="external">v.out.org</a> parameter.  That will give you polygons that you can color the fill area. If you have installed the latest version of Qgis, your processing toolbox could be a mix of old and new tools.  If this is the case,
 I would do complete reinstall deleting all the old plugins.<o:p></o:p></p>
</div>
<div id="AppleMailSignature">
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div id="AppleMailSignature">
<p class="MsoNormal">Nicolas<o:p></o:p></p>
</div>
<div id="AppleMailSignature">
<p class="MsoNormal"><br>
Envoyé de mon iPad<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
Le 8 sept. 2016 à 08:47, KOHLMANN Hannes [via <a href="http://osgeo.org" target="_top" rel="nofollow" link="external">
OSGeo.org</a>] <<a href="/user/SendEmail.jtp?type=node&node=5284798&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<o:p></o:p></p>
</div>
<blockquote style='border-left:2px solid #CCCCCC;padding:0 1em' style="border-left:2px solid #CCCCCC;padding:0 1em">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hello dear QGis users!<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">A collegue and me were wondering if it is possible to create contour lines, or more important for us, FILLED contour lines (areas) for
<u>RASTER LAYER</u> data!<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">We are both very positive that this once worked and we have done that. Now we cannot find the way to reproduce that anymore.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">On the one hand, we thought that we had done it with the gdal-Contour tool in QGIS (Raster->Extract->Contour), but now we can’t find an option to generate filled contour areas,
 like<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">it is possible with the installable extension „Contour Plugin“ (which is only possible to use with a point vector layer, but this is exactly what we think that we have done to a
 raster layer file!). <o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo4">
<span style="mso-list:Ignore">1.<span style="font:7.0pt "Times New Roman"">     
</span></span>Now the question: was that ever possible to do with the gdal-contour plugin? Or not…<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo4">
<span style="mso-list:Ignore">2.<span style="font:7.0pt "Times New Roman"">     
</span></span>On the other hand, we also tried to use the GRASS Gis algorithms r.contour.level or r.contour.step, etc in the processing toolbox, but they keep giving us the error message: „environment can only contain strings See log for more details“.
 What ist he problem here? Does it have to do with the new version Grass Gis 7?<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoListParagraph" style="margin-left:36.0pt;text-indent:-18.0pt;mso-list:l0 level1 lfo4">
<span style="mso-list:Ignore">3.<span style="font:7.0pt "Times New Roman"">     
</span></span>Bottom line is: We have got a .dat file, which is a raster layer with valued pixels that we are displaying in spectral colors. Now we want to extract the contour lines and to have a color fill between those contour lines. How would you
 do this – is there an easy solution, which differs from the numerous tutorials on the web, which seem to be a lot more complicated than what we actually remember to have done?<o:p></o:p></p>
<p class="MsoListParagraph"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thank you very much in advance, any answer would be very helpful!<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Best regards,<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hannes Kohlmann<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt"><br>
_______________________________________________ <br>
Qgis-user mailing list <br>
<a href="/user/SendEmail.jtp?type=node&node=5284720&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">
http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">
http://lists.osgeo.org/mailman/listinfo/qgis-user</a> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center">
</div>
<div>
<div>
<p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p>
</div>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/QGIS-help-filled-contour-lines-from-raster-layer-data-tp5284720.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/QGIS-help-filled-contour-lines-from-raster-layer-data-tp5284720.html</a>
<o:p></o:p></span></p>
</div>
<div style="margin-top:4.8pt">
<p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To start a new topic under Quantum GIS - User, email
<a href="/user/SendEmail.jtp?type=node&node=5284798&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>
To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a>
<o:p></o:p></span></p>
</div>
</div>
</blockquote>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div class="MsoNormal">
<hr size="2" width="300" style="width:225.0pt" align="left">
</div>
</div>
<p class="MsoNormal">View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/QGIS-help-filled-contour-lines-from-raster-layer-data-tp5284720p5284798.html" target="_top" rel="nofollow" link="external">
Re: QGIS - help: filled contour lines from raster layer data</a><br>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html" target="_top" rel="nofollow" link="external">
Quantum GIS - User mailing list archive</a> at <a href="http://nabble.com" target="_top" rel="nofollow" link="external">Nabble.com</a>.<o:p></o:p></p>
</div>


<br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5286093&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br>List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Re-QGIS-help-filled-contour-lines-from-raster-layer-data-tp5286093.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Re-QGIS-help-filled-contour-lines-from-raster-layer-data-tp5286093.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5286106&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></div></blockquote>

        
        
        
<br/><hr align="left" width="300" />
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Re-QGIS-help-filled-contour-lines-from-raster-layer-data-tp5286093p5286106.html">Re: QGIS - help: filled contour lines from raster layer     data</a><br/>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at Nabble.com.<br/>