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
1=== modified file 'VERSION'
2--- VERSION 2010-08-30 19:31:47 +0000
3+++ VERSION 2010-09-01 19:31:13 +0000
4@@ -1,1 +1,1 @@
5-r746 (2010-08-30 20:31:46)
6\ No newline at end of file
7+r749 (2010-09-01 20:26:02)
8\ No newline at end of file
9
10=== modified file 'models/000_config.py'
11--- models/000_config.py 2010-08-27 09:42:02 +0000
12+++ models/000_config.py 2010-09-01 19:31:13 +0000
13@@ -10,8 +10,8 @@
14 deployment_settings = s3cfg.S3Config()
15
16 # Database settings
17-#deployment_settings.database.db_type = "sqlite"
18-deployment_settings.database.db_type = "mysql"
19+deployment_settings.database.db_type = "sqlite"
20+#deployment_settings.database.db_type = "mysql"
21 deployment_settings.database.host = "localhost"
22 deployment_settings.database.port = "" # use default
23 #deployment_settings.database.database = "drrpp_blank"
24
25=== modified file 'models/drrpp.py'
26--- models/drrpp.py 2010-09-01 16:28:51 +0000
27+++ models/drrpp.py 2010-09-01 19:31:13 +0000
28@@ -1951,8 +1951,8 @@
29 wms_browser = {"name" : "Risk Maps",
30 "url" : "http://preview.grid.unep.ch:8080/geoserver/ows?service=WMS&request=GetCapabilities"},
31 width = 866,
32- lat = -6.5,
33- lon = 116,
34+ lat = 1.9,
35+ lon = -180,
36 zoom = 2
37 )
38
39
40=== modified file 'models/zzz_1st_run.py'
41--- models/zzz_1st_run.py 2010-07-19 09:13:32 +0000
42+++ models/zzz_1st_run.py 2010-09-01 19:31:13 +0000
43@@ -453,9 +453,9 @@
44 # We want to start at ID 1
45 table.truncate()
46 table.insert(
47- lat = "51.8",
48- lon = "-1.3",
49- zoom = 7,
50+ lat = "-5",
51+ lon = "-160",
52+ zoom = 2,
53 # Doesn't work on Postgres!
54 projection_id = 1,
55 marker_id = 1,
56
57=== modified file 'modules/s3gis.py'
58--- modules/s3gis.py 2010-08-30 19:31:47 +0000
59+++ modules/s3gis.py 2010-09-01 19:31:13 +0000
60@@ -437,7 +437,8 @@
61
62 if layer == "openstreetmap":
63 #return ["Mapnik", "Osmarender", "Aerial"]
64- return ["Mapnik", "Osmarender", "Taiwan"]
65+ #return ["Mapnik", "Osmarender", "Taiwan"]
66+ return ["Mapnik", "Osmarender"]
67 elif layer == "google":
68 return ["Satellite", "Maps", "Hybrid", "Terrain"]
69 elif layer == "yahoo":
70@@ -1822,7 +1823,7 @@
71 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(
72 '""" + name + """',
73 {
74- strategies: [ """ + strategy_cluster + """ ],
75+ //strategies: [ """ + strategy_cluster + """ ],
76 styleMap: featureClusterStyleMap
77 }
78 );
79@@ -1983,7 +1984,7 @@
80 var featureLayer""" + name_safe + """ = new OpenLayers.Layer.Vector(
81 '""" + name + """',
82 {
83- strategies: [ """ + strategy_cluster + """ ],
84+ //strategies: [ """ + strategy_cluster + """ ],
85 styleMap: featureClusterStyleMap
86 }
87 );
88@@ -2598,7 +2599,8 @@
89 addLayers(map);
90
91 map.addControl(new OpenLayers.Control.ScaleLine());
92- map.addControl(new OpenLayers.Control.MGRSMousePosition());
93+ //map.addControl(new OpenLayers.Control.MGRSMousePosition());
94+ map.addControl(new OpenLayers.Control.MousePosition());
95 map.addControl(new OpenLayers.Control.Permalink());
96 map.addControl(new OpenLayers.Control.OverviewMap({mapOptions: options}));
97
98@@ -2623,9 +2625,9 @@
99 }
100 }
101 );
102- map.addControl(highlightControl);
103+ //map.addControl(highlightControl);
104 map.addControl(popupControl);
105- highlightControl.activate();
106+ //highlightControl.activate();
107 popupControl.activate();
108
109 """ + mgrs_html + """

Subscribers

People subscribed via source and target branches