ngageoint / fog-machine

iOS Swift framework for parallel processing
MIT License
121 stars 12 forks source link

Latitude of observer pin may not coincide with grid cell #2

Open lemmingapex opened 8 years ago

lemmingapex commented 8 years ago

When the viewshed is run, the observer's cell is colored in black. For large viewsheds, the latitude of observer pin may not coincide with this black grid cell. In the northern hemisphere, the grid cell is north of the pin. This may have to do with the centroid of the area calculation for the UIimage. I'm not sure if the curvature of the earth or map projection need to be accounted for.