How to reach the geometry (polygon, polyline) of a dxf in python-ogr module

المشرف العام

Administrator
طاقم الإدارة
this might be a basic question, but I am rather new in ogr. I wish to collect all lines from the dxf file and create their boundary. I loaded the layers (ExecuteSQL( "SELECT DISTINCT Layer FROM entities" )); and would like to put every line in a new layer, but it seems that I cannot reach the geometry of the layers. I tried to use layers.GetFeature().GetGeometry() in a for, but it is not working.



أكثر...
 
أعلى