I tested gdal_contour and it actually looks ok. I think I can use that as a pre process for mapserver. <div>My eye immediately fell on gdal_polygonize because I think that can create polygon shapefiles. I haven&#39;t got gdal_polygonize running yet because of some compatibility errors (gdal.Polygonize() not available) but will try to find that out.</div>
<div><br></div><div>Thanks for your help</div><div><br></div><div><br><br><div class="gmail_quote">2010/2/1 Frank Warmerdam [via OSGeo.org] <span dir="ltr">&lt;<a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4506967&i=0" target="_top" rel="nofollow">[hidden email]</a>&gt;</span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">

windfreak wrote:
<br>&gt; I am wondering if it&#39;s possible to present isolines from raster data. I have
<br>&gt; NETCDF/GRIB/HDF5 data and want to plot lines. Until now I haven&#39;t found any
<br>&gt; examples like that.
<br>&gt; 
<br>&gt; If it&#39;s not possible, I think the best workaround is to create an
<br>&gt; application that generates shapefiles from raster data. Then I can use these
<br>&gt; shapefiles to plot lines with mapserver. Do you have suggestions for better
<br>&gt; workarounds?
<br><br></div><div class="im">Windfreak,
<br><br>MapServer does not support computing isolines on the fly, though you might
<br>get a vaguely similar effect by defining a class for each iso level with
<br>different colors.
<br><br>You can use the GDAL/OGR gdal_contour utility to produce iso-contours from
<br>a raster file. Be aware that it produces very fine isolines with one segment
<br>for each pixel crossed so some simplification might be appropriate before
<br>using the results for map rendering.
<br><br>Best regards,
<br>-- 
<br>---------------------------------------+--------------------------------------
<br></div>I set the clouds in motion - turn up   | Frank Warmerdam, <a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=4495096&amp;i=0" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><div class="im">light and sound - activate the windows | <a href="http://pobox.com/~warmerdam" rel="nofollow" link="external" target="_blank">http://pobox.com/~warmerdam</a><br>and watch the world go round - Rush    | Geospatial Programmer for Rent
<br><br></div>_______________________________________________
<br>mapserver-users mailing list
<br><a href="http://n2.nabble.com/user/SendEmail.jtp?type=node&amp;node=4495096&amp;i=1" rel="nofollow" target="_blank" link="external">[hidden email]</a>
<br><div class="im"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" rel="nofollow" link="external" target="_blank">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><br>

</blockquote></div><br><br clear="all"><br>-- <br>-<a href="http://www.topspots.org" target="_top" rel="nofollow" link="external">http://www.topspots.org</a>         the best windsurfspots<br>-<a href="http://www.weer.nl" target="_top" rel="nofollow" link="external">http://www.weer.nl</a>                 the site I work at with work<br>

</div>
<div class="signature"><a href="http://www.topspots.org" target="_top" rel="nofollow" link="external">http://www.topspots.org</a></div>
<br><hr align="left" width="300">
View this message in context: <a href="http://n2.nabble.com/display-isolines-with-raster-data-tp4495049p4506967.html">Re: display isolines with raster data</a><br>
Sent from the <a href="http://n2.nabble.com/Mapserver-User-f1969211.html">Mapserver - User mailing list archive</a> at Nabble.com.<br>