taurenk / Py-Geocoder

Py-Geocoder - An Open Source Python Geocoder Prototype
MIT License
0 stars 0 forks source link

Interpolation code #1

Open taurenk opened 9 years ago

taurenk commented 9 years ago

The interpolation code in engine.py seems to be off for certain addresses. Example; 6 caputo drive manorville ny 11949 interpolates to the next street....

taurenk commented 9 years ago

I fixed the math functions: find_points(), haversine(), bearing() - but I'd like to create a library of geo math functions - including decimal degrees to degrees.

The main interpolation functinon seems to be off on where it actually puts the point within the line segment though. I imagine this has something to do with how I calculate the ratio of houses/segments and the total distance.

CONFIRMED This is still messed up.