No subject


Fri Feb 8 15:06:04 EST 2008


- polygon fill color (mapinfo_brush_foreground)
- outlinecolor/line color (mapinfo_pen_color)
- line size (mapinfo_pen_width)
- symbol size (mapinfo_symbol_size)
- label size (mapinfo_text_height)
- label angle (mapinfo_rotation)
- label string (mapinfo_text_string)
- symbol for points (mapinfo_symbol_shape)*
- symbol for lines (mapinfo_pen_pattern)*
- Symbol for polygon fills (mapinfo_brush_pattern)*

* here you have to define corresponding MapServer symbols, the using a
Lookup (ValueMapper) in FME to assign the new values

Mit freundlichem Gruss / Best Regards
Flavio Hendry

----------------------------------------------------------------
TYDAC Web-Site:  http://www.tydac.ch
TYDAC MapServer: http://www.mapserver.ch
----------------------------------------------------------------
############      Mit freundlichen Gruessen / Kind Regards
############             mailto:flavio at tydac.ch
############         TYDAC AG - http://www.tydac.ch
####    ####        Geographic Information Solutions
####    ####         Luternauweg 12 -- CH-3006 Bern
############   Tel +41 (0)31 368 0180 - Fax +41 (0)31 368 1860
----------------------------------------------------------------


-----Original Message-----
From: "Delfos, Jacob" <Jacob.Delfos at MAUNSELL.COM>
To: MAPSERVER-USERS at LISTS.UMN.EDU
Date: Thu, 11 Oct 2007 07:59:11 +0800
Subject: Re: [UMN_MAPSERVER-USERS] Can I export MapInfo "styleitem" info
to PostGIS?

> Daniel,Flavio,
> 
> Thanks for your replies. At least I know I won't have to bother
> pursuing
> that if it doesn't work.
> I may look into carrying color across. I tried using FME to get style
> across, but I probably did it wrong, because it came out empty.
> 
> I'll look into whether I can write a script to assign colors
> automatically based on an attribute.
> 
> Thanks,
> 
> Jacob
> 
>  
> 
> > -----Original Message-----
> > From: UMN MapServer Users List 
> > [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Daniel
> Morissette
> > Sent: 10 October 2007 21:08
> > To: MAPSERVER-USERS at LISTS.UMN.EDU
> > Subject: Re: [UMN_MAPSERVER-USERS] Can I export MapInfo 
> > "styleitem" info to PostGIS?
> > 
> > Flavio Hendry wrote:
> > > Hi Jacob
> > > 
> > > I do not think that you could do that as the moment. FME 
> > (www.safe.com)
> > > would bring the styles along to PostGIS. However there is no way
> to
> > > define any other STYLEITEM as "auto" at the moment. 
> > 
> > That's correct. The original plan was to eventually support binding
> > STYLEITEM to any attribute which would contain a style string in
> the 
> > format that OGR produces/understands, but we never got to 
> > that and only 
> > STYLEITEM AUTO has been implemented.
> > 
> > > "auto" is more or
> > > less limited to colors as far as I know. 
> > 
> > AUTO also supports mapping symbols, fonts and about anything 
> > you find in 
> > MapInfo symbology. You need to have the right entries in your
> fontset 
> > and symbolset for the mapping to work. This should be covered 
> > by the OGR 
> > HowTo.
> > 
> > 
> > > Ideal would be something like
> > > COLORITEM pointing to a column containing RGB color info ...
> > > 
> > 
> > This is possible with v5.0, you'd use:
> > 
> >     COLOR [mycolor]
> > 
> > Where "mycolor" is the attribute name from the data source. 
> > Color can be 
> > given as a hex value (e.g. #FFFFFF) or an RGB triplet (e.g. 
> > 255 255 255).
> > 
> > The following properties can accept bindings in 5.0:
> > 
> > * Style: angle, color, outlinecolor, size, symbol
> > * Label: angle, color, outlinecolor, size, font, priority
> > 
> > That is the reason why LABELITEM, ANGLEITEM, etc were dropped in
> 5.0. 
> > e.g. LABELITEM was replaced by "LABEL [mylabelitem]", etc.
> > 
> > Daniel
> > -- 
> > Daniel Morissette
> > http://www.mapgears.com/
> > 
> 
> This email and any attachments are intended solely for the named
> recipient and are confidential. The copying or distribution of them
> or any information they contain by anyone other than the named
> recipient is prohibited. If you have received this document in error,
> please notify the sender and delete all copies from your computer
> system and destroy all hard copies. It is the recipient's
> responsibility to check this email and any attachments to this email
> for viruses before use.



More information about the mapserver-users mailing list