[FWTools] DWG to Shape

Juan Jose Del Toro jdeltoro1973 at gmail.com
Tue Sep 21 09:52:38 EST 2010


Dear List;

I need to translate a  whole bunch of dwg to shp, these dwg's are in version
above 2000 so first I'll be using teigha dwg converter in order to make them
version 2000 so I can work in ogr; I'll be using this command to extract
each layer as a shape
ogr2ogr new_map_from_layer_X.shp -where "LAYER = 'X'"
shape_converted_from_DWG_lines.shp

My question is:
is there a way to get all the values stored in field layer so I can create a
script that can do the hard work for me?



-- 
¡Saludos! / Greetings!
Juan José Del Toro M.
jdeltoro1973 at gmail.com
Guadalajara, Jalisco MEXICO
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20100921/0a435e27/attachment.htm 


More information about the FWTools mailing list