Spatial Reference in Buffer Service of Geometry Server ?

446
1
12-21-2010 07:02 PM
HuyNguyen_Quoc
New Contributor
Hi everybody, I'm using Buffer Service of Geometry Server what set up in ArcGIS Server over ArcGIS Javascript API version 1.6. My Spatial Reference is specific for my region and it have WKT format. I can not request buffer with My Spatial Reference and recieve results. Anybody have solution for my problem ?

This is my Spatial Reference:
GEOGCS["wgs",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]


I hope I'll receive your answer soon. Thank you.
Ps: Sorry about my English. It's not good.
0 Kudos
1 Reply
HemingZhu
Occasional Contributor III
try use the json expression to create a spatialReference, like the following:
var spatialReference = new esri.SpatialReference({ "wkt": "GEOGCS[\"wgs\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]]" });


Hi everybody, I'm using Buffer Service of Geometry Server what set up in ArcGIS Server over ArcGIS Javascript API version 1.6. My Spatial Reference is specific for my region and it have WKT format. I can not request buffer with My Spatial Reference and recieve results. Anybody have solution for my problem ?

This is my Spatial Reference:
GEOGCS["wgs",DATUM["D_WGS_1984",SPHEROID["WGS_1984",6378137.0,298.257223563]],PRIMEM["Greenwich",0.0],UNIT["Degree",0.0174532925199433]]


I hope I'll receive your answer soon. Thank you.
Ps: Sorry about my English. It's not good.
0 Kudos