JustinCanton / Geo.NET

A lightweight method for communicating with the multiple online geocoding APIs.
MIT License
13 stars 8 forks source link

Remove culture from query generation #52

Closed JustinCanton closed 1 year ago

JustinCanton commented 1 year ago

Describe the bug When generating the query string, some objects are using their ToString method to build up information. This is causing a problem when it comes to different cutltures though. Some cultures print out floats differently. We need to make sure the ToString generation is culture invariant.

To Reproduce Steps to reproduce the behavior:

  1. Call MapBox Reverse Geocoding passing in a coordinate in a Turkish culture
  2. Check the generated url, the url has a point with a comma (29,2323234545)

Expected behavior The generate url should have a point with a decimal (29.2323234545)