You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I originally chose not to work with geo_types due to lack of conversion with gdal. Gdal (in rust) provides mechanisms to convert into geo_types, but doesn't provide methods to convert the other way.
Then I ended up writing my own geometry classes that wrap gdal that look a lot more like geo_types, so I could have more type-safety.
And then I ended up importing geo and geo_types for their spherical mapping algorithms.
In any case, to simplify my code, I shgould just write a conversion going back to gdal, and then replace my geometry code with geo_types, where the conversion code actually converts instead of wraps. This will reduce potential error spots, since geo_types doesn't return a lot of errors from their functions.
This could also replace the coordinates module.
The text was updated successfully, but these errors were encountered:
I originally chose not to work with
geo_types
due to lack of conversion withgdal
.Gdal
(in rust) provides mechanisms to convert intogeo_types
, but doesn't provide methods to convert the other way.Then I ended up writing my own geometry classes that wrap
gdal
that look a lot more likegeo_types
, so I could have more type-safety.And then I ended up importing
geo
andgeo_types
for their spherical mapping algorithms.In any case, to simplify my code, I shgould just write a conversion going back to
gdal
, and then replace mygeometry
code with geo_types, where the conversion code actually converts instead of wraps. This will reduce potential error spots, sincegeo_types
doesn't return a lot of errors from their functions.This could also replace the
coordinates
module.The text was updated successfully, but these errors were encountered: