[OpenLayers-Users] KML/GML from text file?
Arnd Wippermann
arnd.wippermann at web.de
Fri Apr 25 10:59:14 EDT 2008
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: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Burgholzer,Robert
Gesendet: Freitag, 25. April 2008 14:36
An: users at openlayers.org
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 rwburgholzer at deq.virginia.gov
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/
-----Original Message-----
From: arnd.wippermann at web.de [mailto:arnd.wippermann at web.de]
Sent: Thursday, April 24, 2008 3:43 PM
To: Burgholzer,Robert
Cc: users at openlayers.org
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: users-bounces at openlayers.org [mailto:users-bounces at openlayers.org] Im
Auftrag von Burgholzer,Robert
Gesendet: Donnerstag, 24. April 2008 19:31
An: users at openlayers.org
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
rwburgholzer at deq.virginia.gov
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/
_______________________________________________
Users mailing list
Users at openlayers.org
http://openlayers.org/mailman/listinfo/users
More information about the Users
mailing list