Hi Robert, I meant, you can paste your own KML (points only) into the Input textarea to fill the select-element. In the toolbar click on the cogwheel and at the bottom of the dialog you can open the textarea to do this.
The POIs are not a KML file, but a javascript array. I only offer with the Input textarea to fill the select-element from KML and with the Output textarea to generate KML from the select-element. But in other applications I use this way to create features from KML. It is easier to handle than to use a ajax-call, a proxy-script and upload a local KML file. Mit freundlichen Grüssen Arnd Wippermann http://gis.ibbeck.de/ginfo/apps/ClickPoint/clickpoint.html -----Ursprüngliche Nachricht----- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Burgholzer,Robert Gesendet: Freitag, 25. April 2008 14:36 An: [email protected] Betreff: Re: [OpenLayers-Users] KML/GML from text file? Arnd, This is a very interesting example, the application has really great response as well! However, I am having difficulty understanding where exactly the KML comes from originally, i.e., where is your source for your list of points of interest?? Thanks! Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, April 24, 2008 3:43 PM To: Burgholzer,Robert Cc: [email protected] Subject: AW: [OpenLayers-Users] KML/GML from text file? Hi, as a workaround i use a textarea, paste into it the contents of my KML and then add it to the map. Likewise i use it to parse KML to fill a <select> element for places to center. You can try it here: http://gis.ibbeck.de/ginfo/apps/ClickPoint/clickpoint.html Mit freundlichen Grüssen Arnd Wippermann http://gis.ibbeck.de/ginfo/ ________________________________ Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Im Auftrag von Burgholzer,Robert Gesendet: Donnerstag, 24. April 2008 19:31 An: [email protected] Betreff: [OpenLayers-Users] KML/GML from text file? Has anyone loaded a simple KML/GML layer from a local text file? Maybe this is trivial ... Thanks! r.b. Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users _______________________________________________ Users mailing list [email protected] http://openlayers.org/mailman/listinfo/users
