mapillary / mapillary-python-sdk

A Python 3 library built on the Mapillary API v4 to facilitate retrieving and working with Mapillary data.
MIT License
37 stars 15 forks source link

[Utility] Convert coordinates to decimal representation #91

Closed OmarMuhammedAli closed 2 years ago

OmarMuhammedAli commented 2 years ago

Description Required a method to convert from DMS notation to decimal representation for coordinates

Describe the solution you'd like A utility function that takes in kwargs of coordinates, converts them, then returns the decimal values.

Purpose To avoid confusion from the users' end about which coordinates format they should input to mapillary driver functions. This way, decimal coordinates are enforced within the business logic.

Rubix982 commented 2 years ago

Closing. Not needed at the moment. Alternatives in turfpy and mercantile should be sufficient for now.