Changes between Version 25 and Version 26 of HaitiGISToDo


Ignore:
Timestamp:
01/18/10 03:05:42 (12 years ago)
Author:
Fran Boon
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • HaitiGISToDo

    v25 v26  
    33== Haiti GIS ==
    44
    5 bitnerd & flavour coordinating
     5bitner, flavour & tcarobruce coordinating in #sahanagis
    66
     7=== Map-based Lat/Lon Data entry ===
    78 * Provide a function to allow selecting a location on a map to populate Lat/Lon fields
    89
     10=== Admin UI ===
    911 * Provide admin UI for feature_to_feature_group, feature_class_to_feature_group, etc
    1012  * {{{controllers/gis.py}}} & {{{views/gis/...}}}
     
    1618  * We want nice User interface for these & menus (menus for GIS need some wider cleanup work anyway)
    1719
     20=== Feeds ===
    1821 * Provide UI to access feeds:
    1922  * KML feeds:
     
    2124   * http://haiti.sahanafoundation.org/prod/gis/location.kml?feature_class=Hospital
    2225   * http://haiti.sahanafoundation.org/prod/or/organisation/4/office.kml
     26    * Provide an easy way to select the Org by name
    2327   * http://haiti.sahanafoundation.org/prod/or/office.kml
    2428  * GeoRSS feeds:
     
    4549   * bounds information - e.g. lat/long min/max to go in the metadata. this improves display of GPX when opened in the like of GE and other apps. not required, but does improve display
    4650
     51  * Import
     52   * GPX
     53    * Bulk Uploader needs finishing
     54   * GeoRSS
     55   * KML
     56
     57=== UI ===
    4758  * Separate out the Internal Features from External Features in !LayerSwitcher ([http://geoext.org/tutorials/layertree-tutorial.html#filtering GeoExt] skills)
    4859   * {{{views/gis/map_viewing_client.html}}} +68
    4960
    50   * Popups for KML/GeoRSS overlays (works in Chrome & IE8, but not FF)
    51    * {{{views/gis/ol_layers_georss.js}}}
    52    * {{{views/gis/ol_layers_kml.js}}}
    53    * {{{views/gis/ol_controls_features.js}}}
    54    * {{{views/gis/ol_layers_feature.js}}}
    55    * {{{views/gis/ol_layers_features.js}}}
    56    * {{{views/gis/ol_layers_features_all.js}}}
    57    * {{{views/gis/toolbar.js}}}
    58 {{{
    59 <crschmidt> so two selectfeature controls don't work
    60 <crschmidt> they work in safari because safari fails at SVG
    61 <crschmidt> so you need to fix your code
    62 <crschmidt> specifically, what you should do is:
    63 <crschmidt>  1. Change from "OnFeatureSelect" on the control to registereing for the "Featureselected" Event on the layer
    64 <crschmidt> (The API is a bit different; featureselected event functions get an 'evt' object that has a .feature property you can access)
    65 <crschmidt>  2. Create a single SelectFeature control with multiple layers: new OpenLayers.Control.SelectFeature([layer1, layer2]);
    66 <flavour> We already do 2. within KML/GeoRSS/Internal Features, so what we need is a single one for all 3 types: good copy
    67 <flavour> I'd seen 1. in some examples
    68 <crschmidt> yeah
    69 <crschmidt> it's the more recent style
    70 <crschmidt> the 'onfeatureselect' stuff is old and busted because it wasn't well thought out
    71 <crschmidt> http://hypercube.telascience.org/haiti/uav.html
    72 <crschmidt> there's a reasonably concise example there
    73 <crschmidt> as well as http://docs.openlayers.org/library/overlays.html#interaction
    74 }}}
    75 
    7661  * [http://dev.openlayers.org/releases/OpenLayers-2.8/doc/apidocs/files/OpenLayers/Layer/XYZ-js.html XYZ Layers]
     62   * Generated JS seems OK, but layers aren't visible
    7763
    7864  * Unzip KMZ layers
    7965
    80   * WMS Caps Browser
     66  * WMS Capabilities Browser
     67   * http://dev.geoext.org/trunk/geoext/examples/wms-capabilities.html
    8168
    8269  * Image layers
    83 
    84   * KML Import
    85   * GeoRSS Import
    8670
    8771=== Load GIS data ===
     
    9276     * [https://www.geoint-online.net/community/haitiearthquake/Geospatial%20Data%20Files/haiti_sections_01132010.zip Sections]
    9377     * Shapefile to WKT (for calculations): {{{ogr2ogr -f CSV haiti_departments Haiti_departementes_edited_01132010.shp -lco GEOMETRY=AS_WKT}}} (OGR 1.6+)
     78      * Build a script to do this (very useful for future responses as this is a common process)
     79       * can run the script from a Controller so that you can access Models
     80       * provide UI afterwards
    9481     * WMS for display on Map (large Vectors will slow browsers to a crawl): http://haiti.opensgi.net/geoserver/ows?service=wms&version=1.1.1&request=GetCapabilities
    9582    * Populations