Select to view content in your preferred language

Using OpenStreetMap with local projection

3128
1
07-23-2012 05:36 AM
DavidGeorge4
Emerging Contributor
Hello.

Is there any what that the OpenStreetMap Basemap can be used when the spatial reference is not WGS1984??

I can get OpenStreetMap to work but only when I don't specify my projection. However the projection for the map really does need to be my local projection rather than WGS1984.

My XML code is as follows:

                <!--Map Properties-->
                        <esri:Map x:Name="MyMap1" Background="White">
                            <!--Set The Map Extent-->
                          <esri:Map.Extent>
                             <esri:Envelope XMin="0" YMin="0" XMax="700000" YMax="700000" >
                                    <esri:Envelope.SpatialReference>
                                    <esri:SpatialReference WKID="27700">
                                        
                                    </esri:SpatialReference>
                                </esri:Envelope.SpatialReference>
                             </esri:Envelope>
                           </esri:Map.Extent>

                        <!--Layer List-->


                            
                     <esri:OpenStreetMapLayer ID="OSMLayer" Style="Mapnik" />


Any does anyone have any ideas?? I looked at the idea of maybe publishing OpenStreetMap as a Map Service on my Rest server but unfortunately ArcGIS does not support this.

Thanks


Dave
0 Kudos
1 Reply
DominiqueBroux
Esri Frequent Contributor
Is there any what that the OpenStreetMap Basemap can be used when the spatial reference is not WGS1984??


No, OpenStreetmap is a cached tiled layer and so can only be used with a map having the same spatial reference, i.e WGS1984.
0 Kudos