<?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: loading of the NITF(. ntf) image format over an ArcGIs 2D map using raster layer functions in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065357#M4210</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/456876"&gt;@TASL_Virendra&lt;/a&gt;&amp;nbsp;. Can you provide some more details about what you're trying to do?&lt;/P&gt;&lt;P&gt;What do you mean when you are replacing the image format with a char buffer?&lt;/P&gt;</description>
    <pubDate>Sat, 05 Jun 2021 00:10:26 GMT</pubDate>
    <dc:creator>JamesBallard1</dc:creator>
    <dc:date>2021-06-05T00:10:26Z</dc:date>
    <item>
      <title>loading of the NITF(. ntf) image format over an ArcGIs 2D map using raster layer functions</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065000#M4205</link>
      <description>&lt;DIV&gt;&lt;SPAN&gt;&lt;SPAN&gt;I have tried the loading of the NITF(. ntf) image format over an ArcGIs 2D map using raster layer functions and got output as expected.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Here is the code for the reference:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;************************** Normal raster layer with .ntf file****************************************************************&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;if (dataPath.contains("file:/"))&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;dataPath = QString(QUrl(dataPath).toLocalFile());&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;//! [RasterLayerFile cpp new raster layer]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;Raster* raster = new Raster(dataPath, this);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;SpotStriprasterLayer = new RasterLayer(raster, this);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;//! [RasterLayerFile cpp new raster layer]&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;double min= 20.0,max=&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;A target="_blank" rel="noreferrer noopener"&gt;tel:+441000&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Envelope Env;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;connect(SpotStriprasterLayer, &amp;amp;RasterLayer::doneLoading, this, [this](Error loadError)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;if (!loadError.isEmpty())&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;qDebug()&amp;lt;&amp;lt;"!loadError.isEmpty()";&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;return;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;m_mapView-&amp;gt;setViewpointCenter(SpotStriprasterLayer-&amp;gt;fullExtent().center(),&lt;/SPAN&gt;&lt;/SPAN&gt; &lt;SPAN&gt;&lt;SPAN&gt;&lt;A target="_blank" rel="noreferrer noopener"&gt;tel:+4450000&lt;/A&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;SpotStriprasterLayer-&amp;gt;setGamma(50.0);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;SpotStriprasterLayer-&amp;gt;setContrast(CCommonClass::objCModeDisplayClass-&amp;gt;dSpotStripContrstValue);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;SpotStriprasterLayer-&amp;gt;setBrightness(CCommonClass::objCModeDisplayClass-&amp;gt;dSpotStripBrgtValue);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;});&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;m_map-&amp;gt;operationalLayers()-&amp;gt;clear();&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;m_map-&amp;gt;operationalLayers()-&amp;gt;append(SpotStriprasterLayer);&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;***†*********-**********†*************************&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;When i replace the image format with a char buffer, I am not able to get an output. I have gone through few sample projects of raster layer functions to achieve this, but i didnt find any alternate solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Could you please let me know how to fix this issue right now am facing?&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;&lt;SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;Note: I want it to be in raster layers not on QIamge.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 04 Jun 2021 07:02:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065000#M4205</guid>
      <dc:creator>TASL_Virendra</dc:creator>
      <dc:date>2021-06-04T07:02:44Z</dc:date>
    </item>
    <item>
      <title>Re: loading of the NITF(. ntf) image format over an ArcGIs 2D map using raster layer functions</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065357#M4210</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/456876"&gt;@TASL_Virendra&lt;/a&gt;&amp;nbsp;. Can you provide some more details about what you're trying to do?&lt;/P&gt;&lt;P&gt;What do you mean when you are replacing the image format with a char buffer?&lt;/P&gt;</description>
      <pubDate>Sat, 05 Jun 2021 00:10:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065357#M4210</guid>
      <dc:creator>JamesBallard1</dc:creator>
      <dc:date>2021-06-05T00:10:26Z</dc:date>
    </item>
    <item>
      <title>Re: loading of the NITF(. ntf) image format over an ArcGIs 2D map using raster layer functions</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065873#M4221</link>
      <description>&lt;P&gt;Hi James,&lt;/P&gt;&lt;P&gt;Thanks for reply.&lt;/P&gt;&lt;P&gt;We have .ntf image available in character buffer and we want to put the .ntf&amp;nbsp; as raster layer over the map.&lt;/P&gt;&lt;P&gt;We have succeeded in doing the same from the stored file&amp;nbsp; in standalone application but now .ntf is being streamed over socket which we are storing in buffer before putting over map.&amp;nbsp;&lt;/P&gt;&lt;P&gt;following are the question:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&amp;nbsp;how to create a raster image from char buffer as supported by SDK.&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;alternate option draw image over map from char buffer which has .ntf image data packet by packet.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;I hope I made myself clear, let me know if it is still not clear.&lt;/P&gt;&lt;P&gt;Thanks in Advance!!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 08 Jun 2021 07:08:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/loading-of-the-nitf-ntf-image-format-over-an/m-p/1065873#M4221</guid>
      <dc:creator>TASL_Virendra</dc:creator>
      <dc:date>2021-06-08T07:08:54Z</dc:date>
    </item>
  </channel>
</rss>

