Message posté par : Sylvain M.
----------------------------------------
Si la manip doit être récurente, je pense qu'il faudrait écrire un script d'import
avec OGR2OGR.
Exemple de script trouvé ici
(
http://postgis.17.x6.nabble.com/Help-on-using-Ogr2ogr-to-load-dxf-data-to-p…)
:
-----------------
Code :
ogr2ogr --config DXF_INLINE_BLOCKS FALSE --config DXF_MERGE_BLOCK_GEOMETRIES FALSE -f
"PostgreSQL" PG:"host=localhost user=postgres dbname=mydb
password=myPassw" mydxf.dxf -where "Layer NOT LIKE 'X%'" -overwrite
entities
-----------------
----------------------------------------
Le message est situé
https://georezo.net/forum/viewtopic.php?pid=344890#p344890
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