[Gdal-dev] OGR: how to get information about font name in style string for point features

ksa nil5-ksa at yandex.ru
Thu Sep 2 02:44:40 EDT 2004


Hi,

I'm using ogr1.2.1 on Linux Slackware 9.1. I've got some difficulties in
getting
style of point features.



I have follow MIF file:

--top of MIF file
Version 300
Charset "WindowsCyrillic"
Delimiter ","
CoordSys Earth Projection 1, 0
Columns 2
  ID Integer
  Code Char(8)
Data

Point 36.145654 54.531409
    Symbol (45,0,10,"MapInfo Weather",0,0)
--end of MIF file



So, I have follow style string (by calling OGRFeature::getStyleString()):

SYMBOL(a:0,c:#000000,s:10pt,id:"mapinfo-sym-45.ogr-sym-8").



There is no information about font name in that style string. How I can get
information about font name? MIF-file contains the information about font
name ("MapInfo Weather").



How I can get information about font name?



Thanks!



Sergey A. Karin



P.S. Sorry for my english.





More information about the Gdal-dev mailing list