<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Raster layer loading in wrong coordinates in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303264#M11949</link>
    <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.WkText =&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"PROJCS["CH1903+_LV95,GEOGCS["GCS_CH1903+",DATUM["D_CH1903+,SPHEROID["Bessel_1841,6377397.155,299.1528128]],primem["Greenwich",0,0],UNIT("Degree,0.0174532925199433]],PROJECTION["Hotline_Oblique_Mercator_Azimuth_Center],PARAMETER["false_easting,2600000.0],PARAMETER["false_northing",1200000.0],PARAMETER["scale_factor",1.0],PARAMETER["azimuth",90.0],PARAMETER["longitude_of_center,7.743287037037036],PARAMETER["latitude_of_center",47.59001543209878],UNIT["Meter",1.0]"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.BaseGeographic =&amp;gt;&lt;/STRONG&gt; Wkid=4150&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.Wkid = 0&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I cannot add the file itself due to company policy&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 27 Jun 2023 05:18:35 GMT</pubDate>
    <dc:creator>ofirrosner</dc:creator>
    <dc:date>2023-06-27T05:18:35Z</dc:date>
    <item>
      <title>Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1301906#M11941</link>
      <description>&lt;P&gt;Hello&lt;BR /&gt;im using 100.12 using WPF&lt;BR /&gt;&lt;BR /&gt;in my project im asking from out server from a raster file(TIF file)&lt;BR /&gt;when i get back the file from the server ,and loads it to the operational layer/base layer it load(it load correctly with the render i want and in the size i asked)in a different place from where i expect (i know this because im sending the server the coordinate that i want the raster to be in, furthermore when i load the&amp;nbsp; file into another GIS program(like QGIS) its does load in the place i expected it to be )&lt;BR /&gt;&lt;BR /&gt;i roughly use the &lt;EM&gt;Colormap Render&lt;/EM&gt; example from you examples&lt;BR /&gt;both raster and raster layer are Loaded without any error and i do see the spatial reference (SpatialReference.WkText)&lt;BR /&gt;&lt;BR /&gt;P.S&lt;BR /&gt;i have a hunch that its somehow related to&amp;nbsp;Spatial Reference, my project can use 4 of them&lt;BR /&gt;Wsg84,2056,21781,4320&amp;nbsp;&lt;BR /&gt;in all 4&amp;nbsp;Spatial References i still have the same issue&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Jun 2023 10:52:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1301906#M11941</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2023-06-22T10:52:28Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303132#M11947</link>
      <description>&lt;P&gt;It's possible that the spatial reference embedded in the tiff file is not being picked up.&lt;BR /&gt;Can you print the value reported by the RasterLayer.spatialReference property after the raster is loaded?&lt;BR /&gt;Can you share the file with us so that we can investigate? You can attach it in this thread or directly message it to me.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Jun 2023 18:59:28 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303132#M11947</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2023-06-26T18:59:28Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303264#M11949</link>
      <description>&lt;P&gt;Hi&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.WkText =&amp;gt;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;"PROJCS["CH1903+_LV95,GEOGCS["GCS_CH1903+",DATUM["D_CH1903+,SPHEROID["Bessel_1841,6377397.155,299.1528128]],primem["Greenwich",0,0],UNIT("Degree,0.0174532925199433]],PROJECTION["Hotline_Oblique_Mercator_Azimuth_Center],PARAMETER["false_easting,2600000.0],PARAMETER["false_northing",1200000.0],PARAMETER["scale_factor",1.0],PARAMETER["azimuth",90.0],PARAMETER["longitude_of_center,7.743287037037036],PARAMETER["latitude_of_center",47.59001543209878],UNIT["Meter",1.0]"&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.BaseGeographic =&amp;gt;&lt;/STRONG&gt; Wkid=4150&lt;BR /&gt;&lt;BR /&gt;&lt;STRONG&gt;SpatialReference.Wkid = 0&lt;BR /&gt;&lt;BR /&gt;&lt;/STRONG&gt;I cannot add the file itself due to company policy&amp;nbsp;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 05:18:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303264#M11949</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2023-06-27T05:18:35Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303615#M11951</link>
      <description>&lt;P&gt;That helps. Looks like the spatial reference of the geotiff is being correctly detected.&amp;nbsp;&lt;BR /&gt;However, it appears to be a custom spatial reference - it does not have a wkid, and it's wkt is different from the standard &lt;A href="https://epsg.io/2056" target="_self"&gt;CH1903+_LV95&lt;/A&gt; projected coordinate system. This could be causing the reprojection issues.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Can you open the file in ArcGIS Pro and check if it aligns correctly there?&amp;nbsp;&lt;BR /&gt;Is there an option for you to generate the tiff file in the standard CH1903+_LV95 coordinate system (wkid=2056)?&lt;/P&gt;</description>
      <pubDate>Tue, 27 Jun 2023 20:50:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303615#M11951</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2023-06-27T20:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303885#M11956</link>
      <description>&lt;P&gt;In arcgis pro (version 2.8) it load correctly(i,e in the same location i asked for)(with the same map)&lt;BR /&gt;&lt;BR /&gt;i will try and investigate the backend side of my request&lt;BR /&gt;&lt;BR /&gt;p.s&lt;BR /&gt;is there any i can re-project the&amp;nbsp; raster after i get it from the backend?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Jun 2023 13:54:12 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1303885#M11956</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2023-06-28T13:54:12Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1307008#M11980</link>
      <description>&lt;P&gt;The API automatically reprojects raster layers on-the-fly when required to match the map's spatial reference. There is no way in the API to reproject and save the raster to disk.&lt;/P&gt;&lt;P&gt;You can use Pro to reproject the raster and save it as a new file.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jul 2023 17:43:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1307008#M11980</guid>
      <dc:creator>DiveshGoyal</dc:creator>
      <dc:date>2023-07-10T17:43:32Z</dc:date>
    </item>
    <item>
      <title>Re: Raster layer loading in wrong coordinates</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1307144#M11983</link>
      <description>&lt;P&gt;As i mentioned&amp;nbsp;&lt;BR /&gt;In Arcgis pro(version 2.8) with the same map that i was in my software it renders in the right place&lt;BR /&gt;i have no idea why it render in the wrong place when i load it&lt;BR /&gt;&lt;BR /&gt;p.s&lt;BR /&gt;i bypassed the problem by making a bmp out of the raster and load it to the map with PictureMarkerFillSymbol&lt;/P&gt;</description>
      <pubDate>Tue, 11 Jul 2023 05:00:23 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/raster-layer-loading-in-wrong-coordinates/m-p/1307144#M11983</guid>
      <dc:creator>ofirrosner</dc:creator>
      <dc:date>2023-07-11T05:00:23Z</dc:date>
    </item>
  </channel>
</rss>

