[Mapserver-users] Re: mapinfo-symbols

Murat Isik muratisik at megatek.com.tr
Wed Dec 17 11:07:56 EST 2003


Actually I have never worked with tab files before but they are commonly
used around so I am sure either the maillist archieves or an expert on the
list might help.

Have a nice day.

----- Original Message -----
From: "Ballini Yvain" <Ballini.Yvain at seat.it>
To: "Murat Isik" <muratisik at megatek.com.tr>
Sent: Wednesday, December 17, 2003 5:56 PM
Subject: mapinfo-symbols


>
>
>
> Hi Murak,
> I've seen that you'are using point shape fie and would like to ask you
> something about the symbol you're using.
> I would like to read the arrows of a .tab file in mapserver: the pb is
> that I can't read the position but not the orientation of the arrow
> which is contained in the "Style" line of the .tab (see under).
> when I try to read my file arrow.tab with ogrinfo it turns me these
> properties for the arrow layer:
>
> Layer name: arrow
> Geometry: Point
> Feature Count: 267349
> Extent: (6.682870, 36.681040) - (18.495850, 46.895265) Layer SRS WKT:
> GEOGCS["unnamed",
>     DATUM["WGS_1984",
>         SPHEROID["WGS 84",6378137,298.257223563],
>         TOWGS84[0,0,0,0,0,0,0]],
>     PRIMEM["Greenwich",0],
>     UNIT["degree",0.0174532925199433]]
> LABEL: String (70.0)
> OGRFeature(arrow):1
>   LABEL (String) =
>   Style = SYMBOL(a:322,c:#4144ae,s:13pt,id:"mapinfo-sym-111.ogr-sym-1")
>   POINT (8.85458500 45.96559000)
>
> OGRFeature(arrow):2
>   LABEL (String) =
>   Style = SYMBOL(a:322,c:#4144ae,s:13pt,id:"mapinfo-sym-111.ogr-sym-1")
>   POINT (8.85458500 45.96559000)
> ........
>
> I define my arrow layer like that:
> LAYER
>   NAME freccie_navtech
>   PROJECTION
>   "proj=longlat"
>   "ellps=intl"
>   "no_defs"
>   END
>   STATUS OFF
>   DATA arrow#chiave_in_piazzale_segesta#arrow#vie3_polyline
>   CONNECTIONTYPE OGR
>   CONNECTION
> "c:\mapserver\itasca\data\arrow.tab"#chiave_in_piazzale_segesta.tab"#arr
> ow.tab"
>   STYLEITEM "AUTO"
>   TYPE point
>    CLASS
>     #STYLE
>     #  SYMBOL arrow
>     #  size 20
>       COLOR 88 88 245
>       #ANTIALIAS TRUE
>     #END
>   END
> END
>
> I think I can't recognize the id mapinfo-sym-111 which represents the
> arrow...but the position of the default point symbol is right on the
> map.
> Do you know something about this problem?
> Thanks a lot.
> Yvain.




More information about the mapserver-users mailing list