KML Layers
2 methods:
- Live feed
- File upload
Cache feeds so that if Internet goes down they remain available.
Styling/Features example:
Need to handle network links
Need to unzip KMZ files
- Intercept the uploaded file before just saving to the DB: http://groups.google.com/group/web2py/browse_thread/thread/63809c06cac3b0d5
Need to catch a folder full of Network Links inside the Network Link!
We wish to display internal Features using KML feeds too (to avoid extra work).
- OpenLayers.Layer.Vector with Protocol.HTTP and Strategy.Fixed
- Control URL parameters from jQuery controls: http://fuzzytolerance.info/code/using-geoserver-openlayers-and-cql-filters/
- Popup content advanced options: http://www.mail-archive.com/users@openlayers.org/msg11117.html
- Different content for Hover (e.g. Title) & Click (full HTML)
- Load dynamically via AJAX
OpenLayers doesn't yet support GroundOverlay & ScreenOverlay:
- http://trac.openlayers.org/ticket/1567
- Example of Parsing the KML, extracting the GroundOverlay to display as Image Layer
NB This is separate to the KML Import/Export
CSV to KML Converter
- http://code.google.com/apis/kml/articles/csvtokml.html
- Useful to extend to handle images (multiple images => Tabs)
Last modified
14 years ago
Last modified on 06/28/10 12:57:08
Note:
See TracWiki
for help on using the wiki.