Project

General

Profile

« Previous | Next » 

Revision 2

Added by Matt Wheeler over 14 years ago

No longer need concept hash since values are now pulled directly from tapir service

View differences:

configurableParams.php
33 33
  return $filter;
34 34
}
35 35

  
36
# Tapir services store their data as concepts.  This array (hash) will map the desired
37
# concept to the name that it will be given in the flat file.  For instance:
38
# 'dwcoreGlobalUniqueIdentifier' => 'http://rs.tdwg.org/dwc/dwcore/GlobalUniqueIdentifier'
39
# is interpreted as find the GlobalUniqueIdentifier for each record and store it in
40
# the column denoted as dwcoreGlobalUniqueIdentifier in the delimited file.  If the
41
# concept does not exist for a given record, an empty string will be put in its place.
42
$desiredConcepts = array(
43
'dwcoreGlobalUniqueIdentifier' => 'http://rs.tdwg.org/dwc/dwcore/GlobalUniqueIdentifier', 
44
'dwcoreDateLastModified' => 'http://rs.tdwg.org/dwc/dwcore/GlobalUniqueIdentifier', 
45
'dwcoreBasisOfRecord' => 'http://rs.tdwg.org/dwc/dwcore/BasisOfRecord', 
46
'dwcoreInstitutionCode' => 'http://rs.tdwg.org/dwc/dwcore/InstitutionCode', 
47
'dwcoreCollectionCode' => 'http://rs.tdwg.org/dwc/dwcore/CollectionCode', 
48
'dwcoreCatalogNumber' => 'http://rs.tdwg.org/dwc/dwcore/CatalogNumber', 
49
'dwcoreRemarks' => 'http://rs.tdwg.org/dwc/dwcore/Remarks', 
50
'dwcoreScientificName' => 'http://rs.tdwg.org/dwc/dwcore/ScientificName', 
51
'dwcoreKingdom' => 'http://rs.tdwg.org/dwc/dwcore/Kingdom', 
52
'dwcorePhylum' => 'http://rs.tdwg.org/dwc/dwcore/Phylum', 
53
'dwcoreClass' => 'http://rs.tdwg.org/dwc/dwcore/Class', 
54
'dwcoreOrder' => 'http://rs.tdwg.org/dwc/dwcore/Order', 
55
'dwcoreFamily' => 'http://rs.tdwg.org/dwc/dwcore/Family', 
56
'dwcoreGenus' => 'http://rs.tdwg.org/dwc/dwcore/Genus', 
57
'dwcoreSpecificEpithet' => 'http://rs.tdwg.org/dwc/dwcore/InfraspecificEpithet', 
58
'dwcoreInfraspecificEpithet' => 'http://rs.tdwg.org/dwc/dwcore/InfraspecificEpithet', 
59
'dwcoreAuthorYearOfScientificName' => 'http://rs.tdwg.org/dwc/dwcore/AuthorYearOfScientificName', 
60
'dwcoreContinent' => 'http://rs.tdwg.org/dwc/dwcore/Continent', 
61
'dwcoreCountry' => 'http://rs.tdwg.org/dwc/dwcore/Country', 
62
'dwcoreStateProvince' => 'http://rs.tdwg.org/dwc/dwcore/StateProvince', 
63
'dwcoreCounty' => 'http://rs.tdwg.org/dwc/dwcore/County', 
64
'dwcoreLocality' => 'http://rs.tdwg.org/dwc/dwcore/Locality', 
65
'dwcoreMinimumElevationInMeters' => 'http://rs.tdwg.org/dwc/dwcore/MinimumElevationInMeters', 
66
'dwcoreMaximumElevationInMeters' => 'http://rs.tdwg.org/dwc/dwcore/MaximumElevationInMeters', 
67
'dwcoreMinimumDepthInMeters' => 'http://rs.tdwg.org/dwc/dwcore/MinimumDepthInMeters', 
68
'dwcoreMaximumDepthInMeters' => 'http://rs.tdwg.org/dwc/dwcore/MaximumDepthInMeters', 
69
'dwcoreDayOfYear' => 'http://rs.tdwg.org/dwc/dwcore/DayOfYear', 
70
'dwcoreCollector' => 'http://rs.tdwg.org/dwc/dwcore/Collector', 
71
'dwcoreSex' => 'http://rs.tdwg.org/dwc/dwcore/Sex', 
72
'curatorialIdentifiedBy' => 'http://rs.tdwg.org/dwc/curatorial/IdentifiedBy', 
73
'curatorialCollectorNumber' => 'http://rs.tdwg.org/dwc/curatorial/CollectorNumber', 
74
'curatorialFieldNumber' => 'http://rs.tdwg.org/dwc/curatorial/FieldNumber', 
75
'curatorialTypeStatus' => 'http://rs.tdwg.org/dwc/curatorial/TypeStatus', 
76
'curatorialIndividualCount' => 'http://rs.tdwg.org/dwc/curatorial/IndividualCount', 
77
'geospatialDecimalLatitude' => 'http://rs.tdwg.org/dwc/geospatial/DecimalLatitude', 
78
'geospatialDecimalLongitude' => 'http://rs.tdwg.org/dwc/geospatial/DecimalLongitude', 
79
'geospatialGeodeticDatum' => 'http://rs.tdwg.org/dwc/geospatial/GeodeticDatum', 
80
'darwin1DateLastModified' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/DateLastModified',
81
'darwin1InstitutionCode' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/InstitutionCode',
82
'darwin1CollectionCode' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/CollectionCode',
83
'darwin1CatalogNumber' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/CatalogNumber',
84
'darwin1ScientificName' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/ScientificName',
85
'darwin1BasisOfRecord' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/BasisOfRecord',
86
'darwin1Kingdom' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Kingdom',
87
'darwin1Phylum' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Phylum',
88
'darwin1Class' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Class',
89
'darwin1Order' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Order',
90
'darwin1Family' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Family',
91
'darwin1Genus' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Genus',
92
'darwin1Species' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Species',
93
'darwin1Subspecies' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Subspecies',
94
'darwin1ScientificNameAuthor' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/ScientificNameAuthor',
95
'darwin1IdentifiedBy' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/IdentifiedBy',
96
'darwin1YearIdentified' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/YearIdentified',
97
'darwin1MonthIdentified' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MonthIdentified',
98
'darwin1DayIdentified' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/DayIdentified',
99
'darwin1TypeStatus' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/TypeStatus',
100
'darwin1CollectorNumber' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/CollectorNumber',
101
'darwin1FieldNumber' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/FieldNumber',
102
'darwin1Collector' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Collector',
103
'darwin1YearCollected' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/YearCollected',
104
'darwin1MonthCollected' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MonthCollected',
105
'darwin1DayCollected' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/DayCollected',
106
'darwin1JulianDay' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/JulianDay',
107
'darwin1TimeOfDay' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/TimeOfDay',
108
'darwin1ContinentOcean' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/ContinentOcean',
109
'darwin1Country' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Country',
110
'darwin1StateProvince' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/StateProvince',
111
'darwin1County' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/County',
112
'darwin1Locality' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Locality',
113
'darwin1Longitude' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Longitude',
114
'darwin1Latitude' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Latitude',
115
'darwin1CoordinatePrecision' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/CoordinatePrecision',
116
'darwin1BoundingBox' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/BoundingBox',
117
'darwin1MinimumElevation' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MinimumElevation',
118
'darwin1MaximumElevation' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MaximumElevation',
119
'darwin1MinimumDepth' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MinimumDepth',
120
'darwin1MaximumDepth' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/MaximumDepth',
121
'darwin1Sex' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Sex',
122
'darwin1PreparationType' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/PreparationType',
123
'darwin1IndividualCount' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/IndividualCount',
124
'darwin1PreviousCatalogNumber' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/PreviousCatalogNumber',
125
'darwin1RelationshipType' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/RelationshipType',
126
'darwin1RelatedCatalogItem' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/RelatedCatalogItem',
127
'darwin1Notes' => 'http://digir.net/schema/conceptual/darwin/2003/1.0/Notes'
128
);
129

  
130 36
?>

Also available in: Unified diff