anoved / gpxtruder

Make 3D-printable elevation models of GPX tracks.
http://gpxtruder.xyz/
MIT License
71 stars 23 forks source link

Figure out reasonable UTM zone from extent center #34

Closed anoved closed 9 years ago

anoved commented 9 years ago

Currently the user is expected to specify UTM zone (1-60) and hemisphere (N/S). The input GPX should provide sufficient basis to figure this out. Get the center of the input bounds (min/max_lat/lon in Gpex.ScanPoints). Select N/S based on the lat. Select the zone based on the lon.