[gdal-dev] ogr2ogr MapInfo Tab + Styling

Dale Harris dharris at regisresources.com
Tue Sep 29 23:26:52 EDT 2009

What ogr2ogr command are you using?


Dale Harris
GIS Manager

Regis Resources
Ground Floor 
62 Colin Street
West Perth WA 6005
Direct Line (08) 9442 2207
Fax: (08) 9442 2290
Email: dharris at regisresources.com

-----Original Message-----
From: Simon Greener [mailto:simon at spatialdbadvisor.com] 
Sent: Wednesday, 30 September 2009 11:16 AM
To: Dale Harris; gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] ogr2ogr MapInfo Tab + Styling


Thanks for taking the time to respond.

> Try this symbol definition. I vaguely remember having this issue and I used this symbol to fix it.
> 'SYMBOL(a:0,c:#ff0000,s:6pt,id:"mapinfo-sym-34.ogr-sym-4")'
> so
> create or replace view vw_australian_cities
> as
> select rownum as rid,
>         a.abbr as abbreviation,
>         a.city_name,
>         a.geom.Get_WKB() as geom,
>         CAST('SYMBOL(a:0,c:#ff0000,s:6pt,id:"mapinfo-sym-34.ogr-sym-4")' as varchar2(255)) as OGR_STYLE
>    from australian_cities a;

I tried this but it didn't work. I also tried putting a comma ',' instead of a full stop '.'  between the mapinfo-sym34 and ogr-sym-4 but that didn't work either.

If you can remember more clearly what you did to get it work I would appreciate it.

SpatialDB Advice and Design, Solutions Architecture and Programming,
Oracle Database 10g Administrator Certified Associate; Oracle Database 10g SQL Certified Professional
Oracle Spatial, SQL Server, PostGIS, MySQL, ArcSDE, Manifold GIS, FME, Radius Topology and Studio Specialist.
39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia.
Website: www.spatialdbadvisor.com
   Email: simon at spatialdbadvisor.com
   Voice: +61 362 396397
Mobile: +61 418 396391
Skype: sggreener
Longitude: 147.20515 (147° 12' 18" E)
Latitude: -43.01530 (43° 00' 55" S)
GeoHash: r22em9r98wg
This message may contain privileged and confidential information. If you are not the intended recipient of this message, you are notified that any use, dissemination, distribution or reproduction of this message is strictly prohibited. If you receive this message in error, please notify Regis Resources Limited immediately. 

More information about the gdal-dev mailing list