computo indice di boscosita tramite spatialite - https://www.lezionigis.it/es09/lezioni gis
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
create table indice_boscosita as | |
select COMUNE,CastToMultiPolygon(st_union(st_intersection (clc.geom, com.geom))) as geom, count (*)as nro, | |
(sum (st_area(st_intersection (clc.geom, com.geom))) / st_area(com.geom))*100.00 as indice | |
from CLC_Molise clc, comuni_molise com | |
where liv_3 like 'Boschi%' and st_intersects (clc.geom, com.geom) = 1 | |
group by 1 | |
order by indice desc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment