Skip to content

Commit

Permalink
Correct latitude range of NBN extractions
Browse files Browse the repository at this point in the history
From 48N, not 48S.
  • Loading branch information
johnvanbreda committed Nov 25, 2015
1 parent 2788ddb commit 69eb509
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion reports/library/occurrences/filterable_nbn_exchange.xml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ and o.date_type in ('D','DD','O','OO','Y','YY','-Y','U')
and (s.entered_sref_system ilike 'osgb' or s.entered_sref_system ilike 'osie' or s.entered_sref_system = '4326' or s.entered_sref_system = '27700')
and o.taxa_taxon_list_external_key is not null
and st_x(st_transform(st_centroid(public_geom), 4326)) between -14 and 13
and st_y(st_transform(st_centroid(public_geom), 4326)) between -48 and 62
and st_y(st_transform(st_centroid(public_geom), 4326)) between 48 and 62
#idlist#
</query>

Expand Down
2 changes: 1 addition & 1 deletion reports/library/occurrences/nbn_exchange.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ and (trim('#date_to#')='' or '#date_to#'='Click here' or co.date_start &lt;= CAS
and quality_check('#quality#', co.record_status, co.certainty)=true
and co.taxa_taxon_list_external_key is not null
and st_x(st_transform(st_centroid(public_geom), 4326)) between -14 and 13
and st_y(st_transform(st_centroid(public_geom), 4326)) between -48 and 62
and st_y(st_transform(st_centroid(public_geom), 4326)) between 48 and 62

</query>

Expand Down
2 changes: 1 addition & 1 deletion reports/library/occurrences/nbn_exchange_by_input_date.xml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ and (trim('#date_to#')='' or '#date_to#'='Click here'
and quality_check('#quality#', co.record_status, co.certainty)=true
and co.taxa_taxon_list_external_key is not null
and st_x(st_transform(st_centroid(public_geom), 4326)) between -14 and 13
and st_y(st_transform(st_centroid(public_geom), 4326)) between -48 and 62
and st_y(st_transform(st_centroid(public_geom), 4326)) between 48 and 62

</query>

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ and (trim('#date_to#')='' or '#date_to#'='Click here'
and quality_check('#quality#', co.record_status, co.certainty)=true
and co.taxa_taxon_list_external_key is not null
and st_x(st_transform(st_centroid(public_geom), 4326)) between -14 and 13
and st_y(st_transform(st_centroid(public_geom), 4326)) between -48 and 62
and st_y(st_transform(st_centroid(public_geom), 4326)) between 48 and 62

</query>

Expand Down

0 comments on commit 69eb509

Please sign in to comment.