[mapserver-users] Color values from attribute using OracleSpatial

Forián-Szabó Márton mforiansz at gmail.com
Sat Dec 17 15:45:04 EST 2011


Hi,
my problem when using attributes for color values with OracleSpatial:
RGB color values are defined as a string like '0 128 211' in a column named
'RGBCOLOR'.
The map file looks like
  ...
 STYLE
       COLOR [RGBCOLOR]
  ...
Trying this with Shape+dbf files the coloring of the shapes works properly,
but when the data is in OracleSpatial and I reference to the 'RGBCOLOR'
column in the same way I receive:
OracleSpatial error. Error: ORA-00904: "RGBCOLOR": invalid identifier

Thanks for any suggestions!

Márton Forián-Szabó
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111217/2414d20b/attachment.html


More information about the mapserver-users mailing list