<?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 ArcGIS JS API 4.x BBOX issue when date line in view in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-x-bbox-issue-when-date-line-in/m-p/251441#M23296</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue with creating an SOI. I am reading the passed in bbox parameter from the JSAPI (4.10) and the bbox beyond a certain scale returns fixed xmin, xmax values. It seems to be with there is a crossing or includes the date line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like whenever the request includes the bboxSR and imageSR (even though they're the same) the bbox xmin, xmax params are not right. Below is a request generated by JSAPI 4.x &amp;gt;. I've tried multiple versions of the api and same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to do is use the bbox to create an Extent in an SOI to do spatial filtering but drawing graphics as a result get drawn incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone run into this and have a suggestion? Seems like as long as my view does not cross the date line I don't see the issue and the export image requests sets ( bboxSR:&amp;nbsp;102100&amp;nbsp;imageSR:&amp;nbsp;102100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a problematic request.&lt;/P&gt;&lt;OL class="" style="color: #222222; border-bottom: 1px solid #e0e0e0; padding-left: 10px; padding-bottom: 5px;"&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;bbox:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;-9392582.035679962,2012417.2846498825,9392582.03567996,11189752.648678845&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;bboxSR:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;{"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",134.47945440066346],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;imageSR:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;{"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",134.47945440066346],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;size:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;1920,938&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;dpi:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;96&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;format:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;png32&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;transparent:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;true&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;layers:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;show:-1&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;f:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;image&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 12 Jan 2019 20:00:20 GMT</pubDate>
    <dc:creator>JustinCarasick</dc:creator>
    <dc:date>2019-01-12T20:00:20Z</dc:date>
    <item>
      <title>ArcGIS JS API 4.x BBOX issue when date line in view</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-x-bbox-issue-when-date-line-in/m-p/251441#M23296</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm having an issue with creating an SOI. I am reading the passed in bbox parameter from the JSAPI (4.10) and the bbox beyond a certain scale returns fixed xmin, xmax values. It seems to be with there is a crossing or includes the date line.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It seems like whenever the request includes the bboxSR and imageSR (even though they're the same) the bbox xmin, xmax params are not right. Below is a request generated by JSAPI 4.x &amp;gt;. I've tried multiple versions of the api and same results.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What i am trying to do is use the bbox to create an Extent in an SOI to do spatial filtering but drawing graphics as a result get drawn incorrectly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Has anyone run into this and have a suggestion? Seems like as long as my view does not cross the date line I don't see the issue and the export image requests sets ( bboxSR:&amp;nbsp;102100&amp;nbsp;imageSR:&amp;nbsp;102100)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This is a problematic request.&lt;/P&gt;&lt;OL class="" style="color: #222222; border-bottom: 1px solid #e0e0e0; padding-left: 10px; padding-bottom: 5px;"&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;bbox:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;-9392582.035679962,2012417.2846498825,9392582.03567996,11189752.648678845&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;bboxSR:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;{"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",134.47945440066346],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;imageSR:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;{"wkt":"PROJCS[\"WGS_1984_Web_Mercator_Auxiliary_Sphere\",GEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433]],PROJECTION[\"Mercator_Auxiliary_Sphere\"],PARAMETER[\"False_Easting\",0.0],PARAMETER[\"False_Northing\",0.0],PARAMETER[\"Central_Meridian\",134.47945440066346],PARAMETER[\"Standard_Parallel_1\",0.0],PARAMETER[\"Auxiliary_Sphere_Type\",0.0],UNIT[\"Meter\",1.0]]"}&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;size:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;1920,938&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;dpi:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;96&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;format:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;png32&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;transparent:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;true&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;layers:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;show:-1&lt;/DIV&gt;&lt;/LI&gt;&lt;LI style="margin-left: 10px; margin-top: 1px; padding-left: 5px;"&gt;&lt;DIV class="" style="color: #545454; font-weight: bold; margin-right: 0.25em;"&gt;f:&lt;/DIV&gt;&lt;SPAN class=""&gt;&lt;/SPAN&gt;&lt;DIV class="" style="font-size: 12px !important; margin-top: 1px; margin-right: 1em;"&gt;image&lt;/DIV&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 12 Jan 2019 20:00:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/arcgis-js-api-4-x-bbox-issue-when-date-line-in/m-p/251441#M23296</guid>
      <dc:creator>JustinCarasick</dc:creator>
      <dc:date>2019-01-12T20:00:20Z</dc:date>
    </item>
  </channel>
</rss>

