R: [Mapserver-users] Mapinfo symbols
Ballini Yvain
Ballini.Yvain at seat.it
Thu Dec 18 03:59:50 PST 2003
Hi Daniel,
I'm turning to the topic of the orientation of point symbol, do you know where I can find on the mapserver source the part which manages the symbols tuned by OGR. I would like to try to do some update on my mapsrver version to solve this problem.
Thanks a lot.
Yvain.
-----Messaggio originale-----
Da: Daniel Morissette [mailto:morissette at dmsolutions.ca]
Inviato: giovedì 18 dicembre 2003 0.43
A: Ballini Yvain
Cc: mapserver-users at lists.gis.umn.edu
Oggetto: Re: [Mapserver-users] Mapinfo symbols
Yvain,
Um, I checked the code and it seems that we ignore the angle value coming from STYLEITEM AUTO for point symbols. Could please you submit a bug with a small mapfile and arrow.tab to reproduce this? I'm not sure when we would have time to work on this, but with a testcase to reproduce it's always easier for us.
Thanks
Daniel
Ballini Yvain wrote:
> Hi list,
>
> I would like to read the arrows of a .tab file in mapserver: the pb is
> that I can 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"#a
> rr
> 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.
> Does someone know something about this problem or if there is a
> setting in the mapfile which could solve my problem?
> Thanks a lot.
> Yvain.
>
>
More information about the MapServer-users
mailing list