I have the following problem: I want to convert dwg-plans automatically to geopackage/dxf. Most of the plans are not in any geographic coordinate system. I'm trying to construct two separate workflows:
- First detect if the dwg has a coordinate system. If so, just use reprojector to confirm if it is in right coordinate system and use user controlled scaler (sometimes units are m, sometimes mm) then convert to geopackage (this workflow generally works)
- If the file doesn't have any geographic coordinate system, move it to a certain point and scale it (user parameter) preserving distances and angles (because the file used for precise work in QGIS later). The aim to move the drawing in certain location, is to more easily move it manually in QGIS without having to search it from 0,0 coordinates.
I've tried LocalCoordinateSystemSetter among others and got some realistic coordinates when inspecting in FME, but when importing to QGIS, it seems to be in another dimension compared to all the other data in same projection. Is it even possible to achieve this without warping the geometry in some way?