Diskussion:WorldFileTool
Aus Geoinformation HSR
Version vom 17. April 2008, 20:24 Uhr von DTran (Diskussion | Beiträge) (Die Seite wurde neu angelegt: == World File Tool - A metadata management tool for georeferenced images == An interactive tool and a library to georeference images using free and open source softwar...)
Inhaltsverzeichnis
World File Tool - A metadata management tool for georeferenced images
An interactive tool and a library to georeference images using free and open source software.
Features:
- jpg, tiff, png, gif
Full deliverable contains Java (inc. Javadoc), Swing and test cases (JUnit). This documentation will be soon placed on http://gis.hsr.ch/wiki/WorldFileTool.
Workflow
- Get image to be referenced about a region on earth; e.g. a floor plan from a building ('building map').
- Start Google Earth, create "New overlay..." and georeference image.
- In Google Earth export overlay as KML (not KMZ) "Save As...".
- Start !WorldFileTool
- Choose "Open KML..." (which includes already overlay title, image name, bbox)
- (optional) or 1. open image file (e.g. jpg), take worldfile (e.g .jpw)
- add metadata in GUI: floor (-99..99) and priority (0=nil=>unknown,1..100), map type (<background>1<background>) change title.
- using !WorldFileTool do either...
- "Save KML" again
- (optional) Export world file
- (optional) Generate 'background map' (includes KML and image) (internet access required).
- Use georeferenced image in your GIS viewer (e.g. IndoorWPS), map server or GIS.
There exist alternatives to georeference an image: See GISpunkt Wiki (german) and freegeographytools.com.
Use Cases
- load, edit and save georeferenced KML
- import a world file with its corresponding image
- export a world file
- generate a 'background map' from Google Maps (Static Maps API), Yahoo Maps or !OpenStreetMap (tiles-at-HOME)
Specifications
Floor: Stock. ACHTUNG:
- Erdgeschoss => first floor (en_GB: ground floor)
- 1. Stock => 2nd floor (US)
KML:
- Examples to test load/import (KML without metadata, image):
- http:files/amklusbach.zip
- Building map example to test export (KML, image):
- http:files/gebaeude.zip
- Background map example to test Google Maps export (KML, image):
- http:files/background.zi
- KML with priority
- (?upload)
Methoden
/* Assumes a world file of a north up image, unprojected and in WGS 84, defined with following affine transform parameters */ Point getlat2lon2(Image img, File worldfile) etc.
Useful Weblinks
- Deegree-Code: See Javadoc of WorldFile class
- http://www.nabble.com/world-file-to-world-file-td15352846.html
- Hintergrundkarte bzw. WMS: GoogleWMS: http://peterdamen.com/GoogleWMS/
- Tiling Links: http://del.icio.us/sfkeller/tiling
- OSM