Hi, Maybe you should have a look at the C# Mapscript tutorial:
http://www.paolocorti.net/public/wordpress/index.php/2006/07/01/mapscript-c-tutorial-programming-mapserver-in-the-asp-net-framework/ It effectively adds point features to a layer. Pablo Rodríguez Madroño División de Sistemas de Información ADASA Sistemas 93.264.06.02 600.92.65.10 -----Mensaje original----- De: UMN MapServer Users List [mailto:[EMAIL PROTECTED] En nombre de Benoit Myard Enviado el: jueves, 26 de abril de 2007 16:08 Para: [email protected] Asunto: Re: [UMN_MAPSERVER-USERS] How do I dynamically add features to a Layer Yes, you have to use MapScript for that matter (theoretically you could avoid MapScript but it depends much on your actual needs). Although I can't speak for other MapScript flavors, Perl lacks documentation and examples, hence you should avoid it in my opinion. PHP seems to be the most widely used and extensively documented MapScript flavor so you should start by reading its documentation [1] and examples [2]. I'm doing a similar task at the moment and as far as I can tell, you can't add data to an existing set of data. For example, I've tried to add a city to a layer of cities but whenever I added it, all other cities disappeared. Good luck. [1] http://mapserver.gis.umn.edu/docs/reference/phpmapscript-class/referencemanual-all-pages [2] located in mapserver-4.10.0/mapscript/php/examples -- Benoit Myard
