ltog / osmi-addresses

Calculates the Address view of the OSM Inspector
Boost Software License 1.0
11 stars 4 forks source link

Prevent overlang connection lines to places #86

Closed ltog closed 8 years ago

ltog commented 8 years ago

Example: http://tools.geofabrik.de/osmi/?view=addresses&lon=8.81926&lat=47.24915&zoom=18&overlays=buildings,buildings_with_addresses,postal_code,entrances_deprecated,entrances,no_addr_street,street_not_found,nodes_with_addresses_defined,nodes_with_addresses_interpolated,interpolation,interpolation_errors,connection_lines,nearest_points,nearest_roads,nearest_areas (the two buildings are tagged with both addr:place=... and addr:street=...)

ltog commented 8 years ago

This maybe needs the formula for the central angle: http://www.intmath.com/vectors/3d-earth-geometry.php