Hi,<div><br></div><div>I am trying to intersect two gemetries (casted to geography) and calculate the sum of these in <a href="http://sq.km">sq.km</a>.</div><div>However, the query return this error:</div><div><div>ERROR: AddToPROJ4SRSCache: couldn't parse proj4 string: '+proj=utm +zone=0 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs': invalid UTM zone number</div>
<div>********** Error **********</div><div>ERROR: AddToPROJ4SRSCache: couldn't parse proj4 string: '+proj=utm +zone=0 +south +ellps=WGS84 +datum=WGS84 +units=m +no_defs': invalid UTM zone number</div><div>SQL state: XX000</div>
<div><br></div></div><div>My query:</div><div><div>select p.gid, SUM(ST_Area(ST_Intersection(p.cell::geography, c.geom::geography)))/1000^2 AS landarea FROM cshapeswdatevalid c, priogrid_land p WHERE ST_Intersects(p.cell::geography, c.geom::geography)</div>
<div>AND c.gwsyear <= 2008 AND c.gweyear >= 2008</div><div>GROUP BY p.gid ORDER BY p.gid;</div></div><div><br></div><div>Any idea what is going on?</div><div><br></div><div>Best,</div><div>Andreas</div>