You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Not a near-term goal, but @rod-glover suggests that in the future we may want to allow users to save user defined areas (areas drawn or uploaded from a file) of interest.
The text was updated successfully, but these errors were encountered:
I think we want to avoid getting into anything like user identity, so the storage should be (at least partly) in the browser. Then "identity" becomes "browser", as with many other web apps. Options:
Entirely locally using the in-browser IndexedDB API. (IndexedDB is recommended over over Web Storage, which is only "useful for storing smaller amounts of data", whatever "smaller" might mean.) IndexedDb comes with a lot of nice features that would make implementing a friendly UI easier. Each feature item could and should be stored with a human-friendly identifier entered by the user (e.g., "my watershed") so it can easily be found and used again.
Partly locally and partly in Geoserver. The local part could be Web Storage or could be IndexedDB. Even for this I'd favour IndexedDB because of the DB features. In this case, I'd store locally the human-friendly identifier and some kind of key/identifier for the item in Geoserver. Geoserver would just store the feature.
A benefit of storing the feature in Geoserver is that it could easily be shared by the user: We provide a way to grab the Geoserver key (perhaps along with its human-friendly identifier) and the user can email or otherwise send it to another user. We wouldn't be responsible for anything other than making the key + identifier accessible to the user, e.g., with a "copy link" button.
Augh, I take it back about preferring IndexedDB. It appears to be more suited to large numbers of records, possibly also with large amounts of data per record. That's not our situation, and there is no point in making our app more complicated than it needs to be.
Not a near-term goal, but @rod-glover suggests that in the future we may want to allow users to save user defined areas (areas drawn or uploaded from a file) of interest.
The text was updated successfully, but these errors were encountered: