<?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: Example on rasterlayer with Jpeg 2000? in .NET Maps SDK Questions</title>
    <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281316#M3303</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thad,&lt;/P&gt;&lt;P&gt;I tried the JP2 you linked to and had no problems displaying the raster layer in my ArcGIS Runtime app.&lt;/P&gt;&lt;P&gt;So I inspected both JP2 files in Notepad++ and my JP2 file does not have the ProjectedCRS tag.&lt;/P&gt;&lt;P&gt;However my FeatureCollection does contain some informatorn about the spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's where the info about spatial reference is stored in my JP2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;gml:origin&amp;gt;&lt;BR /&gt; &amp;lt;gml:Point srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;gml:pos&amp;gt;309749.000000000000000 5818934.000000000000000&amp;lt;/gml:pos&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/gml:Point&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/gml:origin&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;gml:offsetVector srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;0.500000000000000 0&amp;lt;/gml:offsetVector&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;gml:offsetVector srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;0 -0.500000000000000&amp;lt;/gml:offsetVector&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 01 Mar 2018 10:24:08 GMT</pubDate>
    <dc:creator>MarcusHakansson</dc:creator>
    <dc:date>2018-03-01T10:24:08Z</dc:date>
    <item>
      <title>Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281314#M3301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I've been searching for examples on how to create a RasterLayer from *.JP2 files but haven't found any.&lt;/P&gt;&lt;P&gt;I had no problems adding the jp2 file in ArcMap 10.3 but when I try to add it as an rasterLayer i get SpatialReference = null;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have had no problems with other file formats iv'e tried.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Heres my code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Raster inRaster = new Raster(myFileSource);&lt;BR /&gt; await inRaster.LoadAsync();&lt;/P&gt;&lt;P&gt;RasterLayer newRasterLayer = new RasterLayer(&lt;SPAN&gt;inRaster&lt;/SPAN&gt;);&lt;/P&gt;&lt;P&gt;this.MyMap.OperationalLayers.Add(newRasterLayer);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Feb 2018 15:39:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281314#M3301</guid>
      <dc:creator>MarcusHakansson</dc:creator>
      <dc:date>2018-02-27T15:39:48Z</dc:date>
    </item>
    <item>
      <title>Re: Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281315#M3302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Marcus,&lt;/P&gt;&lt;P&gt;I tested with a JPEG 2000 image I found &lt;A href="http://web.demac.udel.edu/ortho_tiles/orthos2002/tile252_02orthos.zip"&gt;here&lt;/A&gt;, and had no problems displaying the raster layer in an ArcGIS Runtime (WPF) app. A *.JP2 file stores spatial reference info directly in the file using Geography Markup Language (GML). If you open it in a text editor (Notepad++, e.g.), you should see info like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;gml:ProjectedCRS gml:id="ogrcrs1"&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;gml:srsName&amp;gt;NAD_1983_HARN_StatePlane_Delaware_FIPS_0700&amp;lt;/gml:srsName&amp;gt;&lt;BR /&gt;&amp;nbsp; &amp;lt;gml:baseCRS&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you confirm that your image has coordinate system info defined? It might be that ArcMap handles the missing spatial reference by simply assigning a default (?).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Feb 2018 18:50:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281315#M3302</guid>
      <dc:creator>ThadTilton</dc:creator>
      <dc:date>2018-02-28T18:50:57Z</dc:date>
    </item>
    <item>
      <title>Re: Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281316#M3303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Thad,&lt;/P&gt;&lt;P&gt;I tried the JP2 you linked to and had no problems displaying the raster layer in my ArcGIS Runtime app.&lt;/P&gt;&lt;P&gt;So I inspected both JP2 files in Notepad++ and my JP2 file does not have the ProjectedCRS tag.&lt;/P&gt;&lt;P&gt;However my FeatureCollection does contain some informatorn about the spatial reference.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here's where the info about spatial reference is stored in my JP2&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;gml:origin&amp;gt;&lt;BR /&gt; &amp;lt;gml:Point srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;&lt;BR /&gt; &lt;BR /&gt; &amp;lt;gml:pos&amp;gt;309749.000000000000000 5818934.000000000000000&amp;lt;/gml:pos&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/gml:Point&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;/gml:origin&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&amp;lt;gml:offsetVector srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;0.500000000000000 0&amp;lt;/gml:offsetVector&amp;gt;&lt;BR /&gt; &lt;BR /&gt;&amp;lt;gml:offsetVector srsName="urn:ogc:def:crs:EPSG::32755"&amp;gt;0 -0.500000000000000&amp;lt;/gml:offsetVector&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 01 Mar 2018 10:24:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281316#M3303</guid>
      <dc:creator>MarcusHakansson</dc:creator>
      <dc:date>2018-03-01T10:24:08Z</dc:date>
    </item>
    <item>
      <title>Re: Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281317#M3304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I could also add that its one of the files in a&amp;nbsp;&lt;SPAN style="color: #4c4c4c; background-color: #ffffff;"&gt;Pleiad&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Mar 2018 13:12:31 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281317#M3304</guid>
      <dc:creator>MarcusHakansson</dc:creator>
      <dc:date>2018-03-08T13:12:31Z</dc:date>
    </item>
    <item>
      <title>Re: Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281318#M3305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I ran this past someone more knowledgeable with using raster in the runtime, and they suspect it might be a bug.&amp;nbsp;We'll investigate further and try to find a resolution. In the meantime, would it be possible to share one of the images that gives you the problem? If so, you can contact me directly at &lt;A href="mailto:ttilton@esri.com"&gt;ttilton@esri.com&lt;/A&gt;. If the file zips smaller than 20 megs or so, feel free to simply attach it to an email. Otherwise, we can arrange another way to share it.&lt;/P&gt;&lt;P&gt;Thanks, Thad&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 09 Mar 2018 17:19:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281318#M3305</guid>
      <dc:creator>ThadTilton</dc:creator>
      <dc:date>2018-03-09T17:19:40Z</dc:date>
    </item>
    <item>
      <title>Re: Example on rasterlayer with Jpeg 2000?</title>
      <link>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281319#M3306</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you for&amp;nbsp;your response.&lt;/P&gt;&lt;P&gt;Sadly I'm not sure its possible for me to share the images.&lt;/P&gt;&lt;P&gt;Even do I know that it probably will make it more difficult to solve.&lt;/P&gt;&lt;P&gt;Please tell me if there something else I can do to help.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Mar 2018 14:52:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/net-maps-sdk-questions/example-on-rasterlayer-with-jpeg-2000/m-p/281319#M3306</guid>
      <dc:creator>MarcusHakansson</dc:creator>
      <dc:date>2018-03-16T14:52:21Z</dc:date>
    </item>
  </channel>
</rss>

