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...)

(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)
Wechseln zu: Navigation, Suche

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

  1. Get image to be referenced about a region on earth; e.g. a floor plan from a building ('building map').
  2. Start Google Earth, create "New overlay..." and georeference image.
  3. In Google Earth export overlay as KML (not KMZ) "Save As...".
  4. Start !WorldFileTool
    1. Choose "Open KML..." (which includes already overlay title, image name, bbox)
    2. (optional) or 1. open image file (e.g. jpg), take worldfile (e.g .jpw)
    3. add metadata in GUI: floor (-99..99) and priority (0=nil=>unknown,1..100), map type (<background>1<background>) change title.
  5. using !WorldFileTool do either...
    1. "Save KML" again
    2. (optional) Export world file
    3. (optional) Generate 'background map' (includes KML and image) (internet access required).
  6. 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