Projections: Difference between revisions

From XMS Wiki
Jump to navigationJump to search
No edit summary
 
(55 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{hide in print|{{Infobox  
{{hide in print|{{Infobox  
|headerstyle =  background:#ccf;
|headerstyle =  background:#bfcbd4;
|labelstyle  =  background:#ddf;
|labelstyle  =  background:#d8e2ea;
|header1    =  Related Versions
|header1    =  Related Versions
|label1      =   
|label1      =   
Line 10: Line 10:
|header3    =   
|header3    =   
|label3      =  GMS
|label3      =  GMS
|data3      =  v7.0
|data3      =  v9.1
|belowstyle  =  background:#ddf;
|label4      =  SMS
|data4      =  v11.1
|label5      =  WMS
|data5      =  v9.1
|belowstyle  =  background:#d8e2ea;
|below      =  version note
|below      =  version note
}}
}}
}}
}}
"Projection" refers to a map projection like [http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system UTM]. In XMS software, a projection can be associated with a project, and data can be reprojected from one projection to another. XMS software utilizes the [http://www.globalmapper.com/ Global Mapper (TM)] library which supports hundreds of standard projections.
Projection refers to a map projection like [http://en.wikipedia.org/wiki/Universal_Transverse_Mercator_coordinate_system UTM]. In XMS software, projections are associated with the project and individual data objects. 
 
Starting with SMS 11.1 and GMS 9.1, the XMS software works on the concept of a "Display Projection".  This is the projection being worked in.  Each geometric object loaded into the XMS package, such as a Scatterset, DEM, grid or mesh, also has an associated projection.  These two projections may not be the same.  If the two projections are compatible (i.e. it is a viable option to convert from one projection to the other), the XMS package will convert the data from the object projection to the display projection, just for display purposes.  This is referred to as "Project on the fly".  The data itself maintains the values associated with the object projection so when the XMS package saves a project, the data files are not modified.
 
Alternatively, data can be reprojected from one projection to another, actually changing the data values that will be saved as part of a project.  This is done by right-clicking on the geometric object in the Project Explorer (data tree) and selecting the '''Reproject...''' command. The SMS package includes a feature to reproject all data from whatever projection the data is currently in to a single projection using the '''Reproject All...''' command in the ''Display'' menu.


Previous XMS software versions referred to projections as "coordinate systems" and reprojection as "coordinate conversion".
Previous XMS software versions referred to projections as "coordinate systems" and reprojection as "coordinate conversion".


==Project Projection==
==Display Projection==
The current projection, or the projection currently associated with the project, can be specified via the ''Edit|Projection'' menu command. Changing the projection does not alter the XYZ coordinates of the project data.
[[File:WMS DisplayProjections.png|thumb|350 px|Example of the ''Display Projection'' dialog.]]
The display projection, or the projection currently associated with the project, can be specified via the ''Display'' | '''Display Projection''' menu command. This setting controls how the XMS application displays (or interprets) data.  Data defining objects with a specified projection are converted to the display projection (if it is different from the object projection) for display purposes only. This is referred to as "projection on the fly".  The data saved to files as part of a project, or exported for a simulation are exported in the object projection.  Display projection only affects the display.
 
Objects without a specified projection are assumed by the XMS application to be referenced to the display projection.
 
The display projection is saved as part of a project file.  Specify a display projection as part of the system settings for new sessions/projects.
 
When a data object with its own projection is read into an XMS application for which no data has yet been loaded and no projection has been specified, the display projection is reset to the object projection.  This allows defining a working projection simply by loading data that uses that projection and has a projection definition, such as a *.prj file, to define it.
 
===No Projection (Previously Local Projection)===
Many numerical models work in local or model space, and don't care how that system relates back to global coordinate systems (UTM, State Plane etc.). XMS software allows for this using a Display projection set to local or no projection option.  This is standard practice when building a numerical model of a flume test. The units of the model are also specified as part of the projection.  If the display projection is in this mode, no global projections are allowed on individual objects.
 
(Note: when the display projection is set to ''No projection'' or ''Local Projection'', the data may still be referenced to a projection.  The display projection can be changed to reflect that projection if desired.)
 
===Global Projection ===
[[File:HorizontalProjections.png|thumb|400 px|The ''Select Projection'' dialog.]]
Data referenced to a global projection can be easily correlated and used with other applications that utilize projections including GIS and CAD.  When the display projection is specified as a global projection, the XMS application can export georeferenced images, shapefiles, and KMZ files that may be directly imported to other applications.
 
Selecting the ''Global Projection'' option will automatically bring up the ''Horizontal Projection'' dialog where a global projection can be chosen. If the ''Horizontal Projection'' dialog does not automatically appear, then the '''Set Projection…''' button in the projection dialog can be used to access the dialog. This button can also be used to change the current global projection.
 
[[Projection Dialogs]] has more information on the specifics of the options in the projection dialogs.


===Local Projection===
==Object Projection==
Many numerical models work in local systems, and don't care how that system relates back to global coordinate systems (UTM, State Plane etc.). XMS software allows for local projections that are unrelated to any standard projection.
Each geometric object loaded into a session can have an associated projection.  When an object is loaded from a file, the XMS application looks for a projection either in the object data file or in an associated *.prj file.  If no projection is found, the object is left with no projection or floating.  In this case, the object is assumed to be related to the display projection, regardless of what that projection is.  The object projection can be specified by right-clicking on the object in the Project Explorer and selecting the '''Projection...''' command.  The default projection displayed in the dialog that appears is the object's projection if it has one, and no projection otherwise. In the case of no projection, the display projection is filled in as the default global projection if that option is selected.


==Reproject==
==Reproject==
Reprojecting means to convert data from one coordinate system to another. For example, a 2D mesh representing the ground surface may have XYZ coordinates in a UTM system and they need to be converted to a State Plane system to be consistent with other data. Reprojecting usually results in the XYZ coordinates of the data changing, although conceptually the data is in the same place with respect to the Earth, just in a different coordinate system.
Reprojecting means to convert data from one coordinate system to another. For example, a 2D mesh representing the ground surface may have XYZ coordinates in a UTM system and they need to be converted to a State Plane system to be consistent with other data. Reprojecting changes the XYZ coordinates of the data, but conceptually the data is in the same place with respect to the Earth. It is now simply in a different projection or coordinate system.


There are three basic reprojection tasks that you can do:
There are four basic reprojection tasks:
*Reproject on the fly, which just displays all data in a specified projection without changing the base values
*Reprojecting the entire project from one system to another
*Reprojecting the entire project from one system to another
*Reprojecting one object from one coordinate system to the project coordinate system
*Reprojecting one geometric object (i.e. mesh or grid) from one coordinate system to another
*Single point reprojection, which allows you to enter the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection.
*Single point reprojection, which allows entering the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection.


Either operation brings up a dialog with two projections specified. On the left, the "Convert From" projection defines the projection the data is currently in. On the right, the "Convert To" projection defines the projection the data will be in after the operation.
===Reproject on the Fly===
When data from multiple projections are loaded into an XMS application that does not have a defined projection, they do not overlay and the display shows data clusters at two distinct locations. With project on the fly, if the data object has a defined projection (such as a *.prj file), this data would be reprojected on the fly to the display projection.
 
If data does not line up due to incorrect or incomplete projection specification, specify different object projections to attempt to align the data correctly. Object projection is specified by right-clicking on the object in the Project Explorer.


===Reproject everything===
===Reproject everything===
Reprojecting everything can be done by selecting the ''Edit|Reproject'' menu command. This will convert all the data loaded into the XMS application from one projection to another. In this operation, the "Convert From" projection (left side of the dialog) is dimmed by default. The user selects a new projection on the right side that all data in the application will be converted to. This operation changes the "current" projection that is being used by XMS to the newly specified "Convert To" projection.
In SMS, everything can be reprojected by selecting the ''Display'' | '''Reproject All...''' menu command. This will convert all the data loaded into the XMS application from the object projection(s) to a specified projection. This operation brings up a dialog which allows specifying the desired projection.  The default value is the display projection currently specified for the project.


===Reproject object===
===Reproject object===
This command is done on a specific geometric object (grid, mesh, scatter set, ...) by right-clicking on the entity in the Project Explorer. The object is reprojected from some projection into the current projection being used by the XMS application. In this operation, the "Convert To" projection (right side of the dialog) is dimmed by default because it represents the current projection used by the project. It is assumed that the desire is to reproject data from another projection into the current projection. The current projection is not changed in this operation.
This command is done on a specific geometric object (grid, mesh, scatter set, etc.) by right-clicking on the entity in the Project Explorer and selecting '''Reproject...'''. In GMS, the command is available in the list of commands that appear when ''Projection'' is clicked in the right-click menu. If the object does not have a specified projection, this command is not available. It can be accessed by selection the '''Projection...''' command for the object in the same right-click menu and defining a projection for the object.
 
When the object has a projection, this command reprojects from one projection to another.  The command brings up a dialog with a "from" projection specified on the left and a "to" projection specified on the right. The "from" projection is defaulted to the object projection. The "to" projection is defaulted to the display projection.


===Single Point Reprojection===
===Single Point Reprojection===
Single Point Reprojection allows you to enter the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection. It also lets you create a feature point at the new location. This operation is accessed via the ''Edit|Single Point Reprojection'' menu command. It's also available in the [[Registering an Image|Register Image]] dialog.
In SMS, the '''Single Point Reprojection''' command is found in the ''Display'' menu and allows entering the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection. It also allows creating a feature point at the new location.
[[File:ReprojectSinglePoint.png|thumb|none|600 px|Example of the ''Reproject Single Point'' dialog.]]


===Restrictions===
===Restrictions===
Line 48: Line 83:


==Supported Projections==
==Supported Projections==
XMS software utilizes the [http://www.globalmapper.com/ Global Mapper (TM)] library which supports hundreds of standard projections.
XMS software utilizes the [https://gdal.org/ GDAL] library which supports hundreds of standard projections.
 
==Related Topics==
* [[Projection Dialogs]]
 


{{Template:Projections}}
{{Template:Projections}}
[[Category:Projections]]
[[Category:Projections]]
[[Category:Projection Dialogs]]
[[Category:Coordinate Systems]]
[[Category:General Information|P]]
[[Category:External Links]]

Latest revision as of 23:06, 16 March 2022

Related Versions
GMS v9.1
SMS v11.1
WMS v9.1

version note

Projection refers to a map projection like UTM. In XMS software, projections are associated with the project and individual data objects.

Starting with SMS 11.1 and GMS 9.1, the XMS software works on the concept of a "Display Projection". This is the projection being worked in. Each geometric object loaded into the XMS package, such as a Scatterset, DEM, grid or mesh, also has an associated projection. These two projections may not be the same. If the two projections are compatible (i.e. it is a viable option to convert from one projection to the other), the XMS package will convert the data from the object projection to the display projection, just for display purposes. This is referred to as "Project on the fly". The data itself maintains the values associated with the object projection so when the XMS package saves a project, the data files are not modified.

Alternatively, data can be reprojected from one projection to another, actually changing the data values that will be saved as part of a project. This is done by right-clicking on the geometric object in the Project Explorer (data tree) and selecting the Reproject... command. The SMS package includes a feature to reproject all data from whatever projection the data is currently in to a single projection using the Reproject All... command in the Display menu.

Previous XMS software versions referred to projections as "coordinate systems" and reprojection as "coordinate conversion".

Display Projection

Example of the Display Projection dialog.

The display projection, or the projection currently associated with the project, can be specified via the Display | Display Projection menu command. This setting controls how the XMS application displays (or interprets) data. Data defining objects with a specified projection are converted to the display projection (if it is different from the object projection) for display purposes only. This is referred to as "projection on the fly". The data saved to files as part of a project, or exported for a simulation are exported in the object projection. Display projection only affects the display.

Objects without a specified projection are assumed by the XMS application to be referenced to the display projection.

The display projection is saved as part of a project file. Specify a display projection as part of the system settings for new sessions/projects.

When a data object with its own projection is read into an XMS application for which no data has yet been loaded and no projection has been specified, the display projection is reset to the object projection. This allows defining a working projection simply by loading data that uses that projection and has a projection definition, such as a *.prj file, to define it.

No Projection (Previously Local Projection)

Many numerical models work in local or model space, and don't care how that system relates back to global coordinate systems (UTM, State Plane etc.). XMS software allows for this using a Display projection set to local or no projection option. This is standard practice when building a numerical model of a flume test. The units of the model are also specified as part of the projection. If the display projection is in this mode, no global projections are allowed on individual objects.

(Note: when the display projection is set to No projection or Local Projection, the data may still be referenced to a projection. The display projection can be changed to reflect that projection if desired.)

Global Projection

The Select Projection dialog.

Data referenced to a global projection can be easily correlated and used with other applications that utilize projections including GIS and CAD. When the display projection is specified as a global projection, the XMS application can export georeferenced images, shapefiles, and KMZ files that may be directly imported to other applications.

Selecting the Global Projection option will automatically bring up the Horizontal Projection dialog where a global projection can be chosen. If the Horizontal Projection dialog does not automatically appear, then the Set Projection… button in the projection dialog can be used to access the dialog. This button can also be used to change the current global projection.

Projection Dialogs has more information on the specifics of the options in the projection dialogs.

Object Projection

Each geometric object loaded into a session can have an associated projection. When an object is loaded from a file, the XMS application looks for a projection either in the object data file or in an associated *.prj file. If no projection is found, the object is left with no projection or floating. In this case, the object is assumed to be related to the display projection, regardless of what that projection is. The object projection can be specified by right-clicking on the object in the Project Explorer and selecting the Projection... command. The default projection displayed in the dialog that appears is the object's projection if it has one, and no projection otherwise. In the case of no projection, the display projection is filled in as the default global projection if that option is selected.

Reproject

Reprojecting means to convert data from one coordinate system to another. For example, a 2D mesh representing the ground surface may have XYZ coordinates in a UTM system and they need to be converted to a State Plane system to be consistent with other data. Reprojecting changes the XYZ coordinates of the data, but conceptually the data is in the same place with respect to the Earth. It is now simply in a different projection or coordinate system.

There are four basic reprojection tasks:

  • Reproject on the fly, which just displays all data in a specified projection without changing the base values
  • Reprojecting the entire project from one system to another
  • Reprojecting one geometric object (i.e. mesh or grid) from one coordinate system to another
  • Single point reprojection, which allows entering the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection.

Reproject on the Fly

When data from multiple projections are loaded into an XMS application that does not have a defined projection, they do not overlay and the display shows data clusters at two distinct locations. With project on the fly, if the data object has a defined projection (such as a *.prj file), this data would be reprojected on the fly to the display projection.

If data does not line up due to incorrect or incomplete projection specification, specify different object projections to attempt to align the data correctly. Object projection is specified by right-clicking on the object in the Project Explorer.

Reproject everything

In SMS, everything can be reprojected by selecting the Display | Reproject All... menu command. This will convert all the data loaded into the XMS application from the object projection(s) to a specified projection. This operation brings up a dialog which allows specifying the desired projection. The default value is the display projection currently specified for the project.

Reproject object

This command is done on a specific geometric object (grid, mesh, scatter set, etc.) by right-clicking on the entity in the Project Explorer and selecting Reproject.... In GMS, the command is available in the list of commands that appear when Projection is clicked in the right-click menu. If the object does not have a specified projection, this command is not available. It can be accessed by selection the Projection... command for the object in the same right-click menu and defining a projection for the object.

When the object has a projection, this command reprojects from one projection to another. The command brings up a dialog with a "from" projection specified on the left and a "to" projection specified on the right. The "from" projection is defaulted to the object projection. The "to" projection is defaulted to the display projection.

Single Point Reprojection

In SMS, the Single Point Reprojection command is found in the Display menu and allows entering the XYZ coordinates for a point in one projection and see what the new coordinates would be if the point was reprojected to a different projection. It also allows creating a feature point at the new location.

Example of the Reproject Single Point dialog.

Restrictions

Some reprojections are not allowed, such as reprojecting between a NAD and non-NAD system. A warning is issued when the reprojection is not allowed.

Supported Projections

XMS software utilizes the GDAL library which supports hundreds of standard projections.

Related Topics