Select to view content in your preferred language

Error in my Extent

958
6
04-05-2011 09:45 AM
RafaelMiranda
Emerging Contributor
Hello!!!!
I'm having doubts should I fill with my WKID and Extent. I would like the Extent of Brazil. I'm using this basemap that order, the number 4 is my map, the coordinate of it is:
Geographic Coordinate System: Geographic Coordinate System
Datum: WGS84

Thanks


<esri:extent>
       <esri:Extent id="MapaExtent" xmax="?????????" ymax="?????????" xmin="?????????" ymin="?????????">
              <esri:SpatialReference wkid="?????????"/>
       </esri:Extent>
</esri:extent>

1 - <esri:ArcGISTiledMapServiceLayer visible="true" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Topo_Map/MapServer"/>

2 - <esri:ArcGISTiledMapServiceLayer visible="true" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Street_Map/MapServer"/>

3 - <esri:ArcGISTiledMapServiceLayer visible="true" url="http://services.arcgisonline.com/ArcGIS/rest/services/World_Imagery/MapServer"/>

4 - <esri:ArcGISDynamicMapServiceLayer id="DynamicMap" url="http://xxx.xxx.x.xx/ArcGIS/rest/services/Acervo/MapServer" load="DynamicMap.defaultVisibleLayers()" visible="true"/>
Tags (2)
0 Kudos
6 Replies
RobertScheitlin__GISP
MVP Emeritus
Rafael,

   I would go with WebMercator extent coordinates as titled base maps from esri can not be reprojected and your data being brought in as dynamic can.

<esri:extent>
<esri:Extent id="MapaExtent" xmax="-8538000" ymax="-2539000" xmin="3484000" ymin="563000">
<esri:SpatialReference wkid="3857"/>
</esri:Extent>
</esri:extent>
0 Kudos
RafaelMiranda
Emerging Contributor
Rafael,

   I would go with WebMercator extent coordinates as titled base maps from esri can not be reprojected and your data being brought in as dynamic can.

<esri:extent>
<esri:Extent id="MapaExtent" xmax="-8538000" ymax="-2539000" xmin="3484000" ymin="563000">
<esri:SpatialReference wkid="3857"/>
</esri:Extent>
</esri:extent>


sorry, I am newbie in ArcGIS and my english is bad :), so
1 - Then you advise me to change my projection for my map WebMecator.
2 - Would any table with respect to projections WKID
3 - WebMecator is projection or datum?
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rafael,

1 - Then you advise me to change my projection for my map WebMecator.
No you don't have to do anything. ArcGIS Server will re-project your data to WebMercator. But if you can re-project your data than it would work faster is ArcGIS Server did not have to do it for you every time.
2 - Would any table with respect to projections WKID
I'm not sure I understand the question... The esri base maps would set the maps projection and because they are WKID 3857 all dynamic map services added to the map after them would get re-projected to WebMercator(WKID 3857)
3 - WebMecator is projection or datum?
WebMercator is the projection the datum is WGS 84
0 Kudos
RafaelMiranda
Emerging Contributor
I understand what you meant to say

About the number 2 I want to say if there is a table like this:

WKID            Projection

3857             WebMecator
XYZ              123
456               abc
0 Kudos
RobertScheitlin__GISP
MVP Emeritus
Rafael,

   I got to say I am still not sure what you are asking here, but my advice is just give it a try. You can learn a lot about flex by just jump in and trying to do things. Good luck.
0 Kudos
RafaelMiranda
Emerging Contributor
Robert
you help me a lot, thank you very much
0 Kudos