[postgis-users] Elevation profiles from rasters

Rémi Cura remi.cura at gmail.com
Sat Aug 23 01:17:37 PDT 2014


Hey,
you can do it using plpython and python gdal binding.
It could be a first step to evaluate if it is fast enough for you.
Cheers,
Rémi-c


2014-08-22 22:09 GMT+02:00 Rasmus Aveskogh <rasmus at defero.se>:

> Hi!
>
> How hard/feasible would it be to implement elevation profile/drape line
> functionality in PostGIS? Since PostGIS already depends on GDAL I assume
> making use of the GDAL API would make this quite easy, such as in the
> Zoo-Project service:
>
>
> http://www.zoo-project.org/trac/browser/trunk/zoo-project/zoo-services/gdal/profile/service.c
>
> Providing functionality that could eventually be used for applications
> like: http://www.zoo-project.org/site/ZooWebSite/Demo/GdalProfile (using
> the code above)
>
> I’m currently using an ad-hoc PostGIS-function to pull out elevation
> profiles from my rasters, but it’s quite slow and CPU intensive and as such
> does not make a good fit as a backend service for a web application like
> the above.
>
> -ra
>
> _______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> http://lists.osgeo.org/cgi-bin/mailman/listinfo/postgis-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20140823/ab550ad6/attachment.html>


More information about the postgis-users mailing list