[Mapserver-users] dynamic layer-help

Bjoern Platzen bplatzen at sosnetz.de
Tue Oct 21 08:34:22 EDT 2003


Hi Murat!

Am Dienstag, 21. Oktober 2003 12:54 schrieb Murat Isik:
> Hello Bjoern,
>
> "For the pytonic way, I could send you some codesnippets as a
> starting point"
> That would be great since the ArcView method is one time and my point
> plotting coordinates change by every time map is refreshed. 

I wrote a small class for this. Let me clean it up a bit and I'll send 
you the stuff via pm. (It's full of german comments and lot's of 
things, that I needed im my special case...)

[...]
> One other way I came up with since
> my last post if to keep it simple and have the dynamic layer or
> script read coordinates from a simple text file, and also have a
> second script, an unrelated-to-mapserver one, running in cron of
> redhat 9 go and fetch data from mysql and write it in the text file.
> That would be cool too.
I'm not sure if it makes a difference to get the coordinates out of a 
textfile instead of a mysql-table. I assume, the mapserver cgi can do 
none of this. So you'll still have to install Python (or whatever) 
Mapscript and code the functionality you need, if you want to create 
dynamic layers on the fly...

Bye,

Bjoern.

-- 
small office solutions
info at sosnetz.de  -  http://www.sosnetz.de




More information about the mapserver-users mailing list