Project

General

Profile

Statistics
| Revision:
  • svn:ignore: extern

# Date Author Comment
13931 07/09/2014 07:03 AM Aaron Marcuse-Kubitza

bugfix: inputs/input.Makefile: sql/install: schema.sql should not be passed through pg_dump_limit because it contains GRANT statements that need to be run

13930 07/09/2014 06:22 AM Aaron Marcuse-Kubitza

schemas/public_.sql: iucn_red_list_view: documented how to regenerate iucn_red_list from this

13929 07/08/2014 04:17 PM Aaron Marcuse-Kubitza

exports/2014-6-4.Iara_Lacher.reserve_prioritization.csv.run: documented runtime (7.5 min) and rowcount (3.5 million)

13928 07/08/2014 03:23 PM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: fixed slowdown in materializing the view, which was caused by source__observation_type(), by replacing this with a LEFT JOIN as was done for is_threatened_iucn

13927 07/07/2014 07:33 AM Aaron Marcuse-Kubitza

schemas/util.sql: in_south_america(): optimized by using BETWEEN instead of util.contained_within__no_dateline(). this reduces the filter time for 2014-6-4.Iara_Lacher.reserve_prioritization by about 10%.

13926 07/07/2014 07:26 AM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: is_threatened_iucn: generate this much faster by doing a LEFT JOIN, which can reuse the same in-memory hash index for every row

13925 07/07/2014 07:04 AM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: wrapper functions can't use util-schema types because these will cause the wrapper function to be cascadingly dropped when the util schema is reinstalled

13924 07/07/2014 06:55 AM Aaron Marcuse-Kubitza

bugfix: in_south_america(): must use util.contained_within__no_dateline() instead of util.contained_within_approx() to ensure that the more accurate geometry logic is used

13923 07/07/2014 06:51 AM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: source__observation_type(): don't display NOTICEs about the search_path, because this function will be called millions of times

13922 07/07/2014 06:48 AM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: in_iucn_red_list(): don't display NOTICEs about the search_path, because this function will be called millions of times

13921 07/07/2014 06:43 AM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: added is_threatened_iucn

13920 07/07/2014 06:37 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added in_iucn_red_list()

13919 07/07/2014 06:36 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added iucn_red_list, materialized from iucn_red_list_view

13918 07/07/2014 06:22 AM Aaron Marcuse-Kubitza

bugfix: schemas/vegbien.sql: iucn_red_list_view: need to include only names with an accepted name, and distinctify on the accepted names

13917 07/07/2014 06:17 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added iucn_red_list

13916 07/07/2014 06:14 AM Aaron Marcuse-Kubitza

schemas/util.sql: materialize_view(): use util.copy() instead of util.materialize_query() so that all view metadata is transferred

13915 07/07/2014 06:02 AM Aaron Marcuse-Kubitza

schemas/public_.sql: iucn_red_list: renamed to iucn_red_list_view since this will be materialized

13914 07/07/2014 06:01 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added iucn_red_list

13913 07/07/2014 05:44 AM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: added collection_type (using source__observation_type())

13912 07/07/2014 05:36 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added source__observation_type()

13911 07/07/2014 05:04 AM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: added accepted_subspecies, and removed accepted_taxon_name_with_author which had been substituting for it

13910 07/07/2014 04:50 AM Aaron Marcuse-Kubitza

schemas/public_.sql: added subspecies() wrapper

13909 07/07/2014 04:38 AM Aaron Marcuse-Kubitza

schemas/util.sql: added subspecies()

13908 07/07/2014 04:10 AM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: include only coordinates in South America

13907 07/07/2014 03:55 AM Aaron Marcuse-Kubitza

schemas/util.sql: added south_america(), in_south_america()

13906 07/07/2014 03:37 AM Aaron Marcuse-Kubitza

fix: schemas/util.sql: OPERATOR ~(geocoord, postgis.geometry): renamed to because this is not an approximate comparison for geometry

13905 07/07/2014 03:35 AM Aaron Marcuse-Kubitza

fix: schemas/util.sql: contained_within_approx(geocoord, postgis.geometry): renamed to contained_within__no_dateline(__) because this is not an approximate comparison for geometry

13904 07/07/2014 03:30 AM Aaron Marcuse-Kubitza

schemas/util.sql: lat_long_in_new_world(): renamed to just in_new_world() because the lat/long is implied by the param type

13903 07/07/2014 03:08 AM Aaron Marcuse-Kubitza

schemas/util.sql: lat_long_in_new_world(): take a geocoord param instead of separate lat/long params

13902 07/07/2014 03:00 AM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated

13901 07/06/2014 11:08 PM Aaron Marcuse-Kubitza

schemas/util.sql: added contained_within_approx(geocoord, geometry) and corresponding OPERATOR ~@(geocoord, geometry)

13900 07/06/2014 10:39 PM Aaron Marcuse-Kubitza

schemas/util.sql: added OPERATOR ~@(geocoord, geography)

13899 07/06/2014 10:23 PM Aaron Marcuse-Kubitza

schemas/util.sql: lat_long_in_new_world(): use new contained_within_approx(geocoord, geography)

13898 07/06/2014 10:17 PM Aaron Marcuse-Kubitza

schemas/util.sql: added contained_within_approx(geocoord, postgis.geography), which enables specifying just `(lat, long)` without the ::util.geocoord type specifier

13897 07/06/2014 04:04 PM Aaron Marcuse-Kubitza

schemas/util.sql: OPERATOR (postgis.geography, postgis.geography): renamed to ~ because it's approximate

13896 07/06/2014 03:52 PM Aaron Marcuse-Kubitza

schemas/util.sql: contained_within(): renamed to contained_within_approx() because the latitude lines of geography type bounding boxes bulge outward, creating false positives above and below the bounding box

13895 07/06/2014 03:50 PM Aaron Marcuse-Kubitza

schemas/util.sql: added contained_within__no_dateline(geometry, geometry) and corresponding operator @

13894 07/06/2014 02:51 PM Aaron Marcuse-Kubitza

schemas/util.sql: contained_within(): renamed to contained_within_approx() because the latitude lines of geography type bounding boxes bulge outward, creating false positives above and below the bounding box

13893 07/06/2014 05:49 AM Aaron Marcuse-Kubitza

schemas/util.sql: geometry(geocoord): documented that it is not possible to create a cast for this, as a bug in pg_dump prevents the cast from being exported, even when no export filters are applied

13892 07/05/2014 12:40 PM Aaron Marcuse-Kubitza

schemas/util.sql: point(geocoord): renamed to geometry(geocoord) since this is now a cast

13891 07/05/2014 12:03 PM Aaron Marcuse-Kubitza

schemas/util.sql: point(): return geometry instead of geography to support using points with geometry arithmetic

13890 07/05/2014 11:24 AM Aaron Marcuse-Kubitza

schemas/util.sql: point(): take a single util.geocoord param instead of separate lat/long

13889 07/05/2014 10:45 AM Aaron Marcuse-Kubitza

schemas/util.sql: added geocoord type

13888 07/04/2014 08:29 PM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: include only georeferenced occurrences (lat/long NOT NULL)

13887 07/04/2014 08:25 PM Aaron Marcuse-Kubitza

schemas/util.sql: bounding_box(): use bounding_box__no_dateline() to construct the postgis.geometry object

13886 07/04/2014 08:23 PM Aaron Marcuse-Kubitza

schemas/util.sql: added bounding_box__no_dateline(), which is more accurate than util.bounding_box() (latitude lines will be straight), but geocoordinate wraparound is not supported

13885 07/04/2014 08:14 PM Aaron Marcuse-Kubitza

schemas/public_.sql: 2014-6-4.Iara_Lacher.reserve_prioritization: added functional traits that we have 1st-class columns for (dbh_cm, height_m)

13884 07/04/2014 12:29 PM Aaron Marcuse-Kubitza

added exports/2014-6-4.Iara_Lacher.reserve_prioritization.csv.run

13883 07/04/2014 11:12 AM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13882 07/04/2014 08:45 AM Aaron Marcuse-Kubitza

inputs/publishable datasources.xlsx: updated

13881 07/03/2014 08:13 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: matchedFamily: just use Name_matched_accepted_family, because TNRS has now been reloaded so that the names that were missing this have it populated

13880 07/03/2014 09:59 AM Aaron Marcuse-Kubitza

planning/meetings/BIEN conference call availability.xlsx: updated

13879 07/03/2014 12:34 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: taxon_match: taxon_match__valid_match: replaced with taxon_best_match__valid_match, which also applies taxon_best_match's filters, since taxon_match is now accessed through taxon_best_match

13878 07/03/2014 12:17 AM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: MatchedTaxon: use taxon_best_match instead of taxon_match because this should provide only one match per taxon

13877 07/02/2014 02:17 AM Aaron Marcuse-Kubitza

bugfix: /README.TXT: Mac settings backup: backup to jupiter: need to exclude ~/software/**/.svn/ because these are different on jupiter

13876 07/02/2014 02:00 AM Aaron Marcuse-Kubitza

/README.TXT: Mac settings backup: backup to jupiter: removed no longer applicable exclude of /VirtualBox VMs/Ubuntu/Ubuntu.vdi

13875 06/26/2014 06:30 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: added taxon_best_match view

13874 06/26/2014 06:12 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: taxon_match: added taxon_match__one_selected_match unique index

13873 06/26/2014 05:06 PM Aaron Marcuse-Kubitza

backups/TNRS.backup.md5: updated

13872 06/26/2014 09:49 AM Aaron Marcuse-Kubitza

planning/meetings/BIEN conference call availability.xlsx: updated

13871 06/26/2014 05:41 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: taxon_match__fill(): split into separate DECLARE blocks for each field for clarity

13870 06/26/2014 04:58 AM Aaron Marcuse-Kubitza

inputs/.TNRS/data.sql: refreshed

13869 06/26/2014 04:57 AM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: taxon_match: renamed related items to start with taxon_match__*

13868 06/26/2014 04:33 AM Aaron Marcuse-Kubitza

fix: inputs/.TNRS/schema.sql: taxon_match: renamed related items to start with taxon_match__*

13867 06/26/2014 04:28 AM Aaron Marcuse-Kubitza

inputs/.TNRS/data.sql: refreshed

13866 06/26/2014 04:11 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: taxon_match: insert names via taxon_match_input auto-updatable view instead of directly into taxon_match, to allow the taxon_match columns to be renamed while still supporting inserts using the TNRS column names

13865 06/26/2014 02:43 AM Aaron Marcuse-Kubitza

fix: schemas/Makefile: vegbien.sql: also need to update inputs/.TNRS/data.sql, since its contents change along with this

13864 06/26/2014 02:41 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs_match: renamed to taxon_match to use the normalized VegCore name for this, and to avoid repeating the schema name

13863 06/26/2014 02:39 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs_match: renamed to taxon_match to use the normalized VegCore name for this, and to avoid repeating the schema name

13862 06/26/2014 02:38 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs_match: renamed to taxon_match to use the normalized VegCore name for this, and to avoid repeating the schema name

13861 06/26/2014 02:14 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs_match: renamed to taxon_match to use the normalized VegCore name for this, and to avoid repeating the schema name

13860 06/25/2014 07:54 PM Aaron Marcuse-Kubitza

lib/tnrs.py: dirty: documented that this actually used to be on in the web app (see r9910, 2013-6-18), but does not appear to be needed (the source_sorting bug alluded to in r9910 is not fixed by enabling the dirty setting)

13859 06/25/2014 07:46 PM Aaron Marcuse-Kubitza

lib/tnrs.py: requests: also debug-print request URL

13858 06/25/2014 07:44 PM Aaron Marcuse-Kubitza

lib/tnrs.py: Download: include the same debug info as do_request()

13857 06/25/2014 07:41 PM Aaron Marcuse-Kubitza

lib/tnrs.py: do_request(): also debug-print request headers

13856 06/25/2014 07:39 PM Aaron Marcuse-Kubitza

lib/tnrs.py: download_request_template: dirty: documented why this must be off

13855 06/25/2014 07:36 PM Aaron Marcuse-Kubitza

bugfix: lib/tnrs.py: download_request_template: fixed bug where multiple names were being marked as Selected, because dirty was incorrectly set to true unlike in the web app

13854 06/25/2014 07:30 PM Aaron Marcuse-Kubitza

added derived/TNRS/web_app/protocol/

13853 06/25/2014 04:28 PM Aaron Marcuse-Kubitza

inputs/.TNRS/data.sql: refreshed

13852 06/25/2014 04:25 PM Aaron Marcuse-Kubitza

bugfix: inputs/.TNRS/schema.sql: taxon_name_is_safe(): need to use `NOT (_ = ANY()) instead of ` != ANY`, because the != operator is applied to each element

13851 06/25/2014 03:47 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs: renamed to tnrs_match to distinguish it from other TNRS-related tables

13850 06/25/2014 03:33 PM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: tnrs: renamed to tnrs_match to distinguish it from other TNRS-related tables

13849 06/25/2014 02:38 PM Aaron Marcuse-Kubitza

fix: lib/phpPgAdmin.login.php.diff: use relative file path rather than the path the file was at when the patch was created

13848 06/25/2014 02:34 PM Aaron Marcuse-Kubitza

/Makefile, lib/phpPgAdmin.login.php.diff: public_ user: added auto-filled password so that users would not be confused as to what to type in the password field

13847 06/25/2014 02:15 PM Aaron Marcuse-Kubitza

added schemas/VegCore/phpMyAdmin/libraries/plugins/auth/AuthenticationCookie.class.php.diff

13846 06/25/2014 10:39 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: `taxon_scrub.scrubbed_unique_taxon_name.*`: added to-modify instructions

13845 06/25/2014 10:36 AM Aaron Marcuse-Kubitza

inputs/.TNRS/schema.sql: *_modify(): merged these into the "to modify" instructions in the corresponding views, because there is no need to create a separate *_modify() function for every view now that their definitions are all the same

13844 06/25/2014 10:21 AM Aaron Marcuse-Kubitza

validation/aggregating/plots/bien3_validations_salvias_vegbien.sql: updated to DB

13843 06/25/2014 05:15 AM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view and related views: updated COMMENTs from data dictionary spreadsheet, using the steps at wiki.vegpath.org/VegBIEN_schema_refactoring#copy-data-dictionary-definitions-to-database

13842 06/25/2014 04:11 AM Aaron Marcuse-Kubitza

schemas/public_.sql: ran analytical_stem_view_modify(), which transfers the column COMMENTs from analytical_stem_view to analytical_stem

13841 06/25/2014 04:04 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: view_def_to_orig(): need to handle cases when list of cols from the same table is not an expanded * expression

13840 06/25/2014 03:59 AM Aaron Marcuse-Kubitza

schemas/util.sql: added view_is_subset(view_def text)

13839 06/25/2014 03:58 AM Aaron Marcuse-Kubitza

schemas/util.sql: added view_is_automatically_updatable(view_def text)

13838 06/25/2014 03:23 AM Aaron Marcuse-Kubitza

bugfix: schemas/util.sql: show_create_view(): use the overridden version of pg_get_viewdef(), which supports expanded * expressions. this was possibly being used already whenever util happened to be in the search_path.

13837 06/24/2014 05:03 PM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: analytical_stem_view_modify(): updated to new analytical_stem_view column names

13836 06/24/2014 05:01 PM Aaron Marcuse-Kubitza

fix: schemas/public_.sql: analytical_stem_view derived and related views: applied data dictionary renamings, using the steps at wiki.vegpath.org/VegBIEN_schema_refactoring#apply-data-dictionary-renamings-to-database but with the current columns of analytical_stem as the left-hand column

13835 06/24/2014 04:36 PM Aaron Marcuse-Kubitza

bugfix: schemas/public_.sql: analytical_stem_view_modify(): updated to new analytical_stem_view column names

13834 06/24/2014 04:34 PM Aaron Marcuse-Kubitza

schemas/public_.sql: analytical_stem_view: applied data dictionary renamings, using the steps at wiki.vegpath.org/VegBIEN_schema_refactoring#apply-data-dictionary-renamings-to-database

13833 06/24/2014 03:27 PM Aaron Marcuse-Kubitza

lib/tnrs.py: source_sorting (Constrain by Source): documented the different behavior for this in each match mode (all-matches and best-match)

13832 06/20/2014 08:01 PM Aaron Marcuse-Kubitza

schemas/public_.sql: added 2014-6-4.Iara_Lacher.reserve_prioritization