I'm trying to export a table from PostgreSQL to a KML file, using: ogr2ogr -a_srs epsg:4326 -f "LIBKML" C:\Temp\kml\obst.kml PG:"dbname='aaa' host='localhost' port='5434' user='postgres' password='postgres'" "obstaclepolygon1" -progress The table (Polygons) has a column: OGR_STYLE=BRUSH(fc:#AABBCCFF);PEN(c:#123456,w:10px);LABEL(c:#00CC00,f:"Arial, Helvetica",s:12pt,t:{count}) and count = integer.
The result of the STYLE in the KML file: <Style> <LabelStyle> <color>ff00cc00</color> </LabelStyle> <LineStyle> <color>ff563412</color> <width>10</width> </LineStyle> <PolyStyle> <color>ffccbbaa</color> </PolyStyle> </Style> How do I get the LabelStyle correct? Thanks, Paul
_______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev