Labeling a layer - MapInfo TAB via OGR

Julian Parker julian at MAPSOLUTIONS.COM.AU
Thu May 25 19:30:21 PDT 2006


Greetings all,

 

This seemed like it would be a simple problem but I have not been able
to figure out how to get it working. I am trying to label a layer that
is referencing a MapInfo TAB file but the labels wont show up and I have
not been able to track down any info on what I am doing wrong (or I am
REALLY missing something!) Below is a snippet of my MAP file:

 

  LAYER

    NAME "Suburbs"

    STATUS ON

    CONNECTIONTYPE OGR

    CONNECTION "suburbs_bdry.TAB"

    TYPE LINE

    STYLEITEM "AUTO"

    UNITS METERS

    SIZEUNITS PIXELS

    TOLERANCE 0

    TOLERANCEUNITS PIXELS

    LABELCACHE on

    LABELITEM "SUBURB"

    METADATA

    END

    CLASS

            NAME "Suburbs"

            LABEL

                        COLOR 0 0 0

                        SIZE 20

            END

    END

    CLASS

    END

  END

 

I can get labelling working if I convert the TAB to SHP and not use OGR
but this is not a workable solution for this particular project.

 

Thanks in advance for your help.

 

Regards

Julian Parker
Systems Analyst

Digital Mapping Solutions
Level 2, 2 Hardy Street
SOUTH PERTH WA 6151
Ph: 08 9474 6311 Fax: 08 9474 6411
Mobile: 0438 844 079
www.mapsolutions.com.au <http://www.mapsolutions.com.au/>  

 

MapInfo Training
<http://www.mapsolutions.com.au/services/training/index.html> |
IntraMaps <http://www.mapsolutions.com.au/products/intramaps/index.html>
| InterMaps
<http://www.mapsolutions.com.au/products/intermaps/index.html>  |
MobileMap <http://www.mapsolutions.com.au/products/mobilemap/index.html>
| News <http://www.mapsolutions.com.au/news/index.html> 

 

 

Disclaimer

This email and any files transmitted with it are intended solely for the
use of the individual or entity to whom they are addressed.

Although every effort has been made to ensure the correctness and
integrity of attachments that may be included in this email, this can
only apply to the unaltered/uncorrupted form. A copy of the original
attachment is available from our office should you require it. 

Alternately, if further verification is required please request a hard
copy version.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060526/f1ea1bf4/attachment.htm>


More information about the MapServer-users mailing list