Closed fzadrazil closed 1 year ago
I am probably the only one, but I don't know from where exactly we upload a new layer to Layman. Is it when creating a new drawing layer?
Nope, it is in Datasources panel, File tab. When you select SHP or GeoJSON, there is "Save to database" flag, which means "publish it to Layman". I think @FilipLeitner has implemented that.
Oh yes, that's right!
It is always added as WFS.
I think SHP is added as WMS while other sources such as GeoJSON result in WFS layer.
Well, the main issue is that WFS is added without styling. So when I add a GeoJSON with SLD, it gets added as WFS, but with default styling. But that is different issue.
I think SHP is added as WMS while other sources such as GeoJSON result in WFS layer.
Yes, I tried and you are right.
Proposed UI mock-up of this feature
For shapefile, the WMS option will be pre-selected. For other vector files, the WFS option will be pre-selected. Keeping the status quo. Any comments @fzadrazil or anyone?
Looks good to me!
jmacura @.***> (šajā datumā: piektd., 2022. g. 4. nov. 14:30) rakstīja:
Proposed UI mock-up of this feature [image: image] https://user-images.githubusercontent.com/5598693/199972762-871c1330-6980-4400-85db-523b0ae9348d.png
For shapefile, the WMS option will be pre-selected. For other vector files, the WFS option will be pre-selected. Keeping the status quo. Any comments @fzadrazil https://github.com/fzadrazil or anyone?
— Reply to this email directly, view it on GitHub https://github.com/hslayers/hslayers-ng/issues/3440#issuecomment-1303432991, or unsubscribe https://github.com/notifications/unsubscribe-auth/ALDII2Z4DPM3G2X2ESPKG2TWGT6XBANCNFSM6AAAAAARCRP2LM . You are receiving this because you commented.Message ID: @.***>
For shapefile, the WMS option will be pre-selected. For other vector files, the WFS option will be pre-selected. Keeping the status quo. Any comments @fzadrazil or anyone?
Agreed. And the proposed GUI looks fine.
Feature Request
Is your feature request related to a problem? Please describe. When I want to upload a new layer to Layman, it gets automatically added to the current map, but without a change to select, whether it will be added as WMS or WFS. It is always added as WFS.
Describe the solution you'd like Add a WMS/WFS selector to the layer upload form in the same manner as if I add existing layer to the map.