File - Create - New Map

icon_map.pngMaps are components that take their layers from other components, with each layer being a drawing, an image or a labels component. Map windows add a tab strip to the bottom of the window with the name of each layer on its tab.    In this topic we tend to use the word layer as a synonym for component, because that is how components appear in maps, as layers in the map.

 

By default, new maps are created using the EPSG:3857 Pseudo-Mercator coordinate system, as used by almost all modern web mapping data sources.  Components that appear in a map as layers can use coordinate systems that are different from the map.  They will be re-projected on the fly into the map's coordinate system when displayed in the map.

Three Ways to Create a New Map

 

See the Maps topic for information on maps and layers, and the Example: Create Maps topic for step-by-step illustrations of the procedures below.

 

To create a new, blank map:

 

  1. Choose File - Create - New Map or use the context menu from right-clicking on a blank spot in the Project pane.

  2. Specify a Name for the new map.

  3. Press Create Map.

 

A new, blank map component will appear in the Project pane.   The coordinate system we choose does not matter since the new, blank map will take on the coordinate system of whatever is the first component that is dropped into the map.

 

To add a layer to a map:

 

  1. Open the map by double-clicking it in the Project pane.

  2. Drag and drop the desired layer from the Project pane into the map.

  3. The first layer added specifies the coordinate system the map will use.

  4. If any additional layers use a different coordinate system, the map will show them in the map's coordinate system.

  5. Rearrange layers by dragging their tabs left or right, or by using the Layers panel.

 

ico_nb_arrow_blue.pngWhen a new, blank map is created, the map's coordinate system will automatically be changed to whatever is the coordinate system used by the first layer that is added to the map.    Additional layers will be re-projected on the fly, if necessary, into the coordinate system used by the map.  That on the fly re-projection is for display only: the components will not be modified.

 

To create a new map using one, existing component as a layer:

 

  1. In the Project pane, right-click on the desired component.

  2. In the context menu that pops open, choose Create - New Map.

  3. Specify a Name for the new map.

  4. Choose a coordinate system if the component's coordinate system is not desired.

  5. Press Create Map.

 

A new map will be created with the chosen existing component as a layer.   By default, the new map will use whatever coordinate system is used by the single component that was right-clicked.   That can be changed in the New Map dialog to some other coordinate system, if desired.   

 

To create a new map using multiple components as layers:

 

  1. In the Project pane, ctrl-click on drawing, image or labels components to highlight them.

  2. Right-click onto any one of the highlighted components.

  3. In the context menu that pops open, choose Create - New Map.

  4. Specify a Name for the new map.

  5. Uncheck the box for any component in the list not desired as a layer.

  6. Click on any item and then move it up or down in the layer order list.

  7. Choose a coordinate system if the default is not desired.

  8. Press Create Map.

 

A new map will be created with the chosen components as layers, in the order in which they appeared in the list when creating the map.   The new map will use whatever coordinate system was specified for the map, by default EPSG:3857 Pseudo-Mercator, while the existing components will continue with their own coordinate systems.   If those are different than the map's coordinate system, the layers will be re-projected on the fly into the coordinate system of the map.

 

To create a new map from an existing map:

 

  1. In the Project pane, right-click on the desired map.

  2. In the context menu that pops open, choose Create - New Map.

  3. Specify a Name for the new map.

  4. Choose a coordinate system if the given coordinate system is not desired.

  5. Uncheck the box for any component in the list not desired as a layer.

  6. Click on any item and then move it up or down in the layer order list.

  7. Choose a coordinate system if the default is not desired.

  8. Press Create Map.

 

Creating a new map from an existing map will list all of the layers in the existing map in the New Map dialog.  We can then uncheck those layers not desired in the new map.

File - Create - New Map

dlg_create_new_map.png

 

In the main menu choose File - Create - New Map or right-click an empty spot in the Project pane and choose Create - New Map.

 

Name

Name for the map.  "Map" by default.  Specify a more informative name as desired.

Coord system

The coordinate system to be utilized for the map.  The default is the same Pseudo-Mercator coordinate system that is used by almost all web servers.   In most cases this setting does not matter because the first layer added to the map will set the coordinate system used by the map.

btn_coord_sys_picker.png

Coordinate system picker button.  Used to specify the coordinate system to be used by the new map.   Choose one of the Favorite Coordinate Systems from the list that appears or choose Edit Coordinate System to launch the Coordinate System dialog that allows choice of a seemingly infinite range of possibilities.

Create Map

Create the new map.

Edit Query

Launch the Command Window loaded with a query that creates the map using the given settings.  A great way to learn how to use SQL to create maps.

Cancel

 Exit the dialog without doing anything.

 

Maps from Queries

To learn how to create a map from an SQL query, choose File - Create - New Map and then press the Edit Query button.

 

dlg_create_new_map_query.png

 

Launching File - Create - New Map opens the New Map dialog.   We press the Edit Query button to launch the SQL Command Window loaded with a query that creates the Map.

 

-- $manifold$

--

-- Auto-generated

-- New Map

--

CREATE MAP [Map] (

  PROPERTY 'CoordSystem' '{ "Name": "WGS 84 \\/ Pseudo-Mercator (EPSG:3857)", "System": "Pseudo Mercator", "CenterLat": 0, "CenterLon": 0, "Axes": "XY", "Base": "WGS 84 (EPSG:4326)", "MajorAxis": 6378137, "Eccentricity": 0.08181919084262149, "Unit": "Meter", "UnitScale": 1, "UnitShort": "m" }'

);

 

The query above is very simple, and shows how to create a map using SQL.

 

See Also

Getting Started

 

Maps

 

Tables

 

Drawings

 

Images

 

Labels

 

Project Pane

 

Style

 

Projections

 

Contents - Layers

 

Example: Project Pane Tutorial - In this example we take an extended tour of the Project pane, engaging in a variety of simple but typical moves that are illustrated step by step.

 

Example: Layers Tutorial - We take a tour of the Layers panel in the Contents pane, learning how to manage layer display order, select layers, turn several layers on and off at the same time, alter opacity settings for one or more layers and how to change background color.

 

Example: Create Maps - Maps are used to show layers that can be drawings, images, and labels.  This topic shows how to create new, blank maps, how to create maps from existing components, and how to create maps from other maps.

 

Example: Re-project a Drawing - An essential example on changing the projection of a drawing, either within the drawing itself, or by changing the projection of a map window that shows the drawing and re-projects on the fly for display.