classifying with an external datasource

Holger Flörke floerke at DOCTRONIC.DE
Fri Feb 25 04:46:29 PST 2005


Hi Richard,

I did not find any way to add dynamically values to shapes from a
shapefile. Setting those values with php/mapscript does not work and
modifying the classindex attribute does not work. I ended with producing
dynamically a new dbf file (caution the order of the rows in the dbf has to
be exact the order of the shapes in the shapefile) and wrote a
php/mapscript extension where I can tell mapserver to use the new dbf file
instead of the shape-dbf file.

HolgeR

Richard Jansen schrieb:

> Hi List,
>
> I want to classify and color a poly shape. The values for classifying are
> stored in a SQL Server database. When I read the List I understand that
> this is not possible. I'm trying to join a template dbf file with the
> needed values. I also tried to add new field to the dbf, that's not simple.
> I'm using PHP/Mapscript. Is there a way to do this?
>
> Thanks for your comments,
> Richard Jansen
>

--
holger floerke                      d  o  c  t  r  o  n  i  c
email floerke at doctronic.de          information publishing + retrieval
phone +49 2222 9292 90              http://www.doctronic.de



More information about the MapServer-users mailing list