Hi Devs,Users, Users report that in the 'Open Vector' dialog some items were shown twice (geojson[0] and esri shape[1]).
I had a look into it for the geojson [2] and the issue is that we show the dropdown with 'formats' based on the Drivers that GDAL is giving us. In the case of geojson there is also geosjonseq: a way to 'stream' features as json, and then in a couple of subvariants. I added those in the dropdowns for 'files' and 'protocols'. But voices say that this is actually cluttering the user interface. So before trying to fix the esri one too (which is double because there is also a ESRIjson) I was wondering what others think of adding all these possibilities. As an example: we could add a 'ESRI json' item in the file-open dropdown, with filter esrijson and json? But should we also add an esrijson protocol option? GDAL/OGR will actually pick the right driver anyway: opening [3] as geojson will happily show the esrijson as features... Personally I'm ok with adding all the options, as I think they also show the possible flavours or file extensions possible. What do you think? Regards, Richard Duivenvoorde [0] https://issues.qgis.org/issues/21160 [1] https://issues.qgis.org/issues/20127 [2] https://github.com/qgis/QGIS/pull/9138 [3] https://services.arcgis.com/rOo16HdIMeOBI4Mb/arcgis/rest/services/Heritage_Trees_Portland/FeatureServer/0/query?f=json&objectIds=1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100&inSR=3857&outSR=3857&returnGeometry=true&outFields=FID,GEODB_OID,OBJECTID,TREEID,STATUS,SCIENTIFIC,COMMON_NAM,STATEID,ADDRESS,HEIGHT,SPREAD,CIRCUMFERE,DIAMETER,YEAR,OWNER,NOTES&returnM=false&returnZ=false _______________________________________________ QGIS-Developer mailing list QGIS-Developer@lists.osgeo.org List info: https://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-developer