[Qgis-user] MapInfo tab files?

Nathan Woodrow madmanwoo at gmail.com
Thu Feb 9 02:12:08 PST 2012


Zoltan,

In MapInfo tab file the style is stored for each map element in the tab
> file. QGIS follows the Shape file logic where no style information is
> stored besides the geometry and atrributes.


This is not a issue as QGIS is using OGR as a layer between the file and
QGIS showing it.  Too QGIS a shapefile and a MapInfo tab file look the
same.  We can get the style information for the feature and if it's not
there then we ignore it.

If we wanted to do it we would,


   1. Open the layer
   2. Get the style information for each feature by looping over them one
   by one.
   3. Create a QGIS style
   4. Display the layer with the style applied.

Like I said it can be done, just hasn't been yet.

- Nathan

2012/2/9 Siki Zoltan <siki at agt.bme.hu>

> Dear Mats,
>
> it is not only a driver support question. In MapInfo tab file the style is
> stored for each map element in the tab file. QGIS follows the Shape file
> logic where no style information is stored besides the geometry and
> atrributes. The only chance to have different styles for the elements in
> QGIS is to create a thematic map.
> AFAIK it is not possible to fill the gap between these two different
> schema upgrading a driver, the QGIS should be redesigned.
>
> Regards,
> Zoltan
>
>
> On Thu, 9 Feb 2012, Mats Elfström wrote:
>
>  Hi!
>> On the MapInfo list, someone wanted to know why map styles in a MapInfo
>> tab
>> file does not show in Qgis.
>> The answer was that the Qgis reader does not support it.
>> This is a pity since one of the tab file advantages is the ability to
>> store
>> map styles.
>> I would like to know if this is a deliberate decision by the Qgis
>> developer, or if the libraries that Qgis uses are the problem.
>>
>> Regards, Mats.E
>> --
>> ______________________________**________________
>> Mats Elfström, Väpplingvägen 21, SE-227 38 LUND, Sweden
>> tel: +46 46 145959 / mob: +46 70 595 39 35
>> alt e-mail: mats.elfstrom at telia.com
>>
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20120209/330126bf/attachment.html>


More information about the Qgis-user mailing list