Maybe QGIS could automatically create a VRT file or temporary virtual layer in the background that automatically replaces the content of the columns that have value relation widgets with the corresponding text values?
Would this be a solution or are there more elegant ways to solve that problem? Thanks, Andreas On 2016-04-06 14:19, Neumann, Andreas wrote: > Hi, > > Our users frequently ask for Spreadsheet export (xlsx, ods). This works well > with GDAL 2.x. > > However, we have the problem with value relations. For a traditional value > relation, in the main table we use integer codes, while the textual values > are in a linked table. In QGIS this is nicely replaced with a readable text > by the widget and in the attribute table. In print composer we can use the > get_feature() and attribute() expressions to get to the text values. > > Could the OGR based export to spreadsheets be improved to optionally replace > the original integer codes with their text based values at export, for > columns where there are value relations? Would this be feasible to implement > as an option in QGIS? Would we need to change OGR for that? > > Thanks for any ideas on that issue, > > Andreas > > _______________________________________________ > Qgis-developer mailing list > [email protected] > List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________ Qgis-developer mailing list [email protected] List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
