Re: [postgis-users] NDVI Calculation from two bands within one Raster

2012-03-26 Thread Nordgren, Bryce L -FS


'WHEN (rast1 + rast2 = 0) THEN XXX ELSE (rast1 - rast2) /(rast1 + rast2)::float 
END'

> Returned "Neither raster provided has a NODATA value for the specified band
> indices.  NODATA value set to minimum possible for 8BUI"

Ummm,

NDVI is calculated on reflectance values in these bands, not raw DN. Your 
inputs should already be floating point values, and they should never be less 
than 0.0 or greater than 1.0. The big concern here is that each band is likely 
to have a different relationship between DN and reflectance, making the above 
equation produce something...unexpected.




This electronic message contains information generated by the USDA solely for 
the intended recipients. Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties. If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] PostGIS 2.0.0 Released

2012-04-03 Thread Nordgren, Bryce L -FS
Congratulations!

-Original Message-
From: postgis-users-boun...@postgis.refractions.net 
[mailto:postgis-users-boun...@postgis.refractions.net] On Behalf Of Paul Ramsey
Sent: Tuesday, April 03, 2012 3:04 PM
To: postgis-de...@postgis.refractions.net; PostGIS Users Discussion
Subject: [postgis-users] PostGIS 2.0.0 Released

The PostGIS development team is super excited, can hardly believe that they are 
actually doing this, aren't maybe even sure that they are ready to make this 
kind of commitment, not so young, and not when we have so much more living to 
do, but:

PostGIS 2.0.0 is complete and available for download.

  http://postgis.org/download/postgis-2.0.0.tar.gz

The development process for 2.0 has been very long, but has resulted in a 
release with a number of exciting new features.

 * Raster data and raster/vector analysis in the database
 * Topological models to handle objects with shared boundaries
 * PostgreSQL typmod integration, for an automagical
   geometry_columns table
 * 3D and 4D indexing
 * Index-based high performance nearest-neighbour searching
 * Many more vector functions including
   * ST_Split
   * ST_Node
   * ST_MakeValid
   * ST_OffsetCurve
   * ST_ConcaveHull
   * ST_AsX3D
   * ST_GeomFromGeoJSON
   * ST_3DDistance
 * Integration with the PostgreSQL 9.1 extension system
 * Improved commandline shapefile loader/dumper
 * Multi-file import support in the shapefile GUI
 * Multi-table export support in the shapefile GUI
 * A geo-coder optimized for free US Census
   TIGER (2010) data

We are greatly indebted to our large community of beta testers who valiantly 
tested PostGIS 2.0.0 and reported bugs so we could squash them before release 
time.

And also we want to thank our parents for making PostGIS possible.

Yours,

The PostGIS development team
___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users





This electronic message contains information generated by the USDA solely for 
the intended recipients. Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties. If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users


Re: [postgis-users] Error adding raster support

2012-06-06 Thread Nordgren, Bryce L -FS


> -Original Message-
> But I'm getting the following error:
>
> psql:/usr/share/postgresql/9.1/contrib/postgis-2.0/rtpostgis.sql:70: ERROR:
> could not load library "/usr/lib/postgresql/9.1/lib/rtpostgis-2.0.so":
> libgdal.so.1: cannot open shared object file: No such file or directory
>


Do you have gdal installed?




This electronic message contains information generated by the USDA solely for 
the intended recipients. Any unauthorized interception of this message or the 
use or disclosure of the information it contains may violate the law and 
subject the violator to civil or criminal penalties. If you believe you have 
received this message in error, please notify the sender and delete the email 
immediately.

___
postgis-users mailing list
postgis-users@postgis.refractions.net
http://postgis.refractions.net/mailman/listinfo/postgis-users