<?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 Any suggestions for caching GeoJSONLayer data by map tile? in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-suggestions-for-caching-geojsonlayer-data-by/m-p/1541707#M85747</link>
    <description>&lt;P&gt;Hey all, just wondering if anyone has an idea of how this could be implemented?&lt;/P&gt;&lt;P&gt;I have a large amount of point data stored as geoparquets&amp;nbsp; in my back-end indexed by web tile:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthewTeelucksingh_0-1727132888402.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115727i4C012675EF8EB699/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthewTeelucksingh_0-1727132888402.png" alt="MatthewTeelucksingh_0-1727132888402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and am trying to display this data on my Esri map via a GeoJSONLayer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthewTeelucksingh_1-1727133245663.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115728i97E286D9220C3618/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthewTeelucksingh_1-1727133245663.png" alt="MatthewTeelucksingh_1-1727133245663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently I've implemented a back-end that takes in the coordinates of the map extent and the selected layer id and from there performs some geometry logic to determine which webtiles it should load from file storage. Those files are merged and then sent back to the front-end as geojson which gets rendered via the GeoJSONLayer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the datasets can get very large and so if the user moves the map quickly or zooms out enough the API can take a long time to aggregate all of the tiled data and the GeoJSONLayer spends time re-drawing points that it already has displayed. Does anyone know if there is a straightforward way of caching tiles in a GeoJSONLayer (similar to how WebTileLayers work) to prevent re-drawing unless specified? Or if not if there is any other Esri JS layer that could better accomplish what I want/any low hanging fruit for improving the performance of this application?&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 23 Sep 2024 23:24:41 GMT</pubDate>
    <dc:creator>MatthewTeelucksingh</dc:creator>
    <dc:date>2024-09-23T23:24:41Z</dc:date>
    <item>
      <title>Any suggestions for caching GeoJSONLayer data by map tile?</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-suggestions-for-caching-geojsonlayer-data-by/m-p/1541707#M85747</link>
      <description>&lt;P&gt;Hey all, just wondering if anyone has an idea of how this could be implemented?&lt;/P&gt;&lt;P&gt;I have a large amount of point data stored as geoparquets&amp;nbsp; in my back-end indexed by web tile:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthewTeelucksingh_0-1727132888402.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115727i4C012675EF8EB699/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthewTeelucksingh_0-1727132888402.png" alt="MatthewTeelucksingh_0-1727132888402.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;and am trying to display this data on my Esri map via a GeoJSONLayer:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MatthewTeelucksingh_1-1727133245663.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/115728i97E286D9220C3618/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MatthewTeelucksingh_1-1727133245663.png" alt="MatthewTeelucksingh_1-1727133245663.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Currently I've implemented a back-end that takes in the coordinates of the map extent and the selected layer id and from there performs some geometry logic to determine which webtiles it should load from file storage. Those files are merged and then sent back to the front-end as geojson which gets rendered via the GeoJSONLayer.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Some of the datasets can get very large and so if the user moves the map quickly or zooms out enough the API can take a long time to aggregate all of the tiled data and the GeoJSONLayer spends time re-drawing points that it already has displayed. Does anyone know if there is a straightforward way of caching tiles in a GeoJSONLayer (similar to how WebTileLayers work) to prevent re-drawing unless specified? Or if not if there is any other Esri JS layer that could better accomplish what I want/any low hanging fruit for improving the performance of this application?&lt;/P&gt;&lt;P&gt;Thanks!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Sep 2024 23:24:41 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/any-suggestions-for-caching-geojsonlayer-data-by/m-p/1541707#M85747</guid>
      <dc:creator>MatthewTeelucksingh</dc:creator>
      <dc:date>2024-09-23T23:24:41Z</dc:date>
    </item>
  </channel>
</rss>

