[gdal-dev] OGR shapefile problems

William Kyngesburye woklist at kyngchaos.com
Sat Feb 9 20:29:45 EST 2008


So, the patch works.  But I notice that you only patched the polygon  
case.  I think it's possible that any shape type can have null shape  
data.  I don't know if it's correct behavior for shapefiles, but I've  
seen ArcGIS export such shapefiles myself, and I think I've seen it  
happen with point shapefiles as well.

On Feb 9, 2008, at 5:05 PM, Even Rouault wrote:

> I could reproduce a problem with your file on GDAL trunk and  
> branches/1.5. It
> is not MAC OS X specific.
> The issue was the polygon feature whose FID = 22734, with nParts == 0.
> Fixed in trunk in r13744 and in branches/1.5 in r13755
>
> Best regards
>
> Le Saturday 09 February 2008 23:31:57 John C. Tull, vous avez écrit :
>> Hello All,
>>
>> I am running into problems with a shapefile using GDAL 1.5 binaries
>> compiled by William Kyngesburye for OS X Leopard. We are trying to  
>> see
>> if the problem is a GDAL 1.5 issue, or if it is something OS X  
>> related.
>>
>> The file reads properly using pre 1.5 GDAL binaries on OS X and
>> Ubuntu. I did not have a 1.5 binary on my Ubuntu vm to test. I used
>> 'ogrinfo -al' on the file.
>>
>> If anyone cares to take a look, I have placed the problem file  
>> online.
>> You can download the landowner shapefile from
>> http://homepage.mac.com/jctull/
>>
>> Thank you,
>> John Tull_______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

Earth: "Mostly harmless"

- revised entry in the HitchHiker's Guide to the Galaxy




More information about the gdal-dev mailing list