Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Coordinate transformations using the server

Code Block
languagexml
linenumberstrue
<!-- This example shows a client defined in GDA2020 and reporting coordinates in GDA94 -->
<view id='com.cohga.html.client.main.projView'>
        <label>Projections</label>
        <location>west</location>
        <!-- The following two definitions will do the transformation on the server using the NTV2 transformation from GDA2020 to GDA2094GDA94 -->
		<projection id="EPSG:28354" label="GDA94/MGA Zone 54" server="true"/>
        <projection id="EPSG:28355" label="GDA94/MGA Zone 55" server="true"/>
        <projection id="EPSG:28356" label="GDA94/MGA Zone 56" server="true"/>
		<projection id="EPSG:3111" label="GDA94/VicGrid94" server="true"/>
		<projection id="EPSG:4283" label="GDA94" server="true"/>
		
		<!-- The following two definitions will do the transformation in the browser as the map datum is already in GDA2020 -->
		<projection id="EPSG:7844" label="GDA2020"/>
		<projection id="EPSG:7855" label="GDA2020/MGA Zone 55"/>
</view>

...