[gdal-dev] unable to export Mapinfo text geom- style always symbol
prashanti seri
seri.prashanti at gmail.com
Tue Aug 2 21:19:50 PDT 2022
Thanks for the information and quick fix.
On Tue, Aug 2, 2022 at 9:56 PM Even Rouault <even.rouault at spatialys.com>
wrote:
> For reference this was also filed as
> https://github.com/OSGeo/gdal/issues/6149
>
> Implementation pull request: https://github.com/OSGeo/gdal/pull/6152
>
> Le 01/08/2022 à 07:01, prashanti seri a écrit :
> >
> > Team,
> > We are exporting a "TextPointGeometry" type feature using GDAL MapInfo
> > driver. Below is the pseudo code -
> >
> > Driver mapInfoFileDriver = Ogr.GetDriverByName("MapInfo File");
> > ...
> > Feature mapInfoFeature = CreateFeature(featureData[i].Geometry,
> > mapInfolayer, featureData[i].SpatialRef);
> >
> > mapInfoFeature.SetStyleString($"LABEL(t:\"TT\",a: 0,c:#0000ff)");
> >
> >
> > Result checked with ogrinfo, observed that style is always SYMBOL, see
> > below -
> >
> >
> > Style = SYMBOL(a:0,c:#000000,s:12pt,id:"mapinfo-sym-35,ogr-sym-10")
> >
> >
> > Are we missing anything or any limitations?
> >
> >
> > Regards,
> > Prashanti
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> --
> http://www.spatialys.com
> My software is free, but my time generally not.
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20220803/13ca1cc3/attachment.htm>
More information about the gdal-dev
mailing list