Re: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Marius Jigmond
They are links between tables. Usually, between the attribute table of a feature class and a simple (non-spatial, as Mike said) table. But you can relate any kind of attribute tables. -marius On Thu, 2011-04-28 at 14:30 -0700, Paul Ramsey wrote: > Are they tables or links between tables? I can s

Re: [gdal-dev] Mask and GEOTiff

2011-04-28 Thread Marius Jigmond
In QGIS you can use Raster Calculator to multiply the rasters. -marius On Thu, 2011-04-28 at 00:30 -0700, canduc17 wrote: > Hi everyone. > > Is there a way to crop a GEOTiff image using a Mask of the same dimension? > > For example, a mask with a filled circle: every pixel inside the circle is

RE: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Jason Roberts
FWIW, the error code -2147467259 is probably a Microsoft HRESULT. In hex, it is 0x80004005, which is a generic "access is denied" error. Not that this is much of a clue about what is going on. You could check for some kind of permissions or access problem... Jason -Original Message- From:

Re: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Paul Ramsey
Are they tables or links between tables? I can see this is going to be a hard project to do without ArcGIS handy :) P. On Thu, Apr 28, 2011 at 10:26 AM, Smith, Michael ERDC-CRREL-NH wrote: > Relations are joins to non-spatial tables containing domain values etc. They > are relational tables. >

Re: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Smith, Michael ERDC-CRREL-NH
Relations are joins to non-spatial tables containing domain values etc. They are relational tables. Mike -- Michael Smith Remote Sensing/GIS Center US Army Corps of Engineers On 4/28/11 1:19 PM, "Even Rouault" wrote: > Le jeudi 28 avril 2011 02:11:30, Paul Ramsey a écrit : >> >> I assume

Re: [gdal-dev] FGDB Opening Sample File

2011-04-28 Thread Even Rouault
Le jeudi 28 avril 2011 02:11:30, Paul Ramsey a écrit : > > I assume the failures are relationships we don't handle yet (or ever > and will need to be silenced). > Not sure what those relations things are. > There is a test file in the FGDB API itself, and it fails to open > entirely, which seem

Re: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-28 Thread Even Rouault
Le jeudi 28 avril 2011 17:49:48, Matt Wilkie a écrit : > > Worked for me using the following: > > > > #Change black to white > > gdalbuildvrt -srcnodata 0 -vrtnodata 255 to-be-decollared.vrt > > to-be-decollared.tif > > #Run nearblack -white > > nearblack -white -o decollared.tif to-be-deco

Re: [gdal-dev] Re: Mask and GEOTiff

2011-04-28 Thread Jamie Adams
You could run gdal_polygonize on the mask geotiff and then use the output vector with gdal_rasterize. That's the only way I can think of without writing a python script to do the pixel comparisons. Jamie On Thu, Apr 28, 2011 at 2:30 AM, canduc17 wrote: > I think gdal merge is the easier way. >

Re: [gdal-dev] nearblack troubles [SEC=UNCLASSIFIED]

2011-04-28 Thread Matt Wilkie
> Worked for me using the following: > > #Change black to white > gdalbuildvrt -srcnodata 0 -vrtnodata 255 to-be-decollared.vrt > to-be-decollared.tif > #Run nearblack -white > nearblack -white -o decollared.tif to-be-decollared.vrt Luke, once again I thank you. :) matt wilkie -

Re: [gdal-dev] gdalwarp vertical datum shift question

2011-04-28 Thread Frank Warmerdam
On 11-04-27 02:42 PM, Mark Warren wrote: So before we go down this route too far (since a lot of changes may be needed to the code) - does anyone think that this is a feasible idea or have any other suggestions (other than using a GIS :) )? Mark, Honestly, I think it would be better to impleme

[gdal-dev] Re: Cropping raster by vector files

2011-04-28 Thread canduc17
Ok. But if I have a separate shapefile (.shp) and a GEOTiff image, which command line tool can I use to obtain the first image of your howto? -- View this message in context: http://osgeo-org.1803224.n2.nabble.com/Cropping-raster-by-vector-files-tp5271977p6312752.html Sent from the GDAL - Dev ma

[gdal-dev] Re: Mask and GEOTiff

2011-04-28 Thread canduc17
I think gdal merge is the easier way. But with a command like this: gdal_merge.py -of GTiff -separate -o cropped.tif orig.tif mask.tif I obtainn a GEOTiff with two bands: the first is the original image and the second is the mask. This is not what I want. I would like to obtain a single band GEO

Re: [gdal-dev] Mask and GEOTiff

2011-04-28 Thread Chaitanya kumar CH
Alessandro, You can combine the tiff and the mask using GDAL's VRT format or by using the -separate option in gdal_merge.py script. The extra band should be set as a nodata mask or alpha band. http://www.gdal.org/gdal_vrttut.html http://www.gdal.org/gdalbuildvrt.html http://www.gdal.org/gdal_mer

[gdal-dev] Mask and GEOTiff

2011-04-28 Thread canduc17
Hi everyone. Is there a way to crop a GEOTiff image using a Mask of the same dimension? For example, a mask with a filled circle: every pixel inside the circle is 1 and the others are 0. I would like to obtain a new GEOTiff with only the pixel inside the circle visible and the other set to 0. Is