Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Update pipeline classification
Russ Garrett06de89e3651e
diff --git a/schema/functions.sql b/schema/functions.sqlindex 87bf249..8a41a2d 100644--- a/schema/functions.sql+++ b/schema/functions.sql@@ -305,10 +305,8 @@ CREATE OR REPLACE FUNCTION pipeline_type(substance TEXT)SELECT CASEWHEN substance IN ('natural_gas', 'gas', 'oil', 'fuel', 'cng', 'lpg', 'ngl', 'lng',- 'y-grade', 'hydrocarbons', 'hydrogen', 'carbon_dioxide', 'carbon_monoxide',- 'ethylene', 'propylene', 'chemicals', 'chemical', 'ammonia',- 'methane', 'ethane', 'nitrogen', 'isobutane', 'butane',- 'propane', 'condensate', 'butadiene', 'naphtha'+ 'y-grade', 'hydrocarbons', 'hydrogen', 'ethylene', 'ethene', 'propylene', 'propene',+ 'methane', 'ethane', 'isobutane', 'butane', 'propane', 'condensate', 'butadiene', 'naphtha') THEN 'petroleum'WHEN substance IN ('water', 'hot_water', 'rainwater', 'wastewater', 'sewage','waterwaste', 'steam') THEN 'water'