SatelliteShorelines / coastsat_package

prototype pypi package for coastsat
https://pypi.org/project/coastsat-package/
GNU General Public License v3.0
6 stars 1 forks source link

Render extracted shorelines as points instead of interpolated linestrings #3

Closed 2320sharon closed 1 year ago

2320sharon commented 1 year ago

Render extracted shorelines as points instead of interpolated linestrings

Description: Instead of utilizing Coastsat's function to interpolate the points for the extracted shorelines, the proposal is to save them directly as points within a GeoJSON file. Subsequently, these points should be rendered on the map.

Proposed Solution:

  1. Modify the extraction function to save shoreline points directly without interpolation.
  2. Save these points to a GeoJSON file.
  3. Update the map rendering function to display these points.

Alternative Solutions:

Benefits:

  1. Direct representation of extracted data without interpolation, ensuring accuracy.
  2. Potentially faster processing and rendering times as interpolation is skipped.
  3. Provides a clearer view of data density and distribution.

Drawbacks:

  1. Without interpolation, the visual representation might appear fragmented or less continuous.
  2. Some users might prefer the visual continuity provided by linestrings.

Additional Context:

2320sharon commented 1 year ago