Diskussion:WorldFileTool: Unterschied zwischen den Versionen
Aus Geoinformation HSR
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...) |
DTran (Diskussion | Beiträge) |
||
Zeile 1: | Zeile 1: | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Workflow == | == Workflow == | ||
# Get image to be referenced about a region on earth; e.g. a floor plan from a building ('building map'). | # 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. | # Start Google Earth, create "New overlay..." and georeference image. | ||
# In Google Earth export overlay as KML (not KMZ) "Save As...". | # In Google Earth export overlay as KML (not KMZ) "Save As...". | ||
− | # Start ''' | + | # Start '''WorldFileTool''' |
## Choose "Open KML..." (which includes already overlay title, image name, bbox) | ## 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) | ## (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. | ## add metadata in GUI: floor (-99..99) and priority (0=nil=>unknown,1..100), map type (<background>1<background>) change title. | ||
− | # using ''' | + | # using '''WorldFileTool''' do either... |
## "Save KML" again | ## "Save KML" again | ||
## (optional) Export world file | ## (optional) Export world file | ||
Zeile 23: | Zeile 14: | ||
There exist alternatives to georeference an image: See [http://gis.hsr.ch/wiki/Georeferenzieren_von_Bildern GISpunkt Wiki] (german) and [http://freegeographytools.com/2007/importing-google-earth-imagery-into-a-gis freegeographytools.com]. | There exist alternatives to georeference an image: See [http://gis.hsr.ch/wiki/Georeferenzieren_von_Bildern GISpunkt Wiki] (german) and [http://freegeographytools.com/2007/importing-google-earth-imagery-into-a-gis freegeographytools.com]. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
== Specifications == | == Specifications == | ||
Zeile 52: | Zeile 37: | ||
Point getlat2lon2(Image img, File worldfile) | Point getlat2lon2(Image img, File worldfile) | ||
etc. | etc. | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− |
Version vom 17. April 2008, 20:28 Uhr
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.
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.