Message posté par : laurent00
----------------------------------------
j'ai cette formule qui me permet de calculer l'aire globale de cette emprise
depuis la première couche
mais comment créer l'emprise elle même ?
-----------------
Citation :
area(
make_polygon(
make_line(
make_point(
if((x_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< x_min( $geometry), (x_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), x_min( $geometry)),
if((y_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< y_min( $geometry), (y_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), y_min( $geometry)) ),
make_point(
if((x_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< x_min( $geometry), (x_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), x_min( $geometry)),
if((y_max( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))> y_max( $geometry), (y_max( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), y_max( $geometry)) ),
make_point(
if((x_max( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))> x_max( $geometry), (x_max( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), x_max( $geometry)),
if((y_max( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))> y_max( $geometry), (y_max( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), y_max( $geometry)) ),
make_point(
if((x_max( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))> x_max( $geometry), (x_max( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), x_max( $geometry)),
if((y_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< y_min( $geometry), (y_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), y_min( $geometry)) ),
make_point(
if((x_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< x_min( $geometry), (x_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), x_min( $geometry)),
if((y_min( geometry( get_feature('tourettes', 'trt_id', attribute
($currentfeature, 'maa_id' )) ) ))< y_min( $geometry), (y_min( geometry(
get_feature('tourettes', 'trt_id', attribute ($currentfeature,
'maa_id' )) ) )), y_min( $geometry)) )
)
)
)
-----------------
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=366302#p366302
Pour y répondre : qgis_fr(a)ml.georezo.net ou reply de votre messagerie
Pour vous désabonner connectez-vous sur le forum puis Profil / Abonnement
--
Association GeoRezo - le portail géomatique
https://georezo.net