Merge lp:~flavour/sahana-eden/adpc into lp:~michael-howden/sahana-eden/adpc

Proposed by Fran Boon
Status: Merged
Merged at revision: 753
Proposed branch: lp:~flavour/sahana-eden/adpc
Merge into: lp:~michael-howden/sahana-eden/adpc
Diff against target: 109 lines (+16/-14)
5 files modified
VERSION (+1/-1)
models/000_config.py (+2/-2)
models/drrpp.py (+2/-2)
models/zzz_1st_run.py (+3/-3)
modules/s3gis.py (+8/-6)
To merge this branch: bzr merge lp:~flavour/sahana-eden/adpc
Reviewer Review Type Date Requested Status
Fran Boon Pending
Review via email: mp+34333@code.launchpad.net

Description of the change

Disabled highlightControl, Clustering (I think: need data), MGRSMousePointer
I adjusted the viewport to allow seeing the whole of the Pacific easily (but this means need to scroll right to find India!)

To post a comment you must log in.
lp:~flavour/sahana-eden/adpc updated
748. By Michael <Michael@Michael-PC>

Fixes and Improvements

749. By Michael <Michael@Michael-PC>

Fixes

750. By Michael <Michael@Michael-PC>

Fixing some bugs with the List Projects
Google Analytics for live

751. By Michael <Michael@Michael-PC>

Disable Truncate for the name field to enable sorting

752. By Michael Howden <Michael Howden@Michael-Laptop>

Implemented Authorisation Policy

753. By Michael Howden <Michael Howden@Michael-Laptop>

Merged Fran's GIS Code

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
=== modified file 'VERSION'
--- VERSION 2010-08-30 19:31:47 +0000
+++ VERSION 2010-09-01 19:31:13 +0000
@@ -1,1 +1,1 @@
1r746 (2010-08-30 20:31:46)
2\ No newline at end of file1\ No newline at end of file
2r749 (2010-09-01 20:26:02)
3\ No newline at end of file3\ No newline at end of file
44
=== modified file 'models/000_config.py'
--- models/000_config.py 2010-08-27 09:42:02 +0000
+++ models/000_config.py 2010-09-01 19:31:13 +0000
@@ -10,8 +10,8 @@
10deployment_settings = s3cfg.S3Config()10deployment_settings = s3cfg.S3Config()
1111
12# Database settings12# Database settings
13#deployment_settings.database.db_type = "sqlite"13deployment_settings.database.db_type = "sqlite"
14deployment_settings.database.db_type = "mysql"14#deployment_settings.database.db_type = "mysql"
15deployment_settings.database.host = "localhost"15deployment_settings.database.host = "localhost"
16deployment_settings.database.port = "" # use default16deployment_settings.database.port = "" # use default
17#deployment_settings.database.database = "drrpp_blank"17#deployment_settings.database.database = "drrpp_blank"
1818
=== modified file 'models/drrpp.py'
--- models/drrpp.py 2010-09-01 16:28:51 +0000
+++ models/drrpp.py 2010-09-01 19:31:13 +0000
@@ -1951,8 +1951,8 @@
1951 wms_browser = {"name" : "Risk Maps", 1951 wms_browser = {"name" : "Risk Maps",
1952 "url" : "http://preview.grid.unep.ch:8080/geoserver/ows?service=WMS&request=GetCapabilities"},1952 "url" : "http://preview.grid.unep.ch:8080/geoserver/ows?service=WMS&request=GetCapabilities"},
1953 width = 866,1953 width = 866,
1954 lat = -6.5,1954 lat = 1.9,
1955 lon = 116,1955 lon = -180,
1956 zoom = 21956 zoom = 2
1957 )1957 )
19581958
19591959
=== modified file 'models/zzz_1st_run.py'
--- models/zzz_1st_run.py 2010-07-19 09:13:32 +0000
+++ models/zzz_1st_run.py 2010-09-01 19:31:13 +0000
@@ -453,9 +453,9 @@
453 # We want to start at ID 1453 # We want to start at ID 1
454 table.truncate()454 table.truncate()
455 table.insert(455 table.insert(
456 lat = "51.8",456 lat = "-5",
457 lon = "-1.3",457 lon = "-160",
458 zoom = 7,458 zoom = 2,
459 # Doesn't work on Postgres!459 # Doesn't work on Postgres!
460 projection_id = 1,460 projection_id = 1,
461 marker_id = 1,461 marker_id = 1,
462462
=== modified file 'modules/s3gis.py'
--- modules/s3gis.py 2010-08-30 19:31:47 +0000
+++ modules/s3gis.py 2010-09-01 19:31:13 +0000
@@ -437,7 +437,8 @@
437437
438 if layer == "openstreetmap":438 if layer == "openstreetmap":
439 #return ["Mapnik", "Osmarender", "Aerial"]439 #return ["Mapnik", "Osmarender", "Aerial"]
440 return ["Mapnik", "Osmarender", "Taiwan"]440 #return ["Mapnik", "Osmarender", "Taiwan"]
441 return ["Mapnik", "Osmarender"]
441 elif layer == "google":442 elif layer == "google":
442 return ["Satellite", "Maps", "Hybrid", "Terrain"]443 return ["Satellite", "Maps", "Hybrid", "Terrain"]
443 elif layer == "yahoo":444 elif layer == "yahoo":
@@ -1822,7 +1823,7 @@
1822 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(1823 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(
1823 '""" + name + """',1824 '""" + name + """',
1824 {1825 {
1825 strategies: [ """ + strategy_cluster + """ ],1826 //strategies: [ """ + strategy_cluster + """ ],
1826 styleMap: featureClusterStyleMap1827 styleMap: featureClusterStyleMap
1827 }1828 }
1828 );1829 );
@@ -1983,7 +1984,7 @@
1983 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(1984 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(
1984 '""" + name + """',1985 '""" + name + """',
1985 {1986 {
1986 strategies: [ """ + strategy_cluster + """ ],1987 //strategies: [ """ + strategy_cluster + """ ],
1987 styleMap: featureClusterStyleMap1988 styleMap: featureClusterStyleMap
1988 }1989 }
1989 );1990 );
@@ -2598,7 +2599,8 @@
2598 addLayers(map);2599 addLayers(map);
25992600
2600 map.addControl(new OpenLayers.Control.ScaleLine());2601 map.addControl(new OpenLayers.Control.ScaleLine());
2601 map.addControl(new OpenLayers.Control.MGRSMousePosition());2602 //map.addControl(new OpenLayers.Control.MGRSMousePosition());
2603 map.addControl(new OpenLayers.Control.MousePosition());
2602 map.addControl(new OpenLayers.Control.Permalink());2604 map.addControl(new OpenLayers.Control.Permalink());
2603 map.addControl(new OpenLayers.Control.OverviewMap({mapOptions: options}));2605 map.addControl(new OpenLayers.Control.OverviewMap({mapOptions: options}));
26042606
@@ -2623,9 +2625,9 @@
2623 }2625 }
2624 }2626 }
2625 );2627 );
2626 map.addControl(highlightControl);2628 //map.addControl(highlightControl);
2627 map.addControl(popupControl);2629 map.addControl(popupControl);
2628 highlightControl.activate();2630 //highlightControl.activate();
2629 popupControl.activate();2631 popupControl.activate();
26302632
2631 """ + mgrs_html + """2633 """ + mgrs_html + """

Subscribers

People subscribed via source and target branches