[gdal-dev] DXF driver MTEXT objects properties.
even.rouault at spatialys.com
Tue Feb 21 06:57:46 PST 2017
On lundi 20 février 2017 23:37:21 CET Nikolai Bezdna wrote:
> I’d like to know if it’s possible to retrieve some properties for MTEXT
> objects from DXF driver: Are "Text alignment X", "Text alignment Y", "Text
> alignment Z" params being read? I guess they should go to the “dx" and “dy"
> properties of OGR_STYLE. When Justify MTEXT param goes to the “p” style
> property, it really indicates alignment relative to the anchor point, not
> the insertion point of the text. So it really makes sense when dx and dy
> are fetched from DXF. Also Style MTEXT param should go to the “f” style
> property (or any other:)…right now I can’t get an exact font used for a
> label in DXF. “f” style param defaults to Arial, but ignores the values in
If you want to improve the retrieval of style information, the function to edit is
OGRDXFLayer::TranslateMTEXT() in ogr/ogrsf_frmts/dxf/ogrdxflayer.cpp
To correlate with
Spatialys - Geospatial professional services
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the gdal-dev