Select to view content in your preferred language

Transformation from one projection to other

2863
3
08-12-2015 11:48 AM
RahmathUnissa
Deactivated User

Hello,

I have created an app in Web Appbuilder, where the BaseMap has a spatial reference as say "A" and I using  a Map Service whose spatial reference as  say "B".

Q.1 How the Transformation from one projection to other is done?

Q.2 How can I get access to it? so that I can easily transform it in my widget.

Thank you.

Rahmath Unissa

0 Kudos
3 Replies
RobertScheitlin__GISP
MVP Emeritus

Rathmath,

   You will use the GeometryService to project the geometry.

GeometryService | API Reference | ArcGIS API for JavaScript

0 Kudos
RahmathUnissa
Deactivated User

Hey,

To Project a BaseMap in a Web AppBuilder  how do I give the below parameters:

params.outSR = outSR;

(Used  as  params.outSR = new SpatialReference({wkid:102100});  )

params.transformation = transformation;

Thank you,

Rahmath Unissa

0 Kudos
RobertScheitlin__GISP
MVP Emeritus

Rahmath,

To Project a BaseMap in a Web AppBuilder

You can not project a basemap, you project geometries to match your your basemaps WKID.