<?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: Online routing sample basemap problem in Qt Maps SDK Questions</title>
    <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321573#M1598</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its the spatial reference coz the map and the feature layer have the spatial reference at 4326 and route service is projecting on that spatial so when i change the basemap to theone with reference 102100 i get route error:unable to complete operation.&lt;/P&gt;&lt;P&gt;And when i re project mouse.mapPoint to &lt;SPAN style="font-style: italic; color: #000000;"&gt;mPoint=&lt;/SPAN&gt;GeometryEngine.project(mouse.mapPoint,map.spatialReference);&lt;/P&gt;&lt;P&gt;and give the stop graphic the value like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;graphic1&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;stopGraphic&lt;/SPAN&gt;.clone();&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;graphic1&lt;/SPAN&gt;.geometry&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;mPoint&lt;/SPAN&gt;;
than doesnt route at all.
This re projection generate in this case a point or a geometry?
I think this is the error that the reprojected geometry is not a valid geometry for the graphic?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 11 Dec 2021 15:15:57 GMT</pubDate>
    <dc:creator>albavoli</dc:creator>
    <dc:date>2021-12-11T15:15:57Z</dc:date>
    <item>
      <title>Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321569#M1594</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why the sample of the online routing works only with&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="https://community.esri.com/external-link.jspa?url=http%3A%2F%2Fservices.arcgisonline.com%2FArcGIS%2Frest%2Fservices%2FESRI_StreetMap_World_2D%2FMapServer" rel="nofollow" target="_blank"&gt;http://services.arcgisonline.com/ArcGIS/rest/services/ESRI_StreetMap_World_2D/MapServer&lt;/A&gt;&lt;SPAN&gt; basemap?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 06:39:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321569#M1594</guid>
      <dc:creator>albavoli</dc:creator>
      <dc:date>2016-05-23T06:39:20Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321570#M1595</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use any basemap you want while doing routing. My guess for why this one in particular is working and others are not is because this one is in WKID 4326, and most others are in WKID 102100 (web mercator). The routing service is probably in 4326, so there may need to be some work done to project any input coordinates to the right spatial reference. If so, you can do this with project() on the GeometryEngine - &lt;A href="https://developers.arcgis.com/qt/qml/api-reference/class_geometry_engine.html#a09fee0a7115459f4124ddc7e0ff46ce9" title="https://developers.arcgis.com/qt/qml/api-reference/class_geometry_engine.html#a09fee0a7115459f4124ddc7e0ff46ce9"&gt;ArcGIS Runtime SDK for Qt QML API: GeometryEngine Class Reference&lt;/A&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 May 2016 15:49:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321570#M1595</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-05-23T15:49:01Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321571#M1596</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank Lucas for your reply i am doing as u advised me trying to re project the point from 4326 to 102100&lt;/P&gt;&lt;P&gt;but i am not sure if i am doing it right:&lt;/P&gt;&lt;P&gt;i have a variable that is created on mouse clicked to get the geometry:&lt;/P&gt;&lt;P&gt;mPoint=mouse.mapPoint;&lt;/P&gt;&lt;P&gt;and then i am trying to re project that like this &lt;/P&gt;&lt;P&gt;GeometryEngine.project(mPoint,map.spatialReference);&lt;/P&gt;&lt;P&gt;but its not working can u help what i am doing wrong&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 08:44:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321571#M1596</guid>
      <dc:creator>albavoli</dc:creator>
      <dc:date>2016-05-24T08:44:52Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321572#M1597</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That looks right. I am not positive that is the problem- it was just a guess. You should be able to use any basemap you want when you're using the RouteTask, and the only obvious difference between the service you posted and most others is the spatial reference. Are you getting some errors? What is happening when you try to route?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2016 16:04:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321572#M1597</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-05-24T16:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321573#M1598</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think its the spatial reference coz the map and the feature layer have the spatial reference at 4326 and route service is projecting on that spatial so when i change the basemap to theone with reference 102100 i get route error:unable to complete operation.&lt;/P&gt;&lt;P&gt;And when i re project mouse.mapPoint to &lt;SPAN style="font-style: italic; color: #000000;"&gt;mPoint=&lt;/SPAN&gt;GeometryEngine.project(mouse.mapPoint,map.spatialReference);&lt;/P&gt;&lt;P&gt;and give the stop graphic the value like:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #808000;"&gt;var&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;graphic1&lt;/SPAN&gt;&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;stopGraphic&lt;/SPAN&gt;.clone();&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="font-style: italic; color: #2985c7;"&gt;graphic1&lt;/SPAN&gt;.geometry&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;=&lt;SPAN style="color: #c0c0c0;"&gt; &lt;/SPAN&gt;&lt;SPAN style="font-style: italic; color: #000000;"&gt;mPoint&lt;/SPAN&gt;;
than doesnt route at all.
This re projection generate in this case a point or a geometry?
I think this is the error that the reprojected geometry is not a valid geometry for the graphic?&lt;/PRE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 15:15:57 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321573#M1598</guid>
      <dc:creator>albavoli</dc:creator>
      <dc:date>2021-12-11T15:15:57Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321574#M1599</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That should be fine, as a Point is a Geometry.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 May 2016 16:28:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321574#M1599</guid>
      <dc:creator>LucasDanzinger</dc:creator>
      <dc:date>2016-05-25T16:28:03Z</dc:date>
    </item>
    <item>
      <title>Re: Online routing sample basemap problem</title>
      <link>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321575#M1600</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think the problem is that the feature layer is sourced by a &lt;SPAN style="color: #800080;"&gt;GeodatabaseFeatureServiceTable &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;and i dont know if its suported the reprojection of point&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #800080;"&gt;maybe its better to change the web service what can i do?&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 May 2016 09:56:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/qt-maps-sdk-questions/online-routing-sample-basemap-problem/m-p/321575#M1600</guid>
      <dc:creator>albavoli</dc:creator>
      <dc:date>2016-05-26T09:56:44Z</dc:date>
    </item>
  </channel>
</rss>

