Difference between revisions of "Import Background Image"

From Heureka Wiki
Jump to navigation Jump to search
Line 10: Line 10:
 
#Now you might be in a tricky position; if the original image is in 8 bit you must force it into the three bands RGB to obtain a 24 bit-image. This might be possible only if you export to an output raster with .bmp-format. If so, open the bitmapped file in, e.g., Paint and save it as .tif-file
 
#Now you might be in a tricky position; if the original image is in 8 bit you must force it into the three bands RGB to obtain a 24 bit-image. This might be possible only if you export to an output raster with .bmp-format. If so, open the bitmapped file in, e.g., Paint and save it as .tif-file
 
#Did you obtain a corresponding World file (.tfw or .bpw)? This is needed for geo-referencing purposes, and in most GIS's a built-in functionality (automatically runned), else you might need to create such file separately
 
#Did you obtain a corresponding World file (.tfw or .bpw)? This is needed for geo-referencing purposes, and in most GIS's a built-in functionality (automatically runned), else you might need to create such file separately
#Did your World file turn out alright? Sometimes EOL is misinterpret and then you must edit the .tfw-file so that it contain six rows.
+
#Did your World file turn out alright? Sometimes EOL is misinterpret and then you must edit the .tfw-file so that it contain six rows
 +
#Finally, the spatial reference of an image should be set to the Swedish Grid RT90, 2.5 gon West, to enable viewing in PlanWise [Redundant? What is important is probably that different imported maps and images are in same system.].  
  
 
Now return to PlanStart, and in menu "External data" > "Import background image...":
 
Now return to PlanStart, and in menu "External data" > "Import background image...":
Line 21: Line 22:
 
Before you go on with importing the pyramides (i.e. the divided background image), make sure this is done to a forest database where no other image data is overwritten.
 
Before you go on with importing the pyramides (i.e. the divided background image), make sure this is done to a forest database where no other image data is overwritten.
 
   
 
   
 
#To change the folder where the project will be created, choose Browse (to the right of the Location combo box), and select a folder. The new project will be created in a sub folder in the selected folder . The sub folder will have the same name as the project.
 
#To specify or change the location of the forest database, choose Browse (to the right of the Forest Database combo box), and enter the database configuration for the forest database.
 
#To specify or change the location of the result database, choose Browse (to the right of the Result Database combo box), and enter the database configuration for the forest database.
 
 
 
*'''Tip 1'''
 
*'''Tip 1'''
:You can quickly select one of the most recent project locations, forest databases, and result databases you have used by dropping down and selecting a value from the corresponding combo box.
+
:Since creating pyramids for large images is time-consuming,
 
 
*'''Tip 2'''
 
:To see more information, you can resize the open project dialog.
 
 
 
*'''Tip 3'''
 
:To create a
 
 
 
 
Associated pyramid file is used for geo-referencing. Any conversions - coordinate system transformations - should be done prior to import. [The map-viewer in PlanWise is based on the Swedish Grid (RT90, 2.5 gon V), redundant?]
 

Revision as of 14:54, 7 May 2009

A forest map related to the stand register data can be imported ("Link to existing area..." or "Import forest map..." > "Import from shape") only if the format is "Shape". Digital maps in other formats should be converted before import. Linking is done by using the .dbf-file of the map and the three first fields of the register's .csv-file (MapId, StandId, and SubStandId, respectively).

Background images (in raster format, as opposed to the vector format above) can be imported and viewed with the forest map. Preferrably, the image should be in .tiff-file format (but other graphical formats are possible, e.g. .bmp). NB: Only one layer per type (Road-, Terrain-, and Ortomap) is possible to import to the forest database, any new image-import will overwrite the old, already imported images! This is of course unfortunate and will be fixed in future releases. A roadmap, more or less covering the entire company sphere of activities, might be imported once and for all while the ortophotos probably would be added continuously as new areas are to be analysed.

However, this is the somewhat advanced steps in importing images:

  1. In your GIS, open the raster image
  2. If necessary, zoom to/select the area of interest (to decrease the extent of the image and hence the file-size)
  3. Choose "Export Raster Data" (or similar)
  4. Now you might be in a tricky position; if the original image is in 8 bit you must force it into the three bands RGB to obtain a 24 bit-image. This might be possible only if you export to an output raster with .bmp-format. If so, open the bitmapped file in, e.g., Paint and save it as .tif-file
  5. Did you obtain a corresponding World file (.tfw or .bpw)? This is needed for geo-referencing purposes, and in most GIS's a built-in functionality (automatically runned), else you might need to create such file separately
  6. Did your World file turn out alright? Sometimes EOL is misinterpret and then you must edit the .tfw-file so that it contain six rows
  7. Finally, the spatial reference of an image should be set to the Swedish Grid RT90, 2.5 gon West, to enable viewing in PlanWise [Redundant? What is important is probably that different imported maps and images are in same system.].

Now return to PlanStart, and in menu "External data" > "Import background image...":

  1. In "Create pyramides", the catalogue with graphical files must contain at least one graphical .tif-file with a corresponding world .tfw-file (formatted as described above)
  2. In "Create pyramides", the catalogue with pyramid files can be empty, created files will end up here
  3. Choose correct map type and "Create"
  4. Looking at the pyramides of an image, you will find it divided into several images, or layers, with different resolution in each layer. The presentation of such image in a GIS/Map viewer will then be done more rapid, adapting to current view-scale.

Before you go on with importing the pyramides (i.e. the divided background image), make sure this is done to a forest database where no other image data is overwritten.

  • Tip 1
Since creating pyramids for large images is time-consuming,