reinterpretcat / utymap

Highly customizable library for procedural world generation based on real map data
Apache License 2.0
964 stars 151 forks source link

Force calls to overpass api to use locale which uses . as decimal separator #134

Closed kamisori closed 5 years ago

kamisori commented 5 years ago

As I mentioned in the issue I opened, I had trouble running this as overpass wouldnt return anything usable with the generated api calls. Because my PC is set up with a german locale I figured String.Format simply uses my systems locale if not specified otherwise.

Also I unity nagged that IObserver and IObservable were ambigous references which could mean classes in System or UtyRx.

Also also I didn't like to have to change the StartLongitude and StartLatitude at 4 different places so I made that static. Definetly not a good solution but I thought it might be good enough.

reinterpretcat commented 5 years ago

Thanks for fixes!