Open Infrastructure Map, a view of infrastructure data in OpenStreetMap
Reduce estimated size of point generators
Russ Garrette40076728e84
diff --git a/functions.sql b/functions.sqlindex 89cb4d7..3dc76a3 100644--- a/functions.sql+++ b/functions.sql@@ -128,7 +128,7 @@ CREATE OR REPLACE FUNCTION solar_output(geom GEOMETRY) RETURNS DOUBLE PRECISIONDECLAREBEGINIF ST_GeometryType(geom) = 'ST_Point' THEN- RETURN 5000; -- Assume point generators have a fixed output of 5 kW+ RETURN 1000; -- Assume point generators have a fixed output of 1 kWEND IF;RETURN area_sqm(geom) * 150; -- 150 W/m^2END