BlenderGIS icon indicating copy to clipboard operation
BlenderGIS copied to clipboard

Export georeferenced point

Open mark-spurgeon opened this issue 3 years ago • 0 comments

Blender 2.93, MacOS

Feature request : import/export georeferenced point

Hi, I'm using BlenderGIS back and forth with other GIS / 3D software, and I just came across Infraworks' 3D model exporting system. It exports in .FBX, but it carries along a .pos file which is essentially a GeoJSON point that is the georeferenced origin of the 3D model.

It turned out to be very useful while importing a 3D into Blender and adding data with BlenderGIS (I set blenderGIS's origin to that position).

Hence I think that exporting a 3D model along with a georeferenced point file could allow us to easily import Blender models into Infraworks or other specialized software.

Perhaps it could be useful to set BlenderGIS's georeferenced origin from that file as well (instead of copy/pasting)

This is Infraworks' file's content - IM_Export.pos :

{
	"type": "Feature",
	"geometry": {
		"type": "Point",
		"bbox": [ 2591910.25, 1119047.75, 0, 2591910.25, 1119047.75, 0 ],
		"coordinates": [ 2591910.25, 1119047.75, 0 ]
	},
	"crs": {
		"type": "name",
		"properties": {
			"name": "PROJCS[\"CH1903Plus_1.LV95/01\",GEOGCS[\"CH1903Plus_1.LL\",DATUM[\"CH1903Plus_1\",SPHEROID[\"BESSEL\",6377397.155,299.15281280],TOWGS84[674.3740,15.0560,405.3460,0.000000,0.000000,0.000000,0.00000000]],PRIMEM[\"Greenwich\",0],UNIT[\"Degree\",0.017453292519943295]],PROJECTION[\"Swiss_Oblique_Cylindrical\"],PARAMETER[\"false_easting\",2600000.000],PARAMETER[\"false_northing\",1200000.000],PARAMETER[\"latitude_of_origin\",46.95240555555556],PARAMETER[\"central_meridian\",7.43958333333333],UNIT[\"Meter\",1.00000000000000]]"
		}
	},
	"properties": {
		"rotation": [ 0, 0, 0 ],
		"scaling": [ 1, 1, 1 ]
	}
}

How to Reproduce

...

Error message

...

mark-spurgeon avatar Nov 02 '21 11:11 mark-spurgeon