Skip to content
Reading/parsing a GIS shapefile in iOS (iPhone or iPad), and displaying geometry shapes with MapKit on iOS
C Shell Makefile Objective-C Groff Java C++
Latest commit 2c24010 Apr 20, 2016 @grgcombs Quick update to Xcode 7.3
- Storyboard
- ARC (of the demo app)
- MapKit updates
- compiler warnings and errors

Still needs:

- .gitignore
- cleanup/conversion/update/refresh of Proj.4
Failed to load latest commit information.
Classes Quick update to Xcode 7.3 Apr 20, 2016
Data Updated the project to latest Xcode. Cleaned out compiler warnings. A… Feb 22, 2013
Frameworks/Proj.4
TestObjCShapefile.xcodeproj
.gitignore
README
TestObjCShapefile-Info.plist
TestObjCShapefile_Prefix.pch
iOS-Shapefile.storyboard
main.m

README

* 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.
Something went wrong with that request. Please try again.