GET /wfs/wfs
Operation ID: getFeature
Auth: unknown
Description
Retrieves geochemical data features from EarthChem databases. Supports multiple feature types including samples, trace elements, isotopes, and major elements.
Parameters (12)
(string, query, optional)
Bounding box filter as minX,minY,maxX,maxY (e.g., -180,-90,180,90)
Constraints: {'pattern': '^-?[0-9]+\\.?[0-9]*,-?[0-9]+\\.?[0-9]*,-?[0-9]+\\.?[0-9]*,-?[0-9]+\\.?[0-9]*$'}
(string, query, optional)
Specific feature ID to retrieve
(string, query, optional)
OGC Filter XML for complex queries
(integer, query, optional)
Maximum number of features to return
Constraints: {'minimum': 1, 'maximum': 10000}
(string, query, optional, default: json)
Output format for the response
Constraints: {'enum': ['json', 'application/json', 'GML2', 'GML3', 'CSV', 'SHAPE-ZIP']}
(string, query, optional)
Comma-separated list of properties to return
(string, query, required)
Request type
Constraints: {'enum': ['GetFeature', 'DescribeFeatureType']}
(string, query, required, default: wfs)
Service type
Constraints: {'enum': ['wfs']}
(string, query, optional)
Property to sort results by
(integer, query, optional)
Start index for pagination
Constraints: {'minimum': 0}
(string, query, optional)
Feature type to retrieve
Constraints: {'enum': ['ECP:EarthChemSamples', 'ECP:Isotopes', 'ECP:Trace_Element', 'ECP:WR_Major_Element', 'ECP:VolatileGas', 'ECP:NobleGas', 'ECP:RareEarth_Element', 'ECP:StableIsotopes', 'ECP:U-Series', 'ECP:WR_Major_Trace_Isotope']}
(string, query, optional, default: 1.0.0)
WFS version
Constraints: {'enum': ['1.0.0', '1.1.0', '2.0.0']}
Examples (3)
| Title | Type | URL | Action |
|---|---|---|---|
| Get features with bounding box for North America | curl |
https://www.earthchem.org/wfs/wfs?service=wfs&request=GetFeature&version=1.0.0&bbox=-140,20,-60,70&outputFormat=json&maxFeatures=10 |
|
| Get specific feature type for samples | curl |
https://www.earthchem.org/wfs/wfs?service=wfs&request=GetFeature&version=1.0.0&typeName=earthchem:samples&outputFormat=json&maxFeatures=5 |
|
| Get feature by ID with specific properties | curl |
https://www.earthchem.org/wfs/wfs?service=wfs&request=GetFeature&version=1.0.0&featureID=SAMPLE_001&propertyName=latitude,longitude,sample_name&outputFormat=json |
Probe History
Status Codes
| Time | Status | Latency | Size |
|---|---|---|---|
| 2026-03-23 10:19:16.568906 | 404 | 1074ms | |
| 2026-03-23 09:18:52.400487 | 404 | 1065ms | |
| 2026-03-23 09:10:50.739917 | 404 | 1074ms |