Skip to content

Crops a raster image from a rectangle in a dxf file with georeferencing using gdal tools.

Notifications You must be signed in to change notification settings

duanyukai/raster_crop_2dxf

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 

Repository files navigation

Crops a georeferenced raster image (must have world coordinates file) with the coordinates from a dxf file that contains a rectangle. 
Creates world coordinates tfw file for the cropped raster.
Additionally, creates another dxf file that includes the cropped raster (georeferenced).

Python dependencies: dxfgrabber, ezdxf
External dependencies: gdal_translate and listgeo (must be included in path system variable)

About

Crops a raster image from a rectangle in a dxf file with georeferencing using gdal tools.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%