-
Notifications
You must be signed in to change notification settings - Fork 13
grgcombs/iOS-Shapefile
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
* 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.
About
Reading/parsing a GIS shapefile in iOS (iPhone or iPad), and displaying geometry shapes with MapKit on iOS
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published