<div dir="ltr"><br><div><div>Hi,</div><div><br></div><div>I'm writing  a shp to dxf converter and I have a problem with the points.</div><div>The style is not applied (I only see a small point).</div><div>I have not problem with the lines and the polygons, only with the points.</div><div><br></div><div>This is a sample of my code adapted for this email.</div><div><br></div><div><div>data_source = ogr.GetDriverByName('DXF').CreateDataSource(fitxer_desti, ['HEADER=header.dxf'])<br></div><div><br></div><div>lyr = None</div><div><br></div><div>try:</div><div>    lyr = data_source.CreateLayer('entities')</div><div>except Exception:</div><div>    raise FitxerException('Can not open')</div><div><br></div><div><br></div><div>dst_feat = ogr.Feature(feature_def=lyr.GetLayerDefn())</div><div><br></div><div>style = 'SYMBOL(id:ogr-sym-3,c:#FF0000,s:50px)'</div><div><br></div><div>dst_feat.SetStyleString(style)</div><div>dst_feat.SetGeometryDirectly(geom)</div><div>dst_feat.SetField('Layer', 'points_sample')</div><div>lyr.CreateFeature(dst_feat)</div></div></div><div><br></div><div><br></div><div>Thanks</div></div>