Skip to content
This repository has been archived by the owner on Nov 11, 2020. It is now read-only.

Commit

Permalink
Migrated to new basemap server.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisberkhout committed Jun 6, 2013
1 parent 494541e commit 1d24904
Show file tree
Hide file tree
Showing 4 changed files with 10 additions and 14 deletions.
4 changes: 0 additions & 4 deletions deploy-test.sh

This file was deleted.

2 changes: 1 addition & 1 deletion deploy.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/bin/bash -x

ssh root@v3.pozi.com "cd /var/lib/tomcat6/webapps/warrnambool-mobile && git pull origin master"
ssh root@warrnambool.pozi.com "cd /var/lib/tomcat6/webapps/warrnambool-mobile && git pull origin master"

12 changes: 6 additions & 6 deletions mobile-base.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,31 +91,31 @@ var init = function() {
layers: [
new OpenLayers.Layer.WMS(
"Labels",
["http://m1.pozi.com/geoserver/wms", "http://m2.pozi.com/geoserver/wms", "http://m3.pozi.com/geoserver/wms", "http://m4.pozi.com/geoserver/wms"],
["http://basemap1.pozi.com/geoserver/wms", "http://basemap2.pozi.com/geoserver/wms", "http://basemap3.pozi.com/geoserver/wms", "http://basemap4.pozi.com/geoserver/wms"],
{ layers: 'LabelClassic', format: 'image/png8', transparent: 'true' },
{ isBaseLayer: false, singleTile: true, ratio: 1.5 }
),
new OpenLayers.Layer.WMS(
"Drainage Pipes",
"http://v3.pozi.com/geoserver/WARRNAMBOOL/wms",
"http://warrnambool.pozi.com/geoserver/WARRNAMBOOL/wms",
{ layers: 'WSC_DRAINAGE_PIPE', format: 'image/png8', transparent: 'true' },
{ isBaseLayer: false, singleTile: true, ratio: 1.5 }
),
new OpenLayers.Layer.WMS(
"Drainage Pits (Pending)",
"http://v3.pozi.com/geoserver/WARRNAMBOOL/wms",
"http://warrnambool.pozi.com/geoserver/WARRNAMBOOL/wms",
{ layers: 'WSC_DRAINAGE_PIT_PENDING', format: 'image/png8', transparent: 'true' },
{ isBaseLayer: false, singleTile: true, ratio: 1.5 }
),
new OpenLayers.Layer.WMS(
"Drainage Pits",
"http://v3.pozi.com/geoserver/WARRNAMBOOL/wms",
"http://warrnambool.pozi.com/geoserver/WARRNAMBOOL/wms",
{ layers: 'WSC_DRAINAGE_PIT', format: 'image/png8', transparent: 'true' },
{ isBaseLayer: false, singleTile: true, ratio: 1.5 }
),
new OpenLayers.Layer.WMS(
"Vicmap Classic",
["http://m1.pozi.com/geoserver/gwc/service/wms", "http://m2.pozi.com/geoserver/gwc/service/wms", "http://m3.pozi.com/geoserver/gwc/service/wms", "http://m4.pozi.com/geoserver/gwc/service/wms"],
["http://basemap1.pozi.com/geoserver/gwc/service/wms", "http://basemap2.pozi.com/geoserver/gwc/service/wms", "http://basemap3.pozi.com/geoserver/gwc/service/wms", "http://basemap4.pozi.com/geoserver/gwc/service/wms"],
{ layers: 'VicmapClassic', format: 'image/png8' },
{ transitionEffect: 'resize' }
),
Expand Down Expand Up @@ -210,7 +210,7 @@ var init = function() {
var reader = new OpenLayers.Format.GeoJSON();

Ext.util.JSONP.request({
url: 'http://v3.pozi.com/ws/rest/v3/ws_drainage_pit_geojson.php',
url: 'http://warrnambool.pozi.com/ws/rest/v3/ws_drainage_pit_geojson.php',
params: {
lat: ll_wgs84.lat,
lon: ll_wgs84.lon,
Expand Down
6 changes: 3 additions & 3 deletions mobile-sencha.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ App.SearchFormPopupPanel = Ext.extend(Ext.Panel, {
scroll: false,
layout: 'fit',
fullscreen: Ext.is.Phone ? true : undefined,
url: 'http://basemap.pozi.com/ws/rest/v3/ws_all_features_by_string_and_lga.php',
url: 'http://s1.pozi.com/ws/rest/v3/ws_all_features_by_string_and_lga.php',
errorText: 'Sorry, we had problems communicating with Pozi search. Please try again.',
errorTitle: 'Communication error',
maxResults: 6,
Expand Down Expand Up @@ -279,7 +279,7 @@ App.CaptureFormPopupPanel = Ext.extend(Ext.Panel, {
// { label : 'Long Road', prop_num : '789789'}
// ],
proxy: new Ext.data.ScriptTagProxy({
url: 'http://v3.pozi.com/ws/rest/v3/ws_closest_pits.php',
url: 'http://warrnambool.pozi.com/ws/rest/v3/ws_closest_pits.php',
timeout: 5000,
reader:{
root:'rows',
Expand Down Expand Up @@ -309,7 +309,7 @@ App.CaptureFormPopupPanel = Ext.extend(Ext.Panel, {
// { label : 'Long Road', prop_num : '789789'}
// ],
proxy: new Ext.data.ScriptTagProxy({
url: 'http://v3.pozi.com/ws/rest/v3/ws_staff_name.php',
url: 'http://warrnambool.pozi.com/ws/rest/v3/ws_staff_name.php',
timeout: 5000,
reader:{
root:'rows',
Expand Down

0 comments on commit 1d24904

Please sign in to comment.