Geosoft mapping software for geophysics, geology, geochemistry
 

How To: Create a custom page size for creating maps and map templates

|

Symptom/Problem:
User has a custom paper size that they would like to use for creating maps, and in the creation of map templates.


Environment:
Oasis montaj and Target. Does not apply to Target for ArcGIS.


Resolution:

To do this, the user needs to do 2 things (with Oasis Montaj/Target closed):
1. Edit the media.csv file in order to add the paper size.
2. Add a map template to maptmpl.csv file, so that the new paper size appears in the paper size dropdown menu.

If you just want to add a paper size to the map templates, you need to just edit the media.csv. If you want to add a paper size for creating map, you need to edit the media.csv and maptmpl.csv.


Step 1:

In the media.csv file (located in C:\Program Files\Geosoft\Oasis montaj or Target\user\csv), add the desired paper size.

For example: (follow the formatting of the *.csv file)
Media = "Custom" (without the quotes)
Size_X = 89.04
Size_Y = 89.04
FullSize_X = 91.44
FullSize_Y = 91.44

FullSize_X and FullSize_Y are the real page measurements in centimeters. SizeX and SizeY are the extents of the printable area of the page. Ensure that you save this file as a *.csv back into the \user\csv folder, calling it media.csv.


Step 2:

In the maptmpl.csv file (located in C:\Program Files\Geosoft\Oasis montaj or Target\user\csv), add a line to the bottom of the list of page sizes.

Description of the fields in maptmpl.csv:
Name - what you see in the list of page types in Oasis montaj or Target;
Layout - Orientation: Portrait or Landscape;
Media - Ensure that this name matches the "Media" name in the media.csv file. In the above example we used "Custom", so use the same name here;
Type - "Figure" or "Map". Hint: figure works best with portrait orientation, and map works best with landscape orientation
Fixed - Page size: fixed - page size stays the same; minimum - page size can change with the size of the data view
Margins - the white space surrounding the map

As before, save this file as a *.csv in the user\csv directory, calling it maptmpl.csv.


When you create a new map (Map Tools > New Map) in Oasis Montaj or Target, your new page size will be available in the list. Note that the paper size will be referenced using the "Name" field that was entered in the maptmpl.csv file.

When you create a map template (Map Tools > Map Template > New Blank Map Template) in Oasis montaj or Target, you will now have the option to choose your newly created paper size. Note that the paper size will be referenced using the "Media" name that was entered in the media.csv file.