GeoRefImg is a LISP utility for AutoCAD 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, 2012, 2013, 2014 (plus Architecture, Mechanical, MEP) which can automatically reposition raster images used in a drawing to the position defined in the images' World files. World files define geo-position and other parameters of a raster image (TIF, CIT, JPG, JP2, PNG, GIF, BMP, ECW, SID...).
Load this utility with _APPLOAD.
For AutoCAD 2012/2013/2014: automatically install GeoRefImg from Apps Exchange, or copy the whole "GeoRefImg.bundle" folder as a subfolder to:C:\Program Files\Autodesk\ApplicationPlugins
or (XP):C:\Documents and Settings\<usrname>\Application Data\Autodesk\ApplicationPlugins
-- GeoRefImg will be loaded automatically (see _APPAUTOLOADER)
Start GeoRefImg by typing the GEOREFIMG command. GeoRefImg prompts to select objects (existing images) and then performs the repositioning and scaling controlled by the World files (TFW, TFWx, JGW, JPW, PGW, GFW, BPW, SDW, EWW, WLD...). World files are searched in the folders of the original raster file.
The additional command WORLDOUT can create a new world file from an existing positioned image. Rotated images are supported since version 2.5.
GEOREFIMG checks the format of the world file and refuses to update images with "suspect" world files. You can control the tolerance (precision) and some of the pre-flight checks:
(setq GeoRefCheckTol 0.03) (setq GeoRefCheckIgnore T)
* Rotation defined in the world file (rarely used) is applied only since GeoRefImg version 1.5
* GeoRefImg does not handle georeference information embedded directly in raster files (e.g. GeoTiff, some ECW files).
* GeoRefImg is useful even in AutoCAD Map and Civil3D (already contain georeferencing) as WorldOut works there.
GEOREFIMG is a free utility by CAD Studio, do not publish it online on other than CADstudio's web servers. Contact CAD Studio for feature enhancements.
Download the GeoRefImg application (for AutoCAD 2014-2004)