Professional Documents
Culture Documents
Geo Priority.
What is Geo Priority?
The Geo Priority field in the Raster Manager dialog displays the method used to geographically
position the image. The available choices are Attachment, Raster Header, Sister File and From
Preferences.
The image may have native geographic metadata stored in the image itself (raster header) or in
a companion file (sister file or world file). When no native methods are present, the image is
geographically positioned by the user and this location is stored in the design file. This method
is called “attachment” (similar to the way normal vector references are handled).
A simple way to think about a header is that it is the “contents” information of a file. Before you
get to the actual file information (in the case of a DGN, the lines, arcs, levels, etc; or in the case
of a raster the pixels, their colour, etc) there is information necessary to be able to use the file
correctly: what type of file it is, what version and other such information. Certain rasters can hold
their co-ordinate location and scale inside their file header.
A sister file is simply a text file containing the co-ordinates and scale that is related (get the
pun?) to the raster. This can be used when the raster format (e.g. JPG or BMP) cannot store the
location in its header.
The geographic metadata is always preserved and updated in the saved attachment. In cases
where the image has native geographic metadata, once attached to a design file, it is
sometimes useful to specify which metadata storage to use, such as Raster Header (when the
location information is included as part of the raster file itself), Sister File (the location
information is in a separate text file) or Attachment (when the location is defined by the user).
The Geo Priority column displays the method used to position the image and, upon reopening
the design file, will display in green (well, olive, if you want to get picky and definitely not red, as
Help says) if the previous method cannot be used. For example, you may want to attach an
image using a sister file, but once attached you want the geographic metadata to be read from
the attachment. You would then set the Workspace>Preferences>Raster Manager to prioritise
native Geographic metadata and would change the Geo Priority to attachment. Yikes - you still
with me?
I can reorder the active rasters by dragging them in the list, but not the grey referenced ones.
If I moved the raster to a different folder location then it would show up red in the list like a lost
reference file does in the Reference Manager dialog.
To change the Geo Priority, simply click in the Geo Priority column. This will open the Geo
Priority dialog box. You can then change the selection.
Note: If many attachments of the same raster are found in many models, the position of the
raster found in the Default (main) model will take precedence over the position found in all the
other models.
In “simple” terms what this means is, when “File Georeference Has Priority…” is ticked, the
georeference location will be used to position the file. “If Use Sister File…” is ticked the sister file
is used (if it exists). If both are ticked, the order of attachment type that Raster Manager uses
will be:
1. Always use the sister file, ignoring any georeference location stored in the header of the
raster file itself.
2. If there is no sister file, use the georeference information in the raster header.
3. If the raster format doesn’t support this, or there is no georeference data, use the
attachment information.
An image with no header or sister file data inserted with no tick in Place Interactively check box,
will be inserted so that the top left hand corner is at 0,0.
Once loaded in Raster Manager, the GeoPriority setting can be used to change the
georeference from Sister File to Image Header or Attachment. This preference is useful for
image files that were used with legacy systems not supporting header information and where
sister/world files were used instead to store the geo-location.
GeoTiff Settings
Raster Manager needs to know the GeoTiff image file' s coordinate units to be able to correctly
place it in the design plane. This information is extracted based on the GeoCoding Projected
Coordinate System (PCS) and the EPSG table that define the unit for this PCS. In some
circumstances, a ProjLinearUnitsGeokey can also exist within the GeoTiff; this geokey also
defines a unit for the GeoTiff. A problem arises when:
• PCS and ProjLinearUnitsGeokey are both undefined. In this case, the GeoTiff unit is
unknown.
• PCS and ProjLinearUnitsGeokey are both defined but not resolved in the same unit.
The following preferences exist to resolve GeoTiff units and display GeoTiff image files
correctly:
Questions:
If I know what the coordinate for an image is, how do I create a sister file?
You can create sister file by using a simple text editor like Notepad. All you need to do is call the
file exactly the same name as the raster with, for example, a .JGW extension for JPG rasters.
Then type in the co-ordinate and scale information in the right format and save the file.
Can you do this by setting the right location in MicroStation then saving the sister file
automatically there?
Check out the article “Create JGW files automatically” and download the CreateJGW utility.