[GRASS-user] Best workflow

Blumentrath, Stefan Stefan.Blumentrath at nina.no
Fri Jun 24 01:17:53 PDT 2016


> From: grass-user [mailto:grass-user-bounces at lists.osgeo.org] On Behalf Of Paul Meems

Depends on several things, e.g

-        do polygons overlap or not,

-        do “height maps” overlap or not?

-        What are the “several commands” you need to be performed

On the basis of the information you provided I would have a look at


-        gdalbuildvrt for merging your “height map” tiles

-        import PostGIS polygon table to GRASS

-        convert to raster using v.to.rast and assign ID to each raster representation of your polygons

-        calculate statistics using either

o   r.stats

o   r.univar
to create CSV files, which can be read back to PostGIS (COPY command) and then joined to your original map using ID field

I would not consider WCS / GeoServer, that gives you only overhead and extra work...

Cheers
Stefan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20160624/5b807619/attachment-0001.html>


More information about the grass-user mailing list