Select to view content in your preferred language

Help please: projection issue.

1990
12
09-06-2011 11:14 PM
SanajyJadhav
Deactivated User
Hi,

I have added 3 services as following;
1. Street map : spatial reference WKID 4326 ; added first and map's SR is set to this WKID.
2. Our data map service : spatial reference WKID 102100
3. Editable feature layer : spatial reference WKID 2229.

My requirement is to draw circle of specified size and at specified center point. I am giving center point in map's spatial reference.

When I add services that have same spatial reference ( e.g. WKID 2229), everything works fine.The circle (of radius say,50)gets drawn accurate.I checked it in ArcMap.

When I add World Street Map ( WKID 4326), along with my editable feature layer,I face issues.The drawn circle ( of radius say,50)is so big, that it covers complete America.

I know for sure that, this is projection issue.I just do not understand how to fix this.

I tried convert the center point of my circle to WKID 2229 using Geometry Service, but it is not getting re projected.So, I tried convert my drawn circle ( actually polygon) from 4326 to WKID 2229, again no use.

Can anybody help me fix this issue please? this is a crucial requirement for our project. Any help is appreciated.

Regards,
Sanjay.
0 Kudos
12 Replies
SanajyJadhav
Deactivated User
Dominique,

Thanks for the detailed steps.I appreciate your help.

Now, can you please tell me, what I have to do to show my circular polygon as circles in both, projected coordinates and spatial reference of 4326?

I mean, I am drawing a polygon that looks like circle in my projected coordinates.How can show that polygon as a circle in geographic coordinates as well?

Regards,
Sanjay.
0 Kudos
DominiqueBroux
Esri Frequent Contributor
what I have to do to show my circular polygon as circles in both, projected coordinates and spatial reference of 4326?

As the circles are managed as polylines, you can't get a perfect circle in both the project coordinates AND the geographical coordinates.
0 Kudos
SanajyJadhav
Deactivated User
Dominique,

You have been a great help.I appreciate it.

When you say,
As the circles are managed as polylines
, does it mean that, the circles drawn by DrawObject.DrawMode.Circle (new in 2.2)are also treated as polylines?

I see that there is no Circle class in Geomtery namespace.So, are there any plans to add the Circle class in Geometry namespace?

Thanks.
0 Kudos