Used in
REQUEST Servers
Query Feature ArcMap Parent elements
GET_PROJECT Syntax
<FROMCOORDSYS | Attribute Description Table |
When using ArcMap Server: (r)id="integer" (r)string="string"
When using Query or Feature Server: (r)id="integer" (r)string="string" datumtransformid="integer" datumtransformstring="string" >
No Child Elements </FROMCOORDSYS >
|
(r): Attribute or child element is required.
|
Description
The current coordinate system of the geometry used in
GET_PROJECT.
Restrictions
- Must use either id or string, but not both.
- For datum transformations either datumtransformid or datumtransformstring is used, but not both.
- In ArcMap Image Services, datumtransformid or datumtransformstring are not valid.
Notes
- For a complete list of supported IDs and definition strings, see:
- When using definition strings, the quotes in the string must be changed to " so the ArcIMS Spatial Server can interpret the string correctly. For example, the definition string for World Mollweide is:
PROJCS["World_Mollweide",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Mollweide"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",0],UNIT["Meter",1]]
Once the quotes have been changed, the string looks like this:
PROJCS["World_Mollweide",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",0.017453292519943295]],PROJECTION["Mollweide"],PARAMETER["False_Easting",0],PARAMETER["False_Northing",0],PARAMETER["Central_Meridian",0],UNIT["Meter",1]]
- The attributes datumtransformid and datumtransformstring are used when datum transformation information needs to be included. Only datum transformations to and from WGS 1984 are supported.
- When these attributes are used with FROMCOORDSYS, the datum transformation is from a non-WGS 1984 datum to WGS 1984. For example, Pulkovo_1942_To_WGS_1984 (datumtransformid="8157") transforms data from Pulkovo 1942 to WGS 1984.
- When these attributes are used with TOCOORDSYS, the datum transformation is from WGS 1984 to a non-WGS 1984 datum. In the above example, the datum transformation is from WGS 1984 to Pulkovo 1942.
Attribute Descriptions for FROMCOORDSYS
Attribute | Usage |
---|
id | Projected or geographic coordinate system ID. Use either id or string, but not both. |
string | Projected or geographic coordinate system definition string. Use either id or string, but not both. |
datumtransformid | Datum transformation ID. Use either datumtransformid or datumstransformstring, but not both. |
datumtransformstring | Datum transformation definition string. Use either datumtransformid or datumstransformstring, but not both. |
id | Projected or geographic coordinate system ID. Use either id or string, but not both. |
string | Projected or geographic coordinate system definition string. Use either id or string, but not both. |
Back to top Examples for FROMCOORDSYS
<?xml version="1.0" encoding="UTF-8"?>
<ARCXML version="1.1">
<REQUEST>
<GET_PROJECT envelope="true">
<FROMCOORDSYS id="4326"/>
<TOCOORDSYS id="53030"/>
<ENVELOPE minx="-178" miny="18" maxx="-66" maxy="71"/>
</GET_PROJECT>
</REQUEST>
</ARCXML> |
Back to top