Search code examples
androiddictionaryautocaddwg

What solutions do we have to read and display Autocad DWG files on Android?


I would like to display rich maps contained in Autocad .dwg files in my Android app. I'd like to know if there is an existing java library to do so?

If not, is it doable to translate a dwg file to a model and draw that model shape by shape on the screen?

I can't use Google maps instead of these files. The whole point of the app is to display a map with a lot of data and all that data is contained in my autocad files library.

Besides, is there an alternative format to DWG that I could use to do exactly this? (UPDATE: would SVG do the trick?)


Solution

  • What I ended up doing is to convert all my files in KML. I've selected this format because it might be the most used format on Android to do GIS.

    To make a custom map, I'm drawing overlays on a mapview using these hints. It's basically the most interesting solution. I don't need to pay attention to geolocation stuff, the cursor and the scale are manage by Google API itself.