[Mapserver-users] SHOWING MapInfo's TAB VIA OGR

Merrett, Mike mike.merrett at city.whitehorse.yk.ca
Fri May 21 13:51:19 EDT 2004


   >Subject: [Mapserver-users] SHOWING MapInfo's TAB VIA OGR 
   >From: marcelito20 at hotmail.com (Marcelo Carrillo) 
   >Date: Thu, 20 May 2004 18:44:46 -0500 
   >
 
>---------------------------------------------------------------------------
-----
   >
   >--------------Boundary-00=_MYD1G6G0000000000000
   >Content-Type: Multipart/Alternative;
   >  boundary="------------Boundary-00=_MYD1BHK0000000000000"
   >
   >
   >--------------Boundary-00=_MYD1BHK0000000000000
   >Content-Type: Text/Plain;
   >  charset="iso-8859-1"
   >Content-Transfer-Encoding: quoted-printable
   >
   >Hi MapUsers:=0D
   >=0D
   >I'm having trouble showing some MapInfo's .TAB's with mapserver via OGR,
   >here's a part of my mapfile:=0D
   >=0D
   > LAYER=0D
   >    NAME "CALLES"=0D
   >    GROUP "Ciudad"=0D
   >    STATUS ON=0D
   >    #DATA "CALLES_84_3_text"=0D
   > CONNECTIONTYPE OGR=0D
   > CONNECTION "./data/CALLES_84_3.tab"=0D
   >    TYPE ANNOTATION=0D
   > UNITS METERS=0D
   >    SIZEUNITS METERS=0D
   >    MINSCALE 1000=0D
   >    MAXSCALE 100000=0D
   >    LABELITEM Textstring=0D
   >    LABELANGLEITEM Text_angle=0D
   > LABELSIZEITEM Text_size=0D
   >    TOLERANCE 10=0D
   >    TOLERANCEUNITS PIXELS=0D
   >    CLASS=0D
   >      LABEL=0D
   >        TYPE BITMAP=0D
   >        POSITION LR=0D
   >  SIZE TINY=0D
   >        COLOR 10 155 95=0D
   >      END=0D
   >      STYLE=0D
   >        SYMBOL "CIRCLE"=0D
   >    SIZE 5=0D
   >        COLOR 255 100 51=0D
   >      END=0D
   >    END=0D
   >  END=0D
   > =0D
   >What is wrong?, could someone tell me, please?=0D
   >Thanks
   >
   
Hi:
   It could be that mapinfo tab files contain more than one type of data 
      	try chaning the type from annotation to line, polygon or point and
see if you see anything
      	(it looks like you are trying to put a circle on an annotation layer
which I think wont work
   	
   I use this map file layer and it seems to work:
   
  	layer
		name "Overall Water - Text"
		group "Overall Water"
		connection
"e:\GIS_Claims\gisdata\MapInfo\Engineering\Overall_drawings\test\Water_combi
ned.tab"
		connectiontype OGR
		metadata
			description "Overall Water - Text"
		end
		minscale 100
		MAXSCALE 3000

		status off
		type ANNOTATION
		styleitem "auto"
		class
			name "Overall Water - Text"
			keyimage "blue_a.png"
		end
	end
   	
   
   



More information about the mapserver-users mailing list