Comments (6)
@offtherailz @vlt1
we need a simple mockup for this before staring the development, few buttons are needed here but I would like a mockup anyway.
from mapstore2-georchestra.
@offtherailz it seems that identify plugin works by doing WMS GetFeatureInfo request, whereas Attribute Table works through WFS. The question is how to connect two together for the purposes of editing features(in case of JSON output). I can see that WMS request contains BBOX that I'm guessing it uses to filter out the features. It looks like WFS can filter by BBOX. Can I use the BBOX from WFS request and supply it to Attribute Table filter object, then wait for the response and select the requested feature to edit from the list? Would that work? Are there other ways to do it? What do you think? Also it looks like the floating identify tool is not ready yet(there is a pending pr for it). Should it be ignored for now?
from mapstore2-georchestra.
Some clarifications
- Only the layers that can can open attribute table can have the edit link in feature info (so the search --> type: wfs entry). This means that WMS service have a corresponding WFS service layer with the same name do browse vector data
- The pending PR should be merged in 1/2 days, so you can add the button also from that entry point.
- WFS as various ways of filtering. bbox is not suggested because it is mutually esclusive with other kind of filtering (Filter/CQL_FILTER).
I suggest, when the user clicks on edit button:
- to open the attribute table
- switch to edit mode
- filtered by point clicked using the current filtering system with a geometric intersection with the point clicked
- note: I suggest to use the QUERY:UPDATE_FILTER, the same action used by quick filter entries. This quick filters should be automatically reset on exit from feature grid. I'm not sure it is supports also for geometric attributes, but we can add support to it.
This should filter the feature info (and also the map, if the map sync is enabled) with the original selection.
At the end you can close again the feature grid (and reset the filter)
It could be useful if this quick point intersection filter is somehow highlighted in the feature grid.
Here I ask to @tdipisa :
It should be great if the quick filter is used also in normal context. Please let me know
from mapstore2-georchestra.
I'm not sure it is supports also for geometric attributes, but we can add support to it.
UPDATE_FILTER works with filterFields. If I understand correctly for geometric filtering there is a spatialField prop in filter object that is handled separately.
filtered by point clicked using the current filtering system with a geometric intersection with the point clicked
Identify gets all features within a specific region(I assume it's the bbox), so just geometric intersection with the point clicked would not suffice, as the result would differ from Identify and we won't be able to select the needed feature. Maybe we could just use a polygon with bbox coordinates intersection, it seems like the results that we would get would be a superset of what Identify gets, so we could select the needed feature. Am I correct in this assumption?
Also there is a pending pr for an ability to select features by clicking on a map when in edit mode of Attribute Table. It modifies the edit mode flow and utilizes filters. The implementation provided there may be not to your satisfaction and should be changed. The point I'm making is that changes to filtering probably should be first introduced in that pr first. In any case I think it should be merged before we proceed with this one. With that being said please review it as soon as possible.
from mapstore2-georchestra.
@offtherailz I agree with you, but please consider also the implementationof #48 that has some points of contact regaring the point selection.
from mapstore2-georchestra.
@vlt1 Moving it back to ready after testing.
If I open the Attribute table from TOC with the Identify panel opened, the marker remains in the map.
from mapstore2-georchestra.
Related Issues (20)
- Dashboard's Tables not working since 2023.02.00-RC1-geOrchestra and 2023.02.00-RC2-geOrchestra deployments HOT 7
- Problem with permalink generated from an old context HOT 4
- WMTS not working with EPSG:3948 and 2154 since 2023.02.00-RC*-geOrchestra deployments HOT 1
- Problem with log4j2.properties from datadir HOT 1
- Edit button is not present by default but yes after FeatureEditor (2022.02) HOT 1
- Node.js - wich version to use ? HOT 6
- Is 2023.02.xx stable ? HOT 2
- [Context Export] Unabble to export map configuration in context manager since 2023.02.RCx HOT 3
- [Annotation] Circle radius is modified when saving the annotation HOT 3
- [Print] Ability to print image legend with an appropriate scale HOT 4
- [FeatureEditor] - EditingAllowedRoles by attribute HOT 1
- [FeatureEditor] - Prohibit geometry edition for some roles HOT 1
- [Attribute table] Edit the filter field is difficult HOT 3
- [Proposal] Mapstore-geOrchestra improved tag naming HOT 1
- Cadastrapp printing crash in 2023.02.00 release HOT 22
- no 'include overlays' option in print dialog HOT 2
- missing unsupportedBrowser.html HOT 5
- geOrchestra's header not displaying in context HOT 7
- Error on get feature info with WMTS added in the TOC HOT 4
- [Share tool] possibility to mask some tabs in the fonctionnality and change their order
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mapstore2-georchestra.