[mapserver-users] color data from MySQL DB

Berényi Attila aberenyi at burken.hu
Wed Mar 18 05:16:08 PDT 2009


Hi,

It's a single column containing color index numbers, e.g. 84. What you 
wrote is right, but I'd like to achieve something like this:
COLOR [colorindex]
or something.

Thanks anyway,

Best regards,

Attila

Venkat Rao Tammineni írta:
>
> Hi,
>
>  
>
>   What Is colorindex you mean.. that you have one colum called color 
> intedex ? is it ? if it is you can not use the same column in mapfile 
> .Because classObj has color property which you use directly.
>
>  
>
>  Like below ...
>
> Class
>
>  Name "test"
>
> Expression 'test'
>
>   color 45 45 12
>
>  
>
>  
>
>  Or if not please explain what you want exactly...
>
>  
>
> Thanks,
>
> Venkat
>
>  
>
> *From:* mapserver-users-bounces at lists.osgeo.org 
> [mailto:mapserver-users-bounces at lists.osgeo.org] *On Behalf Of 
> *Berényi Attila
> *Sent:* Wednesday, March 18, 2009 5:12 PM
> *To:* mapserver-users at lists.osgeo.org
> *Subject:* [mapserver-users] color data from MySQL DB
>
>  
>
> Dear All,
>
> Is it possible to use the colorindex attribute from a MyGIS DB (what 
> was created from a shape file using ogr2ogr) to colorize the displayed 
> items in mapserver?
>
> Thanks in advance,
>
> Attila
>

-- 
Berényi Attila / Attila Berényi
okl. térinformatikus mérnök / MSc. GIS engineer
Burken Kft. / Burken Ltd.

H-1155 Budapest, Obsitos tér 2.
Tel1: +36-1-415-0219
Tel2: +36-1-415-0220
Fax:  +36-1-410-1314
E-mail: aberenyi at burken.hu
Web: http://www.laservision.hu

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20090318/49f22a90/attachment.htm>


More information about the MapServer-users mailing list