Hi Anyone tried to export the AIM model to KML file format? Are there any tricks? Only FBX and IMX can be exported from AIM! Does it need to convert by Civil 3D or Max design? How to preserve the coordinate system? Waiting for your kind feedback!
I've gotten my features dumped into various formats - and just tried KML. I had to use a SQLite exporter command line tool to do the conversion. This is first run that I did and it seems to work okay (except some of my data coming out was huge - it was the full source file I had imported, not trimmed to city extent). I'm not sure if it exports 3D models associated with some layers, etc. It certainly did not export colours for the water features I tried
The GDAL/OGR conversion toolkit is the open source choice, or else you can also use FME for more advanced options (e.g. more Autodesk output formats and maybe handles more 3D objects and styling ??).
First use GDAL/OGR's ogrinfo tool to see what layer names are stored in your city.sqlite file:
> ogrinfo mycity.sqlite
Then I used GDAL/OGR's ogr2ogr command like:
ogr2ogr -f KML output.kml mycity.sqlite RAILWAYS
If anyone need tips to get this process started I'm happy to tell more.
I don't have Autodesk Map 3D handy, so forgive me if it can also do this...
In Quantum GIS (download for windows here) you can also open SQLite format that AIM uses in the backend.
See attached screenshot below (dense tree points in top right).
From QGIS menu, choose...
Several of the layers in the database don't have geometry associated with them (apparently), and others it's not clear by the dialog box it shows. With a small sample project, just select all the layers and say OK. You'll then see all the layers loaded. Some will show as points, lines, polygons and some will just be little table symbols in the list on the left.
Hope that helps, holler here or in private message if you want some more help.
I'm impressed with the structure and accessibility of the AIM format (good job folks!!), because they didn't reinvent the wheel there should be no reason to not be able to export. Perhaps I have to learn about scripting in AIM or to talk to others at Autodesk to see if we can leverage these libraries that they already use behind AIM to export more options.
Which version of GDAL are you using now? I using GDAL 1.7.0b2 pre-compilied binary.
It fails everytime when I tried to convert the sqlite to shp! I have attached the screenshot for your reference.
Access a broad range of knowledge to help get the most out of your products and services.
Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.
Upgrading to a 2015 product? Make sure to check these out 1st!