Closed tbonfort closed 12 years ago
Author: fwarmerdam Date: 2001/11/09 - 18:24
Daniel,
I have modified the OGR DGN driver to return the LABEL definition properly
as the style string. However, the other graphical characteristics of DGN
are not returned properly for lines, areas, etc. In general the DGN style
support is very weak as bound into OGR.
Note that the LABEL definition returned by OGR for DGN does not include
any size parameter. This could be added but sizing is a bit tricky in DGN
and would be measured in ground coordinates, not points. Is this supported by
MapServers handling of style strings?
FYI, I have also changed OpenEV to read the style string and treat it as
_gv_ogrfs within OpenEV. I now get style info for mapinfo files! However,
since I don't support PEN, or BRUSH tools in OpenEV it doesn't do much good.
Author: dmorissette Date: 2001/11/09 - 18:43
I'm not sure what would happen if size is not set... you may end up with 0-size
text in MapServer (or an error relative to that)... not sure.
Note that size set in ground coordinates is supported... that's also what
MapInfo returns. The "g" unit suffix is used for that and ORG does the
conversion automagically. e.g. LABEL(t:"blah",s:223g,a:45) means a "blah"
label at 45 degrees and with a height of 223 ground units.
Author: fwarmerdam Date: 2001/11/09 - 19:18
I have modified the ogrdgnlayer.cpp to also set the text size in the LABEL.
Author: fwarmerdam Date: 2002/01/18 - 19:46
The angle is now also set for DGN text. I am closing this since DGN labels
now work pretty well.
Reporter: dmorissette Date: 2001/11/09 - 17:05