WorldFileTool: Unterschied zwischen den Versionen
Stefan (Diskussion | Beiträge) (→Features) |
Stefan (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
'''World File Tool''' - A metadata management tool for georeferenced images. | '''World File Tool''' - A metadata management tool for georeferenced images. | ||
+ | |||
+ | See also [[World file]]. | ||
== About the WorldFileTool == | == About the WorldFileTool == | ||
An interactive tool and a library to georeference images using free and open source software. | An interactive tool and a library to georeference images using free and open source software. | ||
− | A [[ | + | A [[World file]] and the [[KML]] format enable GIS programs to read georeferenced images. |
== Features == | == Features == | ||
Zeile 9: | Zeile 11: | ||
* If needed, rotates an image to be north aligned and saves it back | * If needed, rotates an image to be north aligned and saves it back | ||
* Supports following graphic file formats: jpg, tiff, png, gif | * Supports following graphic file formats: jpg, tiff, png, gif | ||
− | * Imports and exports a [[ | + | * Imports and exports a [[World file]] with its corresponding image |
− | |||
− | |||
− | |||
== Usage == | == Usage == | ||
Zeile 23: | Zeile 22: | ||
Now you can use the image e.g. in [[GIS]] tools like [[UMN Mapserver]] (based on the world file) or in [[IndoorWPS Locator]] (based on the KML). | Now you can use the image e.g. in [[GIS]] tools like [[UMN Mapserver]] (based on the world file) or in [[IndoorWPS Locator]] (based on the KML). | ||
+ | |||
+ | == How to transform a World file into WGS84? == | ||
+ | |||
+ | The WorldFileTool currently can't reproject coordinates, e.g. from local [[CRS]] to other CRSs. But Google Earth for example expects image overlays unprojected with lat/long extents. | ||
+ | |||
+ | Use gdalwarp (see [[GDAL]]) to convert each world file into an unprojected GeoTiff, and then gdal_translate to produce a jpeg compatible with Google Earth, along with another worldfile listing in lat/lon. | ||
+ | |||
+ | % gdalwarp -s_srs EPSG:21781 -t_srs EPSG:4326 switzerland.jpg switzerland_wgs84.tif | ||
+ | % gdal_translate -outsize 13% 13% -of JPEG -co WORLDFILE=YES switzerland_wgs84.tif switzerland_wgs84.jpg | ||
== Download == | == Download == | ||
Zeile 29: | Zeile 37: | ||
== Other Software == | == Other Software == | ||
− | + | See http://freegeographytools.com | |
− | |||
− |
Version vom 12. Mai 2008, 20:30 Uhr
World File Tool - A metadata management tool for georeferenced images.
See also World file.
Inhaltsverzeichnis
About the WorldFileTool
An interactive tool and a library to georeference images using free and open source software. A World file and the KML format enable GIS programs to read georeferenced images.
Features
- Loads, edits and saves KML with its linked image
- If needed, rotates an image to be north aligned and saves it back
- Supports following graphic file formats: jpg, tiff, png, gif
- Imports and exports a World file with its corresponding image
Usage
Prepare the image. In order to minimize the system strain, keep the image size smaller than 2000 x 2000 pixels.
- Open Google Earth, use "Add Image Overlay", save it and export it as .kml in a local directory.
- Start WorldFileTool, import KML and export it either again KML or as world file.
- Done.
Now you can use the image e.g. in GIS tools like UMN Mapserver (based on the world file) or in IndoorWPS Locator (based on the KML).
How to transform a World file into WGS84?
The WorldFileTool currently can't reproject coordinates, e.g. from local CRS to other CRSs. But Google Earth for example expects image overlays unprojected with lat/long extents.
Use gdalwarp (see GDAL) to convert each world file into an unprojected GeoTiff, and then gdal_translate to produce a jpeg compatible with Google Earth, along with another worldfile listing in lat/lon.
% gdalwarp -s_srs EPSG:21781 -t_srs EPSG:4326 switzerland.jpg switzerland_wgs84.tif % gdal_translate -outsize 13% 13% -of JPEG -co WORLDFILE=YES switzerland_wgs84.tif switzerland_wgs84.jpg
Download
- Binaries: Download-Wiki
- Full deliverable contains Java (inc. Javadoc), Swing and test cases (JUnit).