[Mapserver-users] Oraclespatial class expressions

Michael Schulz mschulz at webgis.de
Mon Mar 3 04:54:14 PST 2003


Dear List,

i want to classify a layer with data from an oracle SDO table using
logical expressions. Is that already possible? Sth. like:

--map file snipplet--
layer
  name ora_data
  connection oraclespatial
  data "shape from GEOM"
  classitem "attribute1"
  class
    name class1
    expression "[attribute1] < 10"
    color ...
  end
end
--snip--

The mapserv docs says logical expressions are only possible with
shapefiles :-( But when i look at the sql-query that is submitted to
oracle the classitem value is added to the select part, so i assumed if
it is retrieved from the db it might also be used to classify the
results?

Is there any other possibilty to classify data from oracle? Well,
besides several layers for every class.

TIA, Michael


--
-----------------------------------------------------------
Michael Schulz                                in medias res
Dipl.-Geologe                              Gesellschaft für
                                Informationstechnologie mbH
                             Sautierstr. 38, 79104 Freiburg
                                     0761 55695-95 (Fax 96)
mschulz at webgis.de                             www.webgis.de





More information about the MapServer-users mailing list