<?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: how to calculate export map time (timeinstant) in ArcGIS API for Silverlight Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360420#M9196</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is sort of what I am looking to do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/net-web-adf/details?entryID=5EC9123A-1422-2418-A090-7B52916462E6"&gt;http://resources.arcgis.com/gallery/file/net-web-adf/details?entryID=5EC9123A-1422-2418-A090-7B52916462E6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I only want a png/bmp/gif/ect I was hoping for a simpler method&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Dec 2010 19:46:29 GMT</pubDate>
    <dc:creator>JimHenry</dc:creator>
    <dc:date>2010-12-27T19:46:29Z</dc:date>
    <item>
      <title>how to calculate export map time (timeinstant)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360417#M9193</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have a time slider and a dynamic map layer with time enabled.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am trying to export a still image ... the only method I found is to call the web service sending the parameters.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/export.html"&gt;http://help.arcgis.com/en/arcgisserver/10.0/apis/rest/export.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Problem is I can not seem to figure out how to convert/get the timeinstant value from the time slider.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 22 Dec 2010 17:35:16 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360417#M9193</guid>
      <dc:creator>JimHenry</dc:creator>
      <dc:date>2010-12-22T17:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate export map time (timeinstant)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360418#M9194</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;If you set the TimeExtent property of your map, the request to the rest end point will be made by the framework behind the scene. That's the easier way.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If for any reason you need to request yourself the rest end point. the timeinstant is the number of milliseconds since 1970 January, the 1st.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;So to convert a time to timeinstant, you can use code like:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN style="color:#2b91af;"&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;&lt;SPAN style="color:#2b91af;"&gt;TimeSpan&lt;/SPAN&gt; elapsed = timeToConvert.ToUniversalTime() - &lt;SPAN style="color:blue;"&gt;new&lt;/SPAN&gt; &lt;SPAN style="color:#2b91af;"&gt;DateTime&lt;/SPAN&gt;(1970, 1, 1, 0, 0, 0, &lt;SPAN style="color:#2b91af;"&gt;DateTimeKind&lt;/SPAN&gt;.Utc);long timeinstant = elapsed.TotalMilliseconds;
&lt;/PRE&gt;&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 16:48:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360418#M9194</guid>
      <dc:creator>DominiqueBroux</dc:creator>
      <dc:date>2021-12-11T16:48:35Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate export map time (timeinstant)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360419#M9195</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Thanks for the reply!&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Do you know of another way (esri control) that I can automate an export (snap shot) of what is displayed on the webmap?&amp;nbsp; I would like to avoid meshing the images together on the back end in order to create the same image.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 17:15:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360419#M9195</guid>
      <dc:creator>JimHenry</dc:creator>
      <dc:date>2010-12-27T17:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate export map time (timeinstant)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360420#M9196</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;This is sort of what I am looking to do:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://resources.arcgis.com/gallery/file/net-web-adf/details?entryID=5EC9123A-1422-2418-A090-7B52916462E6"&gt;http://resources.arcgis.com/gallery/file/net-web-adf/details?entryID=5EC9123A-1422-2418-A090-7B52916462E6&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I only want a png/bmp/gif/ect I was hoping for a simpler method&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Dec 2010 19:46:29 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360420#M9196</guid>
      <dc:creator>JimHenry</dc:creator>
      <dc:date>2010-12-27T19:46:29Z</dc:date>
    </item>
    <item>
      <title>Re: how to calculate export map time (timeinstant)</title>
      <link>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360421#M9197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I found this thread:&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=281577"&gt;http://forums.esri.com/Thread.asp?c=158&amp;amp;f=2455&amp;amp;t=281577&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Gave an example of a service that saved out an image using ImageTools (&lt;/SPAN&gt;&lt;A href="http://imagetools.codeplex.com"&gt;http://imagetools.codeplex.com&lt;/A&gt;&lt;SPAN&gt;).&lt;/SPAN&gt;&lt;BR /&gt;&lt;A href="http://acequia.ccrfcd.org/fvadvanced/fvadvanced.aspx"&gt;http://acequia.ccrfcd.org/fvadvanced/fvadvanced.aspx&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Since I would prefer not to rely on third party tools I am thinking about using the ExportToMap for each layer then combining on the back end with another process using imagemagic or something similar.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jan 2011 11:23:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-silverlight-questions/how-to-calculate-export-map-time-timeinstant/m-p/360421#M9197</guid>
      <dc:creator>JimHenry</dc:creator>
      <dc:date>2011-01-04T11:23:51Z</dc:date>
    </item>
  </channel>
</rss>

