[FWTools] FW: Ogr2ogr convert MIF to SHP file that contains Text object

Jiang, David JJiang at p2energysolutions.com
Tue Sep 14 12:47:12 EST 2010


The attached MIF file contains a Text object with the description of
"test\nanother\nline". 

 

Tried the following command: ogr2ogr -f "ESRI Shapefile" -where
ogr_geometry='POINT' drawing_layer_#3_point.shp drawing_layer_#3.mif

 

The result shape file contains 3 point objects but the problem is that
it doesn't keep the "test\nanother\nline" description. 

 

What's the correct syntax to convert a MIF file that contains Text
Object? 

 

Thanks very much!

 

David

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/fwtools/attachments/20100914/6d639402/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Drawing_Layer_#3.MID
Type: audio/mid
Size: 91 bytes
Desc: Drawing_Layer_#3.MID
Url : http://lists.maptools.org/pipermail/fwtools/attachments/20100914/6d639402/attachment.bin 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Drawing_Layer_#3.MIF
Type: application/octet-stream
Size: 1875 bytes
Desc: Drawing_Layer_#3.MIF
Url : http://lists.maptools.org/pipermail/fwtools/attachments/20100914/6d639402/attachment.obj 


More information about the FWTools mailing list