<?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: timeslider on an arcgisdynamic layer: only show data from a user set time window? in ArcGIS Viewer for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180204#M5672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer. The problem is that I need to work with an ArcGISDynacmic layer and not a featurelayer because my data is too heavy (the dataload with featurelayer is too long). But for ArcGISDynamic layer, there is no 'timeDefinition' property.. do you know a way around for the latter? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 26 Apr 2012 05:32:25 GMT</pubDate>
    <dc:creator>LeenD_hondt</dc:creator>
    <dc:date>2012-04-26T05:32:25Z</dc:date>
    <item>
      <title>timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180201#M5669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm tring to develop a timeslider that only shows data (from an ArcGISDynamiclayer), from a certain interval in time set by the user.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So depending on user-set values, the timeslider should only show data in a certain time window (user-begin to user-end) and not from the begintime to endtime of the full timeslider (which should remain the same, keeping the fullextent).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But how can I set this 'time-window'?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I do not want to work with featurelayers as in &lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Filtering_by_time/01nq0000003n000000/" rel="nofollow" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Filtering_by_time/01nq0000003n000000/&lt;/A&gt;&lt;SPAN&gt; because of the dataload which will become too slow.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-I would need a kind of layerdefinition that does not work on the geographical extent but on the time extent.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried via setting the time offset (for the first value):&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;PRE class="plain" name="code"&gt;_fLayer=layer as ArcGISDynamicMapServiceLayer;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.timeOffset=300;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.timeOffsetUnits="esriTimeUnitsMinutes"; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.useMapTime=true;&lt;/PRE&gt;&lt;DIV style="display:none;"&gt; &lt;/DIV&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;But this runs, the slider indeed does not show anything in the first 300 min, but than all points (including points which occured in those 300 first minutes) are shown.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I am looking for a way to only have the timeslider playing data (cumulatively) which happened after those 300 minutes (not incl. the points from within those 300 minutes). &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advise would be great!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Kindly&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2012 06:00:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180201#M5669</guid>
      <dc:creator>LeenD_hondt</dc:creator>
      <dc:date>2012-04-24T06:00:21Z</dc:date>
    </item>
    <item>
      <title>Re: timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180202#M5670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to use a layerdefinition on a time field (which should work with ArcGIS 10.0). However, for some reason the results of the query are not as required.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;My Data: The attribute field named 'creation_time' has the datatype 'DATE'. When viewing in the ArcGIS Services Directory dates look like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN style="font-style:italic;"&gt;70888A8B&lt;BR /&gt;fleetpoc2.fleetpoc2.Tracks.objectid: 1&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.gpx: 52050&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.elevation: 73&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.creation_time: &lt;STRONG&gt;2012/03/30 03:23:00 UTC&lt;/STRONG&gt;&lt;BR /&gt; &lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Point:&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; X: 3.16930900000006&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Y: 51.1893850000001&lt;BR /&gt;&lt;BR /&gt;75C79C0E&lt;BR /&gt;fleetpoc2.fleetpoc2.Tracks.objectid: 2&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.gpx: 52050&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.elevation: 51&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; fleetpoc2.fleetpoc2.Tracks.creation_time: &lt;STRONG&gt;2012/03/30 03:24:00 UTC&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;Etc.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run a time query (via the ArcGIS Services Directory): example: WHERE creation_time&amp;gt;=DATE '2012/03/30 7:15:00 PM' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; all the points are returned (also those earlier than the time '2012/03/30 7:15:00 PM' .&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;When I run the opposite :WHERE creation_time&amp;lt;DATE '2012/03/30 7:15:00 PM' &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;-&amp;gt; no results are found&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;(Performing queries on other fields works perfectly, only for the time field there is an issue).&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I tried removing the 'PM' etc. but without success.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Any advice?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks in advance!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Dear,&lt;BR /&gt;&lt;BR /&gt;I'm tring to develop a timeslider that only shows data (from an ArcGISDynamiclayer), from a certain interval in time set by the user.&lt;BR /&gt;So depending on user-set values, the timeslider should only show data in a certain time window (user-begin to user-end) and not from the begintime to endtime of the full timeslider (which should remain the same, keeping the fullextent).&lt;BR /&gt;&lt;BR /&gt;But how can I set this 'time-window'?&lt;BR /&gt;-I do not want to work with featurelayers as in &lt;A href="http://help.arcgis.com/en/webapi/flex/samples/index.html#/Filtering_by_time/01nq0000003n000000/" rel="nofollow noopener noreferrer" target="_blank"&gt;http://help.arcgis.com/en/webapi/flex/samples/index.html#/Filtering_by_time/01nq0000003n000000/&lt;/A&gt; because of the dataload which will become too slow.&lt;BR /&gt;-I would need a kind of layerdefinition that does not work on the geographical extent but on the time extent.&lt;BR /&gt;I tried via setting the time offset (for the first value):&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;PRE class="lia-code-sample line-numbers language-none"&gt;_fLayer=layer as ArcGISDynamicMapServiceLayer;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.timeOffset=300; 
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.timeOffsetUnits="esriTimeUnitsMinutes";
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; fLayer.useMapTime=true;&lt;/PRE&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;BR /&gt;But this runs, the slider indeed does not show anything in the first 300 min, but than all points (including points which occured in those 300 first minutes) are shown.&lt;BR /&gt;However, I am looking for a way to only have the timeslider playing data (cumulatively) which happened after those 300 minutes (not incl. the points from within those 300 minutes). &lt;BR /&gt;&lt;BR /&gt;Any advise would be great!&lt;BR /&gt;Kindly&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 09:12:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180202#M5670</guid>
      <dc:creator>LeenD_hondt</dc:creator>
      <dc:date>2021-12-11T09:12:52Z</dc:date>
    </item>
    <item>
      <title>Re: timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180203#M5671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Leen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; You need to be using the FeatureLayers timeDefinition.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_macro_code jive_text_macro"&gt;fLayer.timeDefinition = new TimeExtent(DatePicker1.selectedDate,DatePicker2.selectedDate);&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Don't forget to &lt;/SPAN&gt;&lt;STRONG&gt;click the Mark as answer check&lt;/STRONG&gt;&lt;SPAN&gt; on this post and to &lt;/SPAN&gt;&lt;STRONG&gt;click the top arrow (promote)&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;BR /&gt;&lt;STRONG&gt;Follow the steps&lt;/STRONG&gt;&lt;SPAN&gt; as shown in the below graphic:&lt;/SPAN&gt;&lt;BR /&gt;&lt;IMG src="http://gis.calhouncounty.org/FlexViewer2.5/Answer.jpg" /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Apr 2012 15:08:40 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180203#M5671</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-25T15:08:40Z</dc:date>
    </item>
    <item>
      <title>Re: timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180204#M5672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for your answer. The problem is that I need to work with an ArcGISDynacmic layer and not a featurelayer because my data is too heavy (the dataload with featurelayer is too long). But for ArcGISDynamic layer, there is no 'timeDefinition' property.. do you know a way around for the latter? &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks again!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 05:32:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180204#M5672</guid>
      <dc:creator>LeenD_hondt</dc:creator>
      <dc:date>2012-04-26T05:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180205#M5673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Leen,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;&amp;nbsp;&amp;nbsp; Are you sure that you can not use a featureLayer for that one layer and add it to the map only when you need to use the time slider? ESRI adds and remove FeatureLayers dynamically all the time in code like the search widget.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 11:17:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180205#M5673</guid>
      <dc:creator>RobertScheitlin__GISP</dc:creator>
      <dc:date>2012-04-26T11:17:18Z</dc:date>
    </item>
    <item>
      <title>Re: timeslider on an arcgisdynamic layer: only show data from a user set time window?</title>
      <link>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180206#M5674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Dear Robert,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;On my testenvironment it is not an issue, but once it will need to run on more than 10.000 points and then the rendering goes very slow (as features are retrieved from the server, instead of images for the arcgisdynamic layer).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, I found a way around using the layerdefnition on the timefield but instead of using 'DATE' in the syntax, it should be 'timestamp':&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Example: tmpLayer.layerDefinitions=["creation_time &amp;gt; timestamp '2012-03-30 07:30:00']. And doing the same for the maximum time window. This works!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However, thanks again for your help!&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Leen&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Leen,&lt;BR /&gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp; Are you sure that you can not use a featureLayer for that one layer and add it to the map only when you need to use the time slider? ESRI adds and remove FeatureLayers dynamically all the time in code like the search widget.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 26 Apr 2012 11:59:37 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-viewer-for-flex-questions/timeslider-on-an-arcgisdynamic-layer-only-show/m-p/180206#M5674</guid>
      <dc:creator>LeenD_hondt</dc:creator>
      <dc:date>2012-04-26T11:59:37Z</dc:date>
    </item>
  </channel>
</rss>

