From e4f58c053df584dcbc74304ec057ddcab6fb1103 Mon Sep 17 00:00:00 2001 From: Guillaume Galibert Date: Thu, 2 Aug 2018 17:23:30 +1000 Subject: [PATCH] WFS layer to retrieve acorn hourly files URLs is now generated from an ordered SQL query in order to provide an alphabetically ordered list of URLs. --- .../featuretype.xml | 3 ++- .../acorn_hourly_avg_cbg_nonqc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_cof_nonqc_timeseries_url/featuretype.xml | 3 ++- .../featuretype.xml | 4 ++-- .../acorn_hourly_avg_rot_nonqc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_sag_nonqc_timeseries_url/featuretype.xml | 3 ++- .../featuretype.xml | 3 ++- .../acorn_hourly_avg_bonc_qc_timeseries_url/featuretype.xml | 4 ++-- .../acorn_hourly_avg_cbg_qc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_cof_qc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_newc_qc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_rot_qc_timeseries_url/featuretype.xml | 2 +- .../acorn_hourly_avg_sag_qc_timeseries_url/featuretype.xml | 3 ++- .../acorn_hourly_avg_turq_qc_timeseries_url/featuretype.xml | 3 ++- 14 files changed, 27 insertions(+), 16 deletions(-) diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_bonc_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_bonc_nonqc_timeseries_url/featuretype.xml index 2f7192f0..15e1b184 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_bonc_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_bonc_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_bonc_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'BONC, Bonney Coast' +where site_code = 'BONC, Bonney Coast' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cbg_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cbg_nonqc_timeseries_url/featuretype.xml index 9e463483..d539fcd5 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cbg_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cbg_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_cbg_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'CBG, Capricorn Bunker Group' +where site_code = 'CBG, Capricorn Bunker Group' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cof_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cof_nonqc_timeseries_url/featuretype.xml index 94064e1e..66e0b1a9 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cof_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_cof_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_cof_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'COF, Coffs Harbour' +where site_code = 'COF, Coffs Harbour' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_newc_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_newc_nonqc_timeseries_url/featuretype.xml index 8846b229..2407d760 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_newc_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_newc_nonqc_timeseries_url/featuretype.xml @@ -26,7 +26,7 @@ select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url where site_code = 'NEWC, Newcastle' - +order by file_url false @@ -39,4 +39,4 @@ where site_code = 'NEWC, Newcastle' false false false - \ No newline at end of file + diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_rot_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_rot_nonqc_timeseries_url/featuretype.xml index af3c4625..ec30e4f7 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_rot_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_rot_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_rot_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'ROT, Rottnest Shelf' +where site_code = 'ROT, Rottnest Shelf' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_sag_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_sag_nonqc_timeseries_url/featuretype.xml index 154d62c8..f971f5ff 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_sag_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_sag_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_sag_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'SAG, South Australia Gulf' +where site_code = 'SAG, South Australia Gulf' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_turq_nonqc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_turq_nonqc_timeseries_url/featuretype.xml index 2ae43e3a..009d8013 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_turq_nonqc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_nonqc/acorn_hourly_avg_turq_nonqc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_turq_nonqc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_nonqc.acorn_hourly_avg_nonqc_timeseries_url -where site_code = 'TURQ, Turqoise Coast' +where site_code = 'TURQ, Turqoise Coast' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_bonc_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_bonc_qc_timeseries_url/featuretype.xml index 11aace78..fe43eedc 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_bonc_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_bonc_qc_timeseries_url/featuretype.xml @@ -26,7 +26,7 @@ select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url where site_code = 'BONC, Bonney Coast' - +order by file_url false st_makepoint @@ -44,4 +44,4 @@ where site_code = 'BONC, Bonney Coast' false false false - \ No newline at end of file + diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cbg_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cbg_qc_timeseries_url/featuretype.xml index 7709f642..feb71212 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cbg_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cbg_qc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_cbg_qc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url -where site_code = 'CBG, Capricorn Bunker Group' +where site_code = 'CBG, Capricorn Bunker Group' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cof_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cof_qc_timeseries_url/featuretype.xml index 5b19d26f..0090fb2b 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cof_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_cof_qc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_cof_qc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url -where site_code = 'COF, Coffs Harbour' +where site_code = 'COF, Coffs Harbour' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_newc_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_newc_qc_timeseries_url/featuretype.xml index 25634ab1..2168e70b 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_newc_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_newc_qc_timeseries_url/featuretype.xml @@ -26,6 +26,7 @@ select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url where site_code = 'NEWC, Newcastle' +order by file_url false @@ -39,4 +40,4 @@ where site_code = 'NEWC, Newcastle' false false false - \ No newline at end of file + diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_rot_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_rot_qc_timeseries_url/featuretype.xml index e93d00a1..766392da 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_rot_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_rot_qc_timeseries_url/featuretype.xml @@ -30,7 +30,7 @@ acorn_hourly_avg_rot_qc_timeseries_url - select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url where site_code = 'ROT, Rottnest Shelf' + select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url where site_code = 'ROT, Rottnest Shelf' order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_sag_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_sag_qc_timeseries_url/featuretype.xml index 294416a6..92cd67f9 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_sag_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_sag_qc_timeseries_url/featuretype.xml @@ -32,7 +32,8 @@ acorn_hourly_avg_sag_qc_timeseries_url select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url -where site_code = 'SAG, South Australian Gulf' +where site_code = 'SAG, South Australian Gulf' +order by file_url false st_makepoint diff --git a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_turq_qc_timeseries_url/featuretype.xml b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_turq_qc_timeseries_url/featuretype.xml index 27650ad2..ec053f8b 100644 --- a/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_turq_qc_timeseries_url/featuretype.xml +++ b/workspaces/imos/JNDI_acorn_hourly_avg_qc/acorn_hourly_avg_turq_qc_timeseries_url/featuretype.xml @@ -26,6 +26,7 @@ select *, ST_makepoint(1, 2) from acorn_hourly_avg_qc.acorn_hourly_avg_qc_timeseries_url where site_code = 'TURQ, Turqoise Coast' +order by file_url false @@ -44,4 +45,4 @@ where site_code = 'TURQ, Turqoise Coast' false false false - \ No newline at end of file +