ESRI Shapefile Library Update

I've just released a small update for my ESRI Shapefile Reader project on Codeplex. The only change is a patch from SolutionMania that fixes a problem when the shapefile name is also a reserved name in the metadata database. The patch escapes the name preventing an exception from being thrown.

Catfood.Shapefile.dll is a .NET 2.0 forward only parser for reading an ESRI Shapefile. Download 1.20 from Codeplex.

Tags: , ,

Categories: .NET | C# | shapefile

Comments

pingback
Pingback from topsy.com

Twitter Trackbacks for
        
        I Thought He Came With You | ESRI Shapefile Library Update
        [ithoughthecamewithyou.com]
        on Topsy.com
# by topsy.com on Saturday, June 19 2010 at 12:04 | Reply
Cat
64-bit Jet drivers might be here:
www.microsoft.com/.../details.aspx

connect.microsoft.com/.../need-64-bit-jet-provider-for-x64-box

# by Cat United States on Friday, July 2 2010 at 05:54 | Reply
Rob
Thanks Cat, will check it out and see if it works with the Shapefile dBase format.
# by Rob United States on Friday, July 2 2010 at 07:15 | Reply
Patrick Cozzi
Rob, I'm interested to know if the 64-bit drivers work with the Shapefile dBase format.  I am currently running as a 32-bit process to workaround the issue.

Also, do you know if I can read different shapefiles using different threads with your library?

Regards,
Patrick
# by Patrick Cozzi United States on Wednesday, September 1 2010 at 07:14 | Reply
Rob
Patrick, I haven't tried the 64-bit driver yet. This was the only reason for forcing the demo app to run as 32-bit so it should be easy to test by updating the project to "Any CPU" and trying it with a shapefile.

The library is not thread safe so you should enumerate on a single thread. This only applies to parsing the file, once you've got the shape objects you could use worker threads to perform whatever processing is needed. Does this help?
# by Rob United States on Wednesday, September 1 2010 at 07:35 | Reply

Add comment


(Will show your Gravatar icon)

  Country flag

biuquote
  • Comment
  • Preview
Loading



 

CC | About | Search | Home | Validate