Dependencies Discussion #26
Replies: 2 comments 2 replies
-
I'd say use Looks like |
Beta Was this translation helpful? Give feedback.
-
Removing Bloated DependenciesAt the moment CoastSeg has more dependencies than it actually uses. Can we trim a few off, so when its time for users to download and install the environment, it is not excessively large? Screenshot of the dependency plan.
Feel free to leave any feedback and ideas. Trimming the dependencies doesn't need to be finalized until we are prepping for a final release. |
Beta Was this translation helpful? Give feedback.
-
Dependencies Discussion
In order to place limits on the size of the bounding box drawn by the user, I need to calculate the area of the geojson bounding box. I found a python package called "area" that uses the same method as geojson.io to calculate the area in sq. meters of a geojson polygon. The only problem is that it is not being actively maintained.
Can I add this as a dependency or should I find some way to utilize the geopandas area method which requires some reprojection and CRS assistance?
Links
https://pypi.org/project/area/
https://github.com/scisco/area
Current Geopandas Geodataframe Info
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
Area of Use:
Datum: World Geodetic System 1984 ensemble
UserWarning: Geometry is in a geographic CRS. Results from 'area' are likely incorrect. Use 'GeoSeries.to_crs()' to re-project geometries to a projected CRS before this operation.
Beta Was this translation helpful? Give feedback.
All reactions