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: [email protected]
[mailto:[email protected]] On Behalf Of Andreas
Forø Tollefsen
Sent: Saturday, August 21, 2010 2:49 PM
To: [email protected]
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
_______________________________________________
postgis-users mailing list
[email protected]
http://postgis.refractions.net/mailman/listinfo/postgis-users

Reply via email to