[mapserver-users] Re: display isolines with raster data
windfreak
martijnvanderpauw at gmail.com
Wed Feb 3 04:43:15 PST 2010
I tested gdal_contour and it actually looks ok. I think I can use that as a
pre process for mapserver.
My eye immediately fell on gdal_polygonize because I think that can create
polygon shapefiles. I haven't got gdal_polygonize running yet because of
some compatibility errors (gdal.Polygonize() not available) but will try to
find that out.
Thanks for your help
2010/2/1 Frank Warmerdam [via OSGeo.org] <
ml-node+4495096-771874491 at n2.nabble.com<ml-node%2B4495096-771874491 at n2.nabble.com>
>
> windfreak wrote:
> > I am wondering if it's possible to present isolines from raster data. I
> have
> > NETCDF/GRIB/HDF5 data and want to plot lines. Until now I haven't found
> any
> > examples like that.
> >
> > If it's not possible, I think the best workaround is to create an
> > application that generates shapefiles from raster data. Then I can use
> these
> > shapefiles to plot lines with mapserver. Do you have suggestions for
> better
> > workarounds?
>
> Windfreak,
>
> MapServer does not support computing isolines on the fly, though you might
> get a vaguely similar effect by defining a class for each iso level with
> different colors.
>
> You can use the GDAL/OGR gdal_contour utility to produce iso-contours from
> a raster file. Be aware that it produces very fine isolines with one
> segment
> for each pixel crossed so some simplification might be appropriate before
> using the results for map rendering.
>
> Best regards,
> --
> ---------------------------------------+--------------------------------------
>
> I set the clouds in motion - turn up | Frank Warmerdam, [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4495096&i=0>
> light and sound - activate the windows | http://pobox.com/~warmerdam
> and watch the world go round - Rush | Geospatial Programmer for Rent
>
> _______________________________________________
> mapserver-users mailing list
> [hidden email]<http://n2.nabble.com/user/SendEmail.jtp?type=node&node=4495096&i=1>
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>
>
> ------------------------------
> View message @
> http://n2.nabble.com/display-isolines-with-raster-data-tp4495049p4495096.html
> To unsubscribe from display isolines with raster data, click here< (link removed) ==>.
>
>
>
--
-http://www.topspots.org the best windsurfspots
-http://www.weer.nl the site I work at with work
-----
http://www.topspots.org
--
View this message in context: http://n2.nabble.com/display-isolines-with-raster-data-tp4495049p4506967.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100203/ddea2622/attachment.htm>
More information about the MapServer-users
mailing list