Friday 18 January 2019

Does QGIS Recognize Annotation Feature Classes from File Geodatabase?


My work has recently set up QGIS to access an Esri file geodatabase on a shared drive for my co-workers.



I have not used QGIS much, but I have encountered an issue where the annotation feature classes are displayed as a polygon instead of text. The geometry type of all the annotations are shown as 'MultiPolygon' when a vector layer from the geodatabase is added to QGIS. When the annotations are added to ArcMap, they appear as they are meant to - as text.


Am I doing something wrong?


annotations_bad



Answer



It's not really a QGIS limitation.


If you are loading the FileGDB into QGIS, it in turn is using GDAL, which in turn is using ESRI's FileGDB API which does not support Annotation Feature Classes amongst other things.


You could ask ESRI to expand the functionality of their API... Or consider seeing what the feasibility of hiring a developer (or if you got the skills, attempt it yourself) to implement that into the OpenFileGDB driver for GDAL.


Often when loading the Annotation Feature Class into QGIS, it can make use of the attributes for labelling (font type, size - in metres or points, rotation, etc...) and you can just adjust the styling of the polygons to no fill and outline.


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...