Issues with consuming a GeoTiff file with geospatial data in DWG files

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello guys,
I am a newbie to the forum and this question may have already been answered. But I need some help with some issues related to Geolocation.
I am trying to attach a geotiff image to a AutoCAD dwg file. The drawing must operate in the 'offline' mode and should NOT use any online map services. However, when the image is attached the coordinate systems information (such as UTM84-41N) is not shown in the dwg file's status bar. Instead the geotiff is displayed as a flat image.
I therefore decided to extract the coordinate system information from the original geotiff file using the 'gdalinfo' executable from the GDAL package separately outside of AutoCAD and then tried to insert the extracted geospatial information into the dwg file using AutoCAD 2015 .NET API's GeoLocationData object.
However, the problem I am facing is that the extracted information from the geotiff file is not in the format as expected by AutoCAD's "GeoLocationData.CoordinateSystem". For example, the extracted coodinate system information from a geotiff as yielded by 'gdalinfo' is "WGS_84_UTM_zone_41N" but the AutoCAD .NET API's GeoLocationData.CoordinateSystem object requires that the value supplied should be "UTM84-41N". In essence, there must be some sort of translation between the two formats before I can insert the information into the dwg file. The geotiff files have been acquired from 'Digital Globe' website.
I therefore have following questions:
1. Is there any information available on how to translate the coordinate system information of the Digital Globe geotiff files into aformat that is appropriate for use with AutoCAD 2015 API's GeoLocationData.CoordinateSystem object?
2. If not what are my alternatives to achieve this?
3. Can we come up with our own Coordinate Systems?
Very sorry for the long-winded post. I appreciate your patience. Any help would be highly appreciated.
Thanks a lot in advance.
Mahbubur Rashid.