Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
C Shell Makefile Objective-C Other Java C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
|Failed to load latest commit information.|
* iOS-Shapefile is a proof of concept for reading/parsing an ESRI shapefile (.shp) on an iPhone or iPad and displaying the resulting shapes in MapKit. * It's built on Pascal Brandt's intial Cocoa work at http://3dgeo.net/CocoaShapefile/CocoaShapefile.htm * My changes consist of removing dependency on garbage collection, and a rudimentary sample app showing district polygons for the Texas Senate. * This proof of concept doesn't take "holes" in polygons into consideration. * This doesn't cover how to write or edit shapefiles, since I didn't see much utility for that in my iOS projects. * I've included an iOS targeted PROJ.4 framework (http://trac.osgeo.org/proj/). To be honest, I don't know where I initially found this iOS specific build. However, I'm sure you can find another suitable one for iOS floating out there somewhere if you need to. I haven't made any changes to it. * Also, it should go without saying that if the shapefiles are already in EPSG-4326 projection, then you shouldn't need Proj.4.