2009oct08_dai-mapping-tool_procedure-for-integration.doc - Oifii.org

dinnerattentionΔιαχείριση Δεδομένων

28 Νοε 2012 (πριν από 4 χρόνια και 11 μήνες)

193 εμφανίσεις

Procedure for
integration

of the

Openlayers
-
based

mapping tool for DAI


Stéphane Poirier (
W
inter

and
S
pring

FY
2009)

CARTEL


Centre d'Applications et de Recherches en Télédétection

Département de géomatique appliquée
, Universit
é

de Sherbrooke

2500 boul. Un
iversit
é
, Sherbrooke, QC, J1K 2R1, Canada

stephane.poirier@usherbrooke.ca


Philippe Gachon, Patrice Constanza, Milka Radojevic, Lam Khanh
-
Hung, Patrick Saad

Data Access Integration (DAI) Team
, Scienti
fic and Technical Staff

Global Environmental and Climate Change Centre (GEC3)

Adaptation and Impacts Research Division (AIRD)
of Environment
Canada


Drought Research Initiative (DRI
)

Ouranos
Consortium (in Québec)



A
mapping tool has

been developed for

Data Access Interface (DAI, EC.CA and OURANOS.CA)
. This
document describes
in details
th
e

procedure for
integration of
the source code developed in
pure
javascript

both
at the CARTEL
in Sherbrooke and on site in Ouranos offices
in
Montreal
, Canada
. The
ma
pping tool

version 0.1
consist of
a set of file
s loaded
when

interacting with
a single
client
-
side
HTML
page

at runtime

(DAI’s NARR LAT LON download page)
.

The
functions

involved in
the version
0.1 of this
asynchronous javascript
mapping tool
(AJAX)
were d
eveloped by
Stephane Poirier
and
Philippe Poudret
.
This procedure is
mostly

usefull
as a support document for communications between
concerned software integrators when performing

mapping tool internal release

to
internal web pages
updates.
From this mappi
ng tool version is to be derived 5 variants versions

(AJAX and
PostgreSQL/PostGIS)
that
are the object of
full time software development effort in the month of June
2009
.

The Computer and Human Interaction (CHI) design of the 5 variants of this mapping too
l is
developed by the each of the long
-
term DAI team members (Philippe Gachon, Patrice Constanza,
Milka Radojevic and Lam
Khanh
-
Hung
) while the CHI software architecture and implementation is
developed by Stephane Poirier.



1)
I
ntroduction


Section
2

pres
ents the essential mapping tools related files

required at run
-
time
. An experience web
software integrator will most likely only need to read this section and
only copy the files described in
this section for integrating the mapping tool

when executing the

concerned web pages upgrade
.

Ideally, only in the case of an unforseen should the integrator look into the detailed development files
presented in section
3
.



2
) Essential mapping tools
integration
related files

required at run
-
time


Run
-
time

S
tyle

S
heet
s:



OpenLayers
-
2
-
8rc2_style.css

7 Ko

ouranos_dai_dai2_experience.css

6 Ko

style.css

2 Ko


Note: the files tagged with “
ouranos_dai_
” correspond to existing file that are access through a

URL in the actual operational DAI web site. These files should
not be copied but their references

in the HTML page should be remapped with corresponding URL.



Run
-
time
Javascripts:


jquery
-
1.3.2.min.js

56 Ko

OpenLayers
-
2
-
8rc2_OpenLayers.js

696 Ko

OpenLayers_init_map.js

51 Ko

OpenLayers_update_htmlpage.js

7 Ko

Op
enLayers_update_map.js

8 Ko

ouranos_dai_AnchorPosition.js

6 Ko

ouranos_dai_CalendarPopup.js

33 Ko

ouranos_dai_date.js

13 Ko

ouranos_dai_PopupWindow.js

11 Ko

proj4js
-
combined.js

159 Ko

sprintf.js

3 Ko


Note: the files tagged with “
ouranos_dai_
” corr
espond to existing file that are access through a

URL in the actual operational DAI web site. These files should not be copied but their references

in the HTML page should be remapped with corresponding URL.



Run
-
time HTML page:


index.html

69 Ko



Run
-
time images:


ouranos_dai_cpr.gif

1 Ko

ouranos_dai_DAI_logoE_tr.gif

38 Ko

ouranos_dai_lock.gif

1 Ko

ouranos_dai_reg.gif

1 Ko


Note: the image directory named img is also part of this set.


Note: the files tagged with “
ouranos_dai_
” correspond to exis
ting file that are access through a

URL in the actual operational DAI web site. These files should not be copied but their references

in the HTML page should be remapped with corresponding URL.



Run
-
time docs:


No .xml, .doc, .xls or .txt documents are
needed at run
-
time.



3
)
Detailed
e
xperimental
d
evelopment
files

used at development
-
time



Development
-
time Style S
heets:


OpenLayers
-
2
-
6_style.css

6 Ko

OpenLayers
-
2
-
7_style.css

2 Ko

OpenLayers
-
2
-
8rc2_firebug.css

4 Ko

OpenLayers
-
2
-
8rc2_style.css

7 Ko

OpenLayers_firebug.css

4 Ko

ouranos_dai_dai2_experience.css

6 Ko

style.css

2 Ko




Development
-
time
Javascripts:


graticule.js

5 Ko

graticule_v2
-
patch.js

12 Ko

jquery
-
1.3.2.min.js

56 Ko

OpenLayers
-
2
-
8rc2_firebug.js

19 Ko

OpenLayers
-
2
-
8rc2_firebugx.j
s

1 Ko

OpenLayers
-
2
-
8rc2_gears_init.js

4 Ko

OpenLayers
-
2
-
8rc2_OpenLayers.js

696 Ko

OpenLayers_firebug.js

19 Ko

OpenLayers_firebugx.js

1 Ko

OpenLayers_init_map.js

51 Ko

OpenLayers_update_htmlpage.js

7 Ko

OpenLayers_update_map.js

8 Ko

ouranos_dai_Anc
horPosition.js

6 Ko

ouranos_dai_CalendarPopup.js

33 Ko

ouranos_dai_date.js

13 Ko

ouranos_dai_PopupWindow.js

11 Ko

proj4js
-
combined.js

159 Ko

sprintf.js

3 Ko




Development
-
time HTML pages:


graticule.html

2 Ko

graticule_v2
-
patch.html

5 Ko

index.htm
l

69 Ko



Development
-
time images:


ouranos_dai_narr_landsfc_cleaned.bmp

401 Ko

northhemispherepolarstereographic_nh51x55.gif

8 Ko

northhemispherepolarstereographic
-
derived_crcm182x174.gif

15 Ko

ouranos_dai_cpr.gif

1 Ko

ouranos_dai_DAI_logoE_tr.gif

38

Ko

ouranos_dai_lock.gif

1 Ko

ouranos_dai_reg.gif

1 Ko

ouranos_dai_narr_lambert
-
conic
-
conform(patrice)_cleaned.jpg

58 Ko

ouranos_dai_narr_lambert
-
conic
-
conform(patrice)_initial.jpg

135 Ko

ouranos_dai_narr_landsfc_cleaned.jpg

32 Ko

ouranos_dai_narr_la
ndsfc_html
-
image
-
map.jpg

186 Ko

ouranos_dai_narr_landsfc_initial.jpg

62 Ko

nsidc721x721_nh.png

893 Ko

ouranos_dai_crcm_polar
-
stereographic(milka).png

127 Ko


Note: the image directory named img is also part of this set.



Development
-
time docs:


proced
ure
-
for
-
integration.doc

1,054 Ko

projection_crcm_polar
-
stereographic.doc

28 Ko

projections_disponibles.doc

97 Ko

projections_epsg3408_NSIDC_EASE
-
Grids.doc

280 Ko

projections_epsg9802_LCC_Lambert
-
Conic
-
Conform.doc

50 Ko

2009juin01_narrdomainlayer.txt

2

Ko

2009mai29_entered
-
in
-
dai
-
pms.txt

2 Ko

graticule_v2
-
patch(temp).txt

2 Ko

graticule_v2
-
patch.txt

19 Ko

northhemispherepolarstereographic_nh51x55.txt

1 Ko

northhemispherepolarstereographic
-
derived_crcm182x174.txt

1 Ko

ouranos_dai_crcm_polar
-
stereogr
aphic(milka)_latlon182x174(tabbed)(rounded).txt

650 Ko

ouranos_dai_crcm_polar
-
stereographic(milka)_latlon182x174(tabbed).txt

970 Ko

ouranos_dai_crcm_polar
-
stereographic(milka)_latlon182x174.txt

1,949 Ko

ouranos_dai_narr_landsfc.txt

3 Ko

ouranos_dai_nar
r_landsfc_domain
-
polygon(lon
-
lat).txt

1 Ko

ouranos_dai_narr_landsfc_domain
-
polygon(x
-
y).txt

1 Ko

ouranos_dai_narr_landsfc_html
-
image
-
map(2).txt

1 Ko

ouranos_dai_narr_landsfc_html
-
image
-
map(3).txt

1 Ko

ouranos_dai_narr_landsfc_html
-
image
-
map.txt

3 Ko

o
uranos_dai_narr_step1
-
e_openlayers.txt

2 Ko

projection_crcm_How to define a custom Proj4js_defs[myown].txt

4 Ko

ouranos_dai_crcm_polar
-
stereographic(milka)_latlon182x174(tabbed)(rounded).xls

1,769 Ko

ouranos_dai_crcm_polar
-
stereographic(milka)_latlon182
x174(tabbed).xls

3,173 Ko

ouranos_dai_narr_landsfc_html
-
image
-
map(2).xls

16 Ko

ouranos_dai_narr_landsfc_html
-
image
-
map.xls

16 Ko



4) Operational web site Integration Steps


This is a document under development. This section may be added later. I sugges
t that the first
integrator of the mapping tool version 0.1 could fill this section will performing its ticket.



5) Near
-
Future versions


Versions

0.1, 0.2, 0.3, 0.4 and 0.5 will become available pretty much in the order as listed below
during the course

of the month of June 2009.


0.1) Pour Patrice NARR LAT LON (EPSG:4326), minres 0.3×0.3, minsize 0.3×0.3

0.2) Pour Patrice CRCM LAT LON (EPSG:4326), minres 0.3×0.3, minsize 2.5×2.5

0.
3) Pour Milka CRCM POLAR STEREOGRAPHIC (EPSG:3411), minres by supplied c
enters to
centers, minsize 1 center, using background ouranos_dai_crcm_polar
-
stereographic(milka).png

0.
4) Pour Lam, LAT LON (EPSG:4326), no selection tool, display overlay of meteo stations provided in
tabbed text file

0.
5) NARR LAMBERT CONIC CONFORM (ESR
I:102009), minres unknown, using background
ouranos_dai_narr_lambert
-
conic
-
conform(patrice).jpg



6
)
References


AJAX, Asynchronous Javascript XML

http://en.wikipedia.org/wiki/Ajax_(programmin
g)
.


IMT

0.1
, this Interactive Mapping Tool

version alpha
http://pages.usherbrooke.ca/spoirier/2009juin01

along
with most stable version beta
http://pages.usherbrooke.ca/spoirier/2009mai29/

and reference
folder for concerned designers, integrators and developers
http://pages.usherbrooke.ca/spoirier/
.


IMT
0.1
EML, Emails fro
m
all
people contributing to this Interactive Mapping Tool development

http://pages.usherbrooke.ca/spoirier/tsat_dai
.

Special thanks to everyone. Note, for privacy reason
s

these files may not b
e easily extractable nor openable

without prior request
.


IMT 0.1 DOSC
, Screen Captures

from Docteurordinateur.org Operations documenting system
-
level
software development process work arounds that occurred in the course of this project

http://pages.usherbrooke.ca/spoirier/tsat_dod/
. Note, for privacy reasons these files may not be easily
extractable nor openable

without prior request
.