[Mapserver-ottawa] reading shapefiles with python

Allen Huang swapp0 at yahoo.com
Wed Dec 6 01:43:47 EST 2006


Hi.. could anyone help me. I want to read shapefile for a gis project that I'm working on, but so far nothing works out. With my program I was able to read the shx and dbf files fine, but shp files have a lot of problem. I could read the header info and a few recorded info, but after a fewer records, some times a lot and other times few, I always run to errors, like there is no record left when there should be. 
 
I use struct module to do me binary decoding but I have lucked out and stopped for the time being.
 
Could anyone tell me if there is any python tools that read shapefiles?


 
____________________________________________________________________________________
Have a burning question?  
Go to www.Answers.yahoo.com and get answers from real people who know.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/mapserver-ottawa/attachments/20061205/ae3a8c07/attachment.html


More information about the Mapserver-ottawa mailing list