File - Create - New Location

icon_location.png Locations save a particular geographic location with an associated scale, thus saving a given view in a map or other window to which we can return.  Locations are simply text components that contain a geographic center written in latitude / longitude decimal degrees using WGS84 datum, and a scale.  

 

See the Example: Locations topic for a step-by-step tutorial on using Locations.

 

To save a Location using a window:

 

  1. Open the desired window.

  2. Pan and zoom to the view desired.

  3. In the Locations button's drop-down menu choose Save Current Location.

  4. A new Location appears in the Project pane.  Rename it as desired.

  5. The new location will be created with an Entity entry naming the window's component.

 

Or...

 

To create a new Location using Coordinates

 

  1. Choose File - Create - New Location
  2. Enter the Name.  
  3. Choose <new location> in the Based on dropdown menu.  
  4. Enter the desired Longitude, Latitude and Scale.
  5. Press Create Location.

 

dlg_create_new_location_new.png

The above method creates a location that does not have an Entity entry.   

 

File - Create - New Location

icon_location.png  Locations are components in the Project just like comments, tables, drawings or maps.   They can be copied and pasted, and, just like comments, they are plain text that can be opened and edited.

 

dlg_create_new_location.png

 

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

 

Name

Name for the location.  "Location" by default.  Specify a more informative name as desired.

Based on

<new location> by default when launched by right clicking on an empty location in the Project pane and choosing Create - New Location.  Otherwise, contains a list of open windows.  Choose one of them to use that view to set Latitude, Longitude and Scale values for the dialog.  

 

When a window is named in the Based on box, an Entity entry will be created in the Location naming that window's component.  

Longitude

The longitude of the center of the new Location in decimal degrees.  Automatically loaded as the center of the view of the currently active window or when choosing an open window in the Based on box.

Latitude

The latitude  of the center of the new Location in decimal degrees.  Automatically loaded as the center of the view of the currently active window or when choosing an open window in the Based on box.

Scale

The scale for the view in the new Location.  Automatically loaded as the scale of the view of the currently active window or when choosing an open window in the Based on box.

Create Location

Create the new location.

Edit Query

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

Cancel

 Exit the dialog without doing anything.

 

Locations from Queries

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

 

eg_locations03_01.png

 

For example, suppose in the illustration above we have a view of a map that shows France.

 

eg_locations03_02.png

 

Launching File - Create - New Location opens the New Location dialog pre-loaded with the Latitude, Longitude and Scale of the current view.   We press the Edit Query button to launch the SQL Command Window loaded with a query that creates the Location.

 

-- $manifold$

--

-- Auto-generated

-- New Location

--

CREATE LOCATION [Location] (

  PROPERTY 'Text' '{ "Center": [ 1.5485272634194371, 46.94755744147237 ], "Entity": "[Map]", "Scale": 20629492.83355046 }'

);

 

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

 

 

See Also

Getting Started

 

User Interface

 

Maps

 

Drawings

 

Images

 

Labels

 

Layouts

 

Locations

 

Project Pane

 

Contents Pane

 

Example: Locations - Save Locations and use saved Locations to quickly navigate to desired views in windows.