Agisoft Metashape

Agisoft Metashape => General => Topic started by: scannapieco on December 04, 2018, 08:32:07 PM

Title: PROBLEM IMPORTING DXF FILE IN PHOTOSCAN
Post by: scannapieco on December 04, 2018, 08:32:07 PM
I have to import a dxf file generated with AutoCAD in Photoscan for shapes.
See the attached dxf file.
Photoscan doesn't import the shapes and tell to me that it doesn't find .prj file.
But Autocad saving dxf file doesn't create .prj file.
What can I have to do for import these file?
The system is EPSG 25832.
Thank you very much.

Alex
Title: Re: PROBLEM IMPORTING DXF FILE IN PHOTOSCAN
Post by: Alexey Pasumansky on December 04, 2018, 09:05:27 PM
Hello Alex,

You can open coordinate system editor dialog in PhotoScan (for example, from the Reference pane settings dialog), switch to coordinate system selection, then locate EPSG::25832 system and save it as PRJ file with the same name as your DXF that you are trying to import.
Title: Re: PROBLEM IMPORTING DXF FILE IN PHOTOSCAN
Post by: scannapieco on December 04, 2018, 10:41:28 PM
Hello Alex,

You can open coordinate system editor dialog in PhotoScan (for example, from the Reference pane settings dialog), switch to coordinate system selection, then locate EPSG::25832 system and save it as PRJ file with the same name as your DXF that you are trying to import.

Now, the error for the file .prj doesn't appear but Photoscan doesn't import shapes.
It reports to "Imported 0 shapes".
See attached files.
Alex
Title: Re: PROBLEM IMPORTING DXF FILE IN PHOTOSCAN
Post by: scannapieco on December 05, 2018, 11:40:22 AM
I saved the dxk file in AutoCAD R12 and then Photoscan imports it correctly.
SOLVED.
Title: Re: PROBLEM IMPORTING DXF FILE IN PHOTOSCAN
Post by: Alexey Pasumansky on December 05, 2018, 02:41:12 PM
Hello Alex,

Probably, in the original DXF there were also some unsupported element types that cannot be imported to PhotoScan.