[gdal-dev] gdal_translate upside down image

2009-01-16 Thread Greg Ederer
Hi, I'm running gdal_translate against a VRT file: -20.05, 0.1, 0.0, 40.05, 0.0, -0.1 GEOGCS["WGS 84", DATUM["WGS_1984", SPHEROID["WGS 84",6378137,298.2572235630016,

Re: [gdal-dev] Unknown file type

2009-01-09 Thread Greg Ederer
Hi Frank, Just FYI, I had to flip the sign on the pixel height parameter: -20.05, 0.1, 0.0, 40.05, 0.0, -0.1 Many thanks! Greg On Jan 9, 2009, at 12:21 PM, Frank Warmerdam wrote: Greg Ederer wrote: ... Note that the pixel/line coordinates in the above are from (0.0,0.0) at the top

Re: [gdal-dev] Unknown file type

2009-01-09 Thread Greg Ederer
That did the trick. Thanks! Greg On Jan 9, 2009, at 12:21 PM, Frank Warmerdam wrote: Greg Ederer wrote: ... Note that the pixel/line coordinates in the above are from (0.0,0.0) at the top left corner of the top left pixel to (width_in_pixels,height_in_pixels) at the bottom right corner

Re: [gdal-dev] Unknown file type

2009-01-09 Thread Greg Ederer
y data have a resolution of 0.1 deg lat X 0.1 deg lon, and the upper left lat/lon is 40N,20W. Could you give me some pointers on how to compute the transform values? Thanks, again! Greg On Jan 9, 2009, at 10:45 AM, Frank Warmerdam wrote: Greg Ederer wrote: Metadata: AREA_OR_POI

Re: [gdal-dev] Unknown file type

2009-01-09 Thread Greg Ederer
Pixel Size = (0.100,-0.100) Metadata: AREA_OR_POINT=Area Image Structure Metadata: INTERLEAVE=BAND Corner Coordinates: Upper Left ( -20.050, 40.050) ( 20d 3'0.00"W, 40d 3'0.00"N) Lower Left ( -20.050, -40.050) ( 20d 3'0.00"

Re: [gdal-dev] Unknown file type

2009-01-08 Thread Greg Ederer
This looks like it will be useful. Thanks! Greg Frank Warmerdam wrote: Greg Ederer wrote: Hi, I am a GDAL newbie. I just got handed a group of files with the following description: description of the data 1) content: rain == 10 day precipitation analysis by merging

[gdal-dev] Unknown file type

2009-01-08 Thread Greg Ederer
le format. gdalinfo failed - unable to open '10day_precip.bin.1999121'. I suspect that GDAL requires some additional metadata in order to read these files. Any suggestions? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | g...@ergonosi

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Greg Ederer
Brent -- | E R G O N O S I S | Greg Ederer | Lead Developer | g...@ergonosis.com | 360.774.6848 | ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Greg Ederer
.shp portion with the old .dbf and .shx if the resulting geometry records are not re-ordered. Brent Greg Ederer wrote: Brent, My Google search didn't turn up much of use (most of the results were PostGIS-specific). Do you know of a tool that would tell me which feature

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Greg Ederer
ould I fall back to a previous version? I used version 1.2.01, but I don't recall why... Hmm.  I'll switch, and see what happens. Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | g...@ergonosis.com | 360.774.6848 | __

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-19 Thread Greg Ederer
attributes when the results are saved as a shapefile, but you may be able to just use the new .shp portion with the old .dbf and .shx if the resulting geometry records are not re-ordered. Brent Greg Ederer wrote: Brent, My Google search didn't turn up much of use (most of the

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-18 Thread Greg Ederer
a problem preserving attributes when the results are saved as a shapefile, but you may be able to just use the new .shp portion with the old .dbf and .shx if the resulting geometry records are not re-ordered. Brent Greg Ederer wrote: Brent, My Google search didn't turn up much of

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-18 Thread Greg Ederer
s the GEOS topology library is having problems with geometry of your input shapefile. Most likely related to duplicate vertices (or near-duplicate) in a polygon. Do a Google for "side location conflict". It would be nice if it spat out the FID of the offending polygon... Brent Gr

Re: [gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-18 Thread Greg Ederer
do a join on the shapefile's DBF file based on the FID. Brent Fraser Greg Ederer wrote: Hello all, I'm a GDAL newbie. I have a shape file containing subnational boundaries for Africa. I have a raster containing rainfall for Africa. I need to pull out the spatial average of rai

[gdal-dev] Zonal statistics with GDAL/StarSpan

2008-12-18 Thread Greg Ederer
e StarSpan sources to try to figure out how to use it. Does anyone have any suggestions as to how I might get the needed data using GDAL (with, or without StarSpan)? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | g...@ergonosis.com | 36

Re: [gdal-dev] GDAL/StarSpan Mac OS X

2008-12-17 Thread Greg Ederer
It turned out that the magic words were:   LDFLAGS = -framework GDAL -framework GEOS in my Makefile.  Thanks to William Kyngesburye for the solution. Cheers, Greg Christopher Schmidt wrote: On Wed, Dec 17, 2008 at 04:12:26PM -0800, Greg Ederer wrote: Hi, I've been tryi

[gdal-dev] GDAL/StarSpan Mac OS X

2008-12-17 Thread Greg Ederer
. (many more lines) Any suggestions? Thanks! Greg -- | E R G O N O S I S | Greg Ederer | Lead Developer | g...@ergonosis.com | 360.774.6848 | ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev