Dependencies Discussion #26
2320sharon
started this conversation in
Ideas
Replies: 2 comments 2 replies
|
I'd say use Looks like |
2 replies
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. |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
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.
All reactions