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

Richard Greenwood richard.greenwood at gmail.com
Sat Sep 18 07:42:47 EST 2010


Shape files don't have text objects, so you'd need to assign the
MapInfo text to an attribute. This can easily be done in MapInfo using
the "Update column" menu option with the objectinfo(obj,3) function.

HTH,
Rich


On Tue, Sep 14, 2010 at 11:47 AM, Jiang, David
<JJiang at p2energysolutions.com> wrote:
> 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
>
> _______________________________________________
> FWTools mailing list
> FWTools at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/fwtools
> http://fwtools.maptools.org/
>
>



-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the FWTools mailing list