[postgis-users] Raster to Polygon vector cell

Paragon Corporation lr at pcorp.us
Sat Aug 21 14:10:03 PDT 2010


Andreas,
 
WKT Raster was designed for this sort of thing.  Which OS are you on?  There
are precompiled binaries for Windows and Mac OSX compiled that should work
for
 PostGIS 1.4-1.5
 
For upcoming PostGIS 2.0 (which is now in alphaish state) -- we have WKT
Raster (in windows experimental) packaged as part of the download.
 
Below are relevant links
 
http://trac.osgeo.org/postgis/wiki/WKTRaster
 
http://trac.osgeo.org/postgis/wiki/WKTRasterTutorial01
 
 <http://www.postgis.org/download/windows/experimental.php>
http://www.postgis.org/download/windows/experimental.php  (windows binaries)
 
http://www.kyngchaos.com/software/postgres (Mac binaries)
 
 <http://www.postgis.org/documentation/manual-svn/RT_FAQ.html>
http://www.postgis.org/documentation/manual-svn/RT_FAQ.html  (raster FAQ)
 
 <http://www.postgis.org/documentation/manual-svn/RT_reference.html>
http://www.postgis.org/documentation/manual-svn/RT_reference.html  (raster
functions)
 
We also have a chapter on it in our upcoming book (currently available in
beta book form -- from Manning) -  http://www.manning.com/obe/  
 
http://www.postgis.us/chapter_13
 
Leo and Regina
http://www.postgis.us
 

  _____  

From: postgis-users-bounces at postgis.refractions.net
[mailto:postgis-users-bounces at postgis.refractions.net] On Behalf Of Andreas
Forø Tollefsen
Sent: Saturday, August 21, 2010 2:49 PM
To: postgis-users at postgis.refractions.net
Subject: [postgis-users] Raster to Polygon vector cell


Hi. 

I have been searching for a way to join raster values to polygons.
In my case there is only one raster value within each polygon, and I would
like this value to be joined into a column in the polygon table.
The process would in other GIS programs probably look like this:

Raster Data -> Point Features -> Spatial Join to Polygons (with raster value
as new column for each polygon).

Any ideas how one would formulate this?

Thanks.
Andreas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20100821/09e7d21f/attachment.html>


More information about the postgis-users mailing list