when I view
the same rasters in ArcCatalog and bring up the "Table" view, it is able to
instantly display the typical Value / Count table. Is there some trick I'm
missing here on how to get these values?
Thanks very much!
Tom Jeffery
___
Frank,
Your solution seems to work for me. I don't know ArcGIS well enough to dig
into why it behaves that way, but deleting the features outside the claimed
extent (they aren't showing up as null in ogr), then using ogr2ogr does
result in a safe, non-corrupt shapefile that is usable with both A
ndled.
The only way I can think of to clean such a file is by checking the geometry
in each feature.
On Thu, Aug 5, 2010 at 1:01 AM, Tom Jeffery wrote:
>
> Chaitanya,
>
> I've found the issue with the particular shapefile I'm using. It actually
> has some null geometri
ometry and check if the
> OGREnvelope::MinX and OGREnvelope::MinY values are within the expected
> extents. You can isolate the problem this way.
>
> Otherwise, put together a sample dataset and create a new ticket at
> http://trac.osgeo.org/gdal/newticket
>
> On Wed, Aug 4, 20
Chaitanya,
The updated file is read properly with ogrinfo. The only difference between
ogrinfo -al between the two, besides the new field that was created, is the
extent, which looks like this:
Original file:
Extent: (1528126.013001, 45899.818172) - (1542444.478012, 61468.662925)
Updated file:
ws all the points in
the shapefile in the very upper left corner of the preview. (Viewing the
metadata tab in ArcCatalog will crash the program.)
Below is the method where I'm adding the index field... is there anything
I'm missing / obviously wrong here? Any help would be greatly appr