ArcGIS 9.31 GeometryService Length unit

678
3
10-05-2012 05:16 AM
BerndSchneiders
New Contributor
Hi,

when I'm requesting the length by using the Geometry Service, the response is alway in miles.

In ArcGIS Server 10.1 it is possible to pass a unit. In ArcGIS Server 9.31 it is not possible. How could I configure this?

Cheers,
Bernd
0 Kudos
3 Replies
nicogis
MVP Frequent Contributor
I don't know but it will be taken from sr passed.
0 Kudos
BerndSchneiders
New Contributor
I'm passing as SR 102100 (Web Mercator). Isn't is based on a metric coordinate system?

Cheers
Bernd
0 Kudos
nicogis
MVP Frequent Contributor
Yes.
102100 WGS_1984_Web_Mercator_Auxiliary_Sphere
PROJCS["WGS_1984_Web_Mercator_Auxiliary_Sphere",GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]],PROJECTION["Mercator_Auxiliary_Sphere"],PARAMETER["False_Easting",0.0],PARAMETER["False_Northing",0.0],PARAMETER["Central_Meridian",0.0],PARAMETER["Standard_Parallel_1",0.0],PARAMETER["Auxiliary_Sphere_Type",0.0],UNIT["Meter",1.0]]

-Is your result in miles OK?
-Is your ags 9.3.1 patched?
-Do you try another wkid with units meter for see if you have result in meters.
0 Kudos