Skip to content

Latest commit

 

History

History
25 lines (22 loc) · 792 Bytes

README.md

File metadata and controls

25 lines (22 loc) · 792 Bytes

FeaturesPlay

Prototyping of projection conversion & spatial indexing routines.

Rough work in progress, but just to cover the bases, some of the formulas are borrowed from Leaflet.

  • Figure out how MKMapPoint is setup
  • projected meters/map point/coordinate translations
  • scale/zoom translations
  • pixel width for zoom
  • meters/pixel at given latitude & zoom
  • Spherical Mercator
  • Mercator (ellipsoid)
  • CGPoint/coordinate translations
  • distance formulas
    • Spherical Cosines
    • Haversine
    • Apple/Core Location passthrough
  • nearest neighbor
    • Apple/Core Location passthrough
    • S2
    • R-Tree
    • Quad tree
  • rotation transforms