[gdal-dev] unable to write a shapefile using ogr

Jukka Rahkonen jukka.rahkonen at mmmtike.fi
Wed Sep 10 14:33:39 PDT 2014


Kyle Shannon <kyle <at> pobox.com> writes:

> 
> Style is usually dictated by the application.  You can set them in the
> app, or for some formats/drivers you can use the OGR style API:
> 
> http://gdal.org/ogr_feature_style.html
> 
> AFAIK, shapefiles do not support styles

As you said, style is dictated by application. If you create an "OGR_STYLE"
column into shapefile and populate it with OGR feature style strings some
programs can utilize them. I know that Mapserver can do it as well as GDAL
when it writes PDF files.

-Jukka Rahkonen-



More information about the gdal-dev mailing list