Message posté par : Jean Cascalès
----------------------------------------
Voici les tests :
trunc(st_area(parcelle.geom)::numeric, 2) : ERROR: cannot change data type of view column
"superficie" from text to numeric
trunc(st_area(parcelle.geom)::numeric, 2)::numeric : ERROR: cannot change data type of
view column "superficie" from text to numeric
replace(trunc(st_area(parcelle.geom)::numeric, 2)::text,'.', ',') :
Fonctionne mais donne du texte sous excel
replace(trunc(st_area(parcelle.geom)::numeric, 2)::text,'.', ',')::numeric
: ERROR: cannot change data type of view column "superficie" from text to
numeric
round(st_area(parcelle.geom)::numeric, 2) : ERROR: cannot change data type of view column
"superficie" from text to numeric
Sinon, dans excel, sélection de la colonne >>- Données>>- Convertir en mode
standard.
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=324046#p324046
Pour y répondre : geobd(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