-
Notifications
You must be signed in to change notification settings - Fork 69
Description
JupyterGIS version
main
Description
When we add the same layer via the UI, we reference it by path instead. We should be consistent, which requires us to have some stronger framework for when we embed vs when we reference. E.g. it's probably safe to embed drawn features, as the human interaction limits the size of the resulting data. But IMO we should not embed when we generate layers from processing operations, as processing can multiply the size of the input data. QGIS, for example, gives you the choice between a "temporary scratch" layer (with warnings) or writing to a file.
Related: https://jupyter.zulipchat.com/#narrow/channel/471314-geojupyter/topic/When.20should.20we.20embed.20data.20in.20the.20project.20file.3F.20Alternative.3F/near/572846823
Related: https://jupyter.zulipchat.com/#narrow/channel/471314-geojupyter/topic/Issues.20on.20the.20jupytergis.20notebook.20examples/near/572604564