3dgeo-heidelberg / pytreedb

Python package providing a file and object-based database to store tree objects.
Other
28 stars 4 forks source link

Permalink #30

Closed lwiniwar closed 2 years ago

lwiniwar commented 2 years ago

In GitLab by @bhoefle-3dgeo on Dec 10, 2021, 15:59

Enable to share permalink to a certain query and also single tree via id. This enables to share pytreedb queries and data.

lwiniwar commented 2 years ago

In GitLab by @bhoefle-3dgeo on Feb 18, 2022, 11:10

@annachiu7 have you already implemented permalinks?

lwiniwar commented 2 years ago

In GitLab by @annachiu7 on Feb 18, 2022, 15:03

No, I haven't yet, because it involves working on the backend/server side. However I do have a question: upon clicking the permalink, do you expect the website of pytreedb to be loaded with corresponding query and results, or directly the json output?

lwiniwar commented 2 years ago

In GitLab by @bhoefle-3dgeo on Feb 18, 2022, 17:42

Yes, I was not clear enough. It should be a permalink to the query and not the result. The result can be stored as a file anyways. I think it would be interesting to re-check the database when new data is imported. The same is valid for e.g. permalinks to maps (extent, zoom level etc.). There also only the parameters for the map call are stored and not the map itself.