-
Notifications
You must be signed in to change notification settings - Fork 51
Create and edit vector layers #692
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
base: main
Are you sure you want to change the base?
Create and edit vector layers #692
Conversation
340db85
to
916653b
Compare
Yess! This feature is very in-demand :) 👏 |
916653b
to
d28d98c
Compare
Thanks for having added the link to the related issue @mfisher87 . The first version will probably be a simple one not including all the features mentioned in the issue. |
Integration tests report: appsharing.space |
e0b14ec
to
da4628c
Compare
If you don't mind, I turn this PR in draft for now (it helps me knowing if the PR requires a review) |
29935fa
to
0a1d7c7
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I made some suggestions
20d5375
to
7c0dbda
Compare
…y to not have a path provided and to enable the creation of an empty layer with geoJSON source with embedded data.
…plus toolbar button and using the already existing dialog and form. Modify the logics to enable situations where no path is provided in the dialog. Remove the command addNewDrawVectorLayer and the toolbar button. Remove method createEmptyVectorLayerWithGeoJSONSource from JupyterGISModel class and IJupyterGISModel interface. Update _handleDrawGeometryTypeChange method from the MainView class. Add a condition if GeoJSONSourcePropertiesForm for the case where there is no path.
…remove the condition for no path case that was wrongly in the onFormSubmit method of the parent class PathBasedSourceProperties. Update _handleDrawGeometryTypeChange in MainView class.
…JSONSourcePropertiesForm.
for more information, see https://pre-commit.ci
Co-authored-by: martinRenou <martin.renou@gmail.com>
In leftPanel,use notifyCommandChanged for all commands. Fix bug regarding the overlay display when a draw vector layer is removed. Enable the toggleDrawFeature command only when the layer is a draw vector layer one.
193108d
to
0fc0f9f
Compare
Add Select interaction. Set activity of the different interactions properly.
0fc0f9f
to
ce17370
Compare
for more information, see https://pre-commit.ci
Co-authored-by: martinRenou <martin.renou@gmail.com>
b47a58c
to
03dfcda
Compare
…ent calling editVectorLayer on irrelevant layers.
03dfcda
to
65e400e
Compare
Thanks! @mfisher87 would you have time to have a look? How about we tackle the |
That sounds good to me! |
Started reviewing today but ran out of time, too many meetings and stuff :X I'm off the rest of the week but will definitely have time to look closer Monday. |
Addresses some of #395 ; resolves #775
Create and edit vector layers
Screencast.From.2025-06-09.11-49-15.mp4
+
button of the toolbar, then selectingadd new vector layer
andnew geoJSON Layer
leading to the opening of the dedicated Dialog.Changes have been done to enable situations where no path is provided
Point
,LineString
andPolygon
📚 Documentation preview: https://jupytergis--692.org.readthedocs.build/en/692/
💡 JupyterLite preview: https://jupytergis--692.org.readthedocs.build/en/692/lite