[gdal-dev] Generating Viewsheds without Using Sightlines
Tamas Szekeres
szekerest at gmail.com
Mon Sep 30 12:57:08 PDT 2019
As far as I see, the size of the output raster is equal to the input size
with the gdaldem utility set.
With the viewshed approach, the size of the output raster is calculated
according to the provided parameters (ie. the observer location and
maxdistance), however it is a good idea to allow the user customize the
output format is some way.
Best regards,
Tamas
Eli Adam <eadam at co.lincoln.or.us> ezt írta (időpont: 2019. szept. 30., H,
21:35):
> On Mon, Sep 30, 2019 at 11:54 AM Even Rouault
> <even.rouault at spatialys.com> wrote:
> >
> > On lundi 30 septembre 2019 20:10:38 CEST Tamas Szekeres wrote:
> > > Hi,
> > >
> > > I've implemented a viewshed algorithm a while ago, by utilizing a
> modified
> > > version of the algorithm published at
> > >
> https://www.asprs.org/wp-content/uploads/pers/2000journal/january/2000_jan_8
> > > 7-90.pdf
> > >
> > > With this approach, it was crucial to provide a fast real-time option
> for
> > > the viewshed calculation on relatively large raster DEMs by using only
> a
> > > small memory footprint.
> > >
> > > The implementation can be found here:
> > >
> > > https://github.com/szekerest/gdal/blob/viewshed/gdal/alg/viewshed.cpp
> > >
> https://github.com/szekerest/gdal/blob/viewshed/gdal/apps/gdal_viewshed.cpp
> > >
> > > Does it make sense to spend some more effort and incorporate this
> approach
> > > in GDAL officially?
> >
> > Sounds useful to me !
> > (old memories of having implement line-of-sight based intervisibility
> > algorithm in a past life !)
>
> Gdaldem (although it has a different history) has an assortment of DEM
> based utilities, https://gdal.org/programs/gdaldem.html I'm not sure
> if it would make sense there or elsewhere. It would be a useful tool.
>
> Best regards, Eli
>
>
>
> >
> > Even
> >
> > --
> > Spatialys - Geospatial professional services
> > http://www.spatialys.com
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20190930/c3b5c6de/attachment.html>
More information about the gdal-dev
mailing list