Re: [Geoserver-users] SLD files

2011-10-31 Thread Andy Berry
Pen #00 1 -Original Message- From: Milo van der Linden [mailto:m...@dogodigi.net] Sent: 30 October 2011 10:43 To: Andrea Aime Cc: Andy Berry; geoserver-users@lists.so

Re: [Geoserver-users] SLD files

2011-10-30 Thread Milo van der Linden
The MapInfo color coding scheme is documented here: http://georezo.net/jparis/MI_Enviro/Colors/color_models.htm#6-1%20R,G,B%20%3C%3E%20RGB RGB = (65536 * R) + (256 * G) + B With this formula, you should be able to get the R, G and B and transform them to hex. 2011/10/30 Andrea Aime : > On Fr

Re: [Geoserver-users] SLD files

2011-10-30 Thread Andrea Aime
On Fri, Oct 28, 2011 at 2:12 PM, Andy Berry wrote: > I am trying to display lines with specific attributes contained in a  field > > The field (from Mapinfo) contains for example Pen(4, 2, 16711935) > > I will need to convert the 3rd number to a hex colour and the first to the > line thickness > >

[Geoserver-users] SLD files

2011-10-28 Thread Andy Berry
I am trying to display lines with specific attributes contained in a field The field (from Mapinfo) contains for example Pen(4, 2, 16711935) I will need to convert the 3rd number to a hex colour and the first to the line thickness So far I have