[gdal-dev] Save Vector Layer in QGIS through OGR with Value Relations

Neumann, Andreas a.neumann at carto.net
Wed Apr 6 05:19:03 PDT 2016


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

  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20160406/ae3f8c9a/attachment-0001.html>


More information about the gdal-dev mailing list