[Mapserver-users] dynamic layer-help

Bjoern Platzen bplatzen at sosnetz.de
Tue Oct 21 03:23:17 PDT 2003


Hi Murat,

with ArcView you could do the following (tested with AV 3.1):
1. Export your data into a textfile
2. Choose Table->Add and select your Textfile
3. Choose View->Add Event Theme and select your txt-table, the X- and 
the Y-field.
4. Choose Theme->Convert to shapefile
Voila! You're done!

The other way would surely be to get phpmapscript, perlmapscript or 
pythonmapscript working on your machine. (I prefer the pythonic way...)
Then you could query your MySQL database and build dynamic layers on the 
fly. For the pytonic way, I could send you some codesnippets as a 
starting point. The php- and perl-way is documented on the 
MapServer-Homepage and you will find lots of hints in the 
mailing-list-archive.

Hope this helps,

Bjoern.


Am Dienstag, 21. Oktober 2003 11:37 schrieb Murat Isik:
> Hello,
>
> I have asked a similar question yesterday, but now I see that my
> problem is far basical than what I thought.
>
> What is the best way to create a dynamic layer? I have a city map
> with several layers and I need to create a new dynamic layer which is
> supposed to go and read coordinates from a mysql database and plot a
> point accordingly. What is the starting point for such a task? Can I
> do it in ArcView 3.x? I have searched a lot but did not understand
> much since I dont know the basics.
>
> Thanks
>
> Have a nice day
>
> Murat Isik

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




More information about the MapServer-users mailing list