Other information...<br><br># ogrinfo -al TB.TAB<br><br>OGRFeature(TB):1734<br>&nbsp; Rotulo (String) =<br>&nbsp; Style = LABEL(t:&quot;TIRADENTES&quot;,a:0.000000,s:0.000403g,c:#ff0000,p:1,f:&quot;Arial&quot;)<br>&nbsp; POINT (-39.302056999999998
 -7.230767)<br><br>I want the &quot;TIRADENTES&quot; string in my map, but it's a style in mapinfo file.<br><br>Best regards,<br><br>Fred<br><br><div><span class="gmail_quote">On 5/2/06, <b class="gmail_sendername">Frederico Lucca
</b> &lt;<a href="mailto:fredlucca@gmail.com">fredlucca@gmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div style="direction: ltr;">
Thanks for the help, but I think the problem is that the text i have in my mapinfo file don't have a text field to display. The feature is a text.<br>Maybe the problem is how to translate it to a shape file.<br>I already try to use:
<br><br>ogr2ogr -f &quot;ESRI Shapefile&quot; -nlt POINT shp/TB.shp TB.TAB<br>ogr2ogr -f &quot;ESRI Shapefile&quot; shp/TB.shp TB.TAB<br><br>But I have always the same problem.<br><br>Using OGR everything is ok...</div><div style="direction: ltr;">
<span class="q"><br><br>

#STYLEITEM &quot;auto&quot;<br>#CONNECTIONTYPE ogr<br>#CONNECTION &quot;/var/www/maps/TB.TAB&quot;<br><br></span></div><div style="direction: ltr;">But according to Frank, I need a thread-safe environment and OGR is not really threadsafe.
<br><br>Thanks in advance,
<br><br>Fred</div><div style="direction: ltr;"><span class="e" id="q_10af696717e7d7a6_3"><br><br>
<div><span class="gmail_quote">On 5/2/06, <b class="gmail_sendername">Siki Zoltan</b> &lt;<a href="mailto:siki@agt.bme.hu" target="_blank" onclick="return top.js.OpenExtLink(window,event,this)">siki@agt.bme.hu</a>&gt; wrote:
</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Frederico,<br><br>Tra something like this<br><br>LAYER<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;NAME &quot;sample&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;DATA &quot;path/to/your/shape&quot;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;STATUS ON<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE ANNOTATION<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABELITEM &quot;text_field_to_display&quot;
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABELMAXSCALE 8001<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SYMBOLSCALE 2000 # you need it for scaleable labels<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;CLASS<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;LABEL<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;COLOR 240 150 5<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;SIZE 7<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;POSITION CC
<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;FONT my_font&nbsp;&nbsp;&nbsp;&nbsp;# defined in your FONTSET file<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;TYPE TRUETYPE<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;ANGLE AUTO<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;END<br>END<br><br>I hope this helps you
<br><br>Zoltan<br><br>On Tue, 2 May 2006, Frederico Lucca wrote:<br><br>&gt; Hello all,<br>&gt;<br>&gt; I have a mapinfo text layer and i need to view it on the map.<br>&gt; I use ogr2ogr to convert to esri shape format and put in my mapfile but i
<br>&gt; can't see the layer.<br>&gt; I have a multi-thread environment, then i don't want to use OGR, because of<br>&gt; mutex.<br>&gt;<br>&gt; LAYER<br>&gt;&nbsp;&nbsp;NAME TB<br>&gt;&nbsp;&nbsp;TYPE annotation<br>&gt;&nbsp;&nbsp;#STYLEITEM &quot;auto&quot;
<br>&gt;&nbsp;&nbsp;#CONNECTIONTYPE ogr<br>&gt;&nbsp;&nbsp;#CONNECTION &quot;/var/www/maps/TB.TAB&quot;<br>&gt;&nbsp;&nbsp;DATA &quot;/var/www/maps/shp/TB&quot;<br>&gt;&nbsp;&nbsp;STATUS DEFAULT<br>&gt;&nbsp;&nbsp;MINSCALE 1<br>&gt;&nbsp;&nbsp;MAXSCALE 50000<br>&gt;&nbsp;&nbsp;CLASS<br>&gt;&nbsp;&nbsp; COLOR 255 0 0
<br>&gt;&nbsp;&nbsp; OUTLINECOLOR 171 158 137<br>&gt;&nbsp;&nbsp;END<br>&gt; END<br>&gt;<br>&gt; Thanks in advance.<br>&gt;<br>&gt; Fred<br>&gt;<br>&gt; --<br>&gt; &quot;Everything under the sun is in tune<br>&gt; But the sun is eclipsed by the moon&quot;
<br>&gt;<br><br></blockquote></div><br><br clear="all"><br></span></div><div style="direction: ltr;">-- </div><div style="direction: ltr;"><span class="e" id="q_10af696717e7d7a6_5"><br>&quot;Everything under the sun is in tune
<br>But the sun is eclipsed by the moon&quot;


</span></div></blockquote></div><br><br clear="all"><br>-- <br>&quot;Everything under the sun is in tune<br>But the sun is eclipsed by the moon&quot;