go-spatial / geom

Geometry interfaces to help drive interoperability within the Go geospatial community
MIT License
168 stars 37 forks source link

Why are the UTM coordinates rounded? #119

Closed bezineb5 closed 2 years ago

bezineb5 commented 2 years ago

Hello,

I'm using the UTM coordinates package of geom and I found out that the fromLngLat method rounds the output UTM coordinates to the meter. My usage needs a resolution down to the centimeter, so it's not enough. Is there any particular reason why geom is doing this rounding instead of leaving it to the user?

Thanks! Ben

gdey commented 2 years ago

I don't remember why I did that. I agree why you; thank you for the PR!