Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for Local Files in JupyterGIS Layers #109

Open
arjxn-py opened this issue Aug 25, 2024 · 0 comments
Open

Support for Local Files in JupyterGIS Layers #109

arjxn-py opened this issue Aug 25, 2024 · 0 comments

Comments

@arjxn-py
Copy link
Contributor

Currently, JupyterGIS does not support loading local files such as images, videos & shapefiles directly from a local file path. This limitation impacts the functionality and usability of the application when working with local data sources.

Observed Behavior:

  • Images: Attempting to load a local image results in the following error:
InvalidStateError: The source image could not be decoded.
  • Videos: While no error is thrown in the console when attempting to load a local video, the video does not appear to load as expected.

Proposed Solution:

  • File Input in Create Layer Forms: Add a file input field to the "Create Layer" forms to allow users to easily select and load local files. This could include:
    • GeoJSON files
    • Image files (e.g. PNG, JPEG, GIF)
    • Video files (e.g. MP4, WEBP)
    • Shapefiles (e.g. SHP, ZIP)
  • Local File Handling: Implement or extend existing functions to properly handle and load local file paths within the application.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant