PHP-Mapscript question
Ace Suares
ace at SUARES.NL
Mon Sep 20 12:47:44 PDT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Dear people,
Mapserver is a great toy. Iit's the first time I am doing GIS in a project
and after looking around for quite some while, I decided to try
mapserver.
But I've got some troubles, of course.
I am using php-mapscript (I hope this is the right list ?)
and I would like to use a basic mapfile and then add dynamic data to it.
In this instance I have a shapefile with 483 cities, but the .dbf file
only has their name and number of inhabitants. Now I'd like to add a
score to it, which I retrieve live from a mysql database. The score can
be 1-7, depending on some questionaires that citizens filled in. Goal is
to color the cities different according to their score.
I tried modifying the 'values' from the shapeObj(ects) but these are
readonly. I do *not* want to wrtie a .dbf file with the dynamic data to
disk, not do I want to use Postgress or Oracle or wait for mysql spatial
extentions.
Anyone can point me in the right direction !?
Grateful, as always,
Ace
- --
remember
jesus and tequila
- The Minutemen
Ace Suares' Internet Consultancy
mail: PObox 2599, 4800 CN Breda, The Netherlands
phone: +31 6 244 33 608 (Jan Veuger, support Netherlands)
emergency: +5999 786 23 73
voicemail & fax: +31 848 707 705
web: http://www.suares.nl email: support at suares.nl
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFBTzPgy7boE8xtIjURAsT+AJ0Tab18TyHkVaGBpC3qbKgxQYvxDgCgp+c8
NV9TdvC0UYaOiMkevcD6SNU=
=p4wt
-----END PGP SIGNATURE-----
More information about the MapServer-users
mailing list