<?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: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument in ArcGIS REST APIs and Services Questions</title>
    <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198209#M938</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can take a look if you send me the webmap JSON generated from the web app, and your python script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 20 Jun 2013 17:11:21 GMT</pubDate>
    <dc:creator>JeffMoulds</dc:creator>
    <dc:date>2013-06-20T17:11:21Z</dc:date>
    <item>
      <title>ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198205#M934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi everybody,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm trying to print my MapService with Advanced Printing described in ESRI's 10.1 help and getting result pdf with missing layers and partially drew picture. My MapService is usual service built from ArcView publisher and contains few datasets inside. All data resides in SQLServer 2008 SDE. Nothing unusual.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I found here two main problems with ConvertWebMapToMapDocument and ExportToPdf arcpy functions.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1. ExportToPdf creates PDF before IActiveView did it refresh, so I see it as partially drew picture where features are missing sometimes on half and sometimes on quarter result map image.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. ConvertWebMapToMapDocument creates corrupted MapServerLayer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I spend few days trying to understand what's doing wrong and discover that ConvertWebMapToMapDocument is properly works on x86 ArcVIew Enviroment. So this misbehavior relates to x64 enviroment of ArcGIS Server. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;ESRI don't want to take this as a bug.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Somebody has the same problem?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Jun 2013 08:09:03 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198205#M934</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2013-06-04T08:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198206#M935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;do you run script in background process?&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Jun 2013 18:26:27 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198206#M935</guid>
      <dc:creator>nicogis</dc:creator>
      <dc:date>2013-06-05T18:26:27Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDeatingocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198207#M936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Yes. &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The advance printing arcpy should run as Geocode service. But this method produces the same corrupted layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I did arcpy calls with .Net Process class from SOE x64 process or from x86 process with the same result.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The first dataset in MapServerLayer is ok and others appears like a single node without childs.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If I'm creating this MapServerLayer in MapDocument programmatically this works correctly only on x86 process.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;That means i should create service running on machine with ArcView to print. Ridiculous, but I don't see any other option to print maps with layout.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Jun 2013 05:41:46 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198207#M936</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2013-06-06T05:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198208#M937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hi everybody,&lt;BR /&gt;I'm trying to print my MapService with Advanced Printing described in ESRI's 10.1 help and getting result pdf with missing layers and partially drew picture. My MapService is usual service built from ArcView publisher and contains few datasets inside. All data resides in SQLServer 2008 SDE. Nothing unusual.&lt;BR /&gt;&lt;BR /&gt;I found here two main problems with ConvertWebMapToMapDocument and ExportToPdf arcpy functions.&lt;BR /&gt;&lt;BR /&gt;1. ExportToPdf creates PDF before IActiveView did it refresh, so I see it as partially drew picture where features are missing sometimes on half and sometimes on quarter result map image.&lt;BR /&gt;2. ConvertWebMapToMapDocument creates corrupted MapServerLayer.&lt;BR /&gt;&lt;BR /&gt;I spend few days trying to understand what's doing wrong and discover that ConvertWebMapToMapDocument is properly works on x86 ArcVIew Enviroment. So this misbehavior relates to x64 enviroment of ArcGIS Server. &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Somebody has the same problem?&lt;BR /&gt;&lt;BR /&gt;Thanks &lt;BR /&gt;Alex&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I was wrong. The ConvertWebMapToMapDocument also not working correct on x86 process. Only map.add MapServerLayer can be used and only on x86 enviroment. So how I can print Dynamic Map Service with multiple group layers inside with visible layers definitions?&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Nobody knows .....&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 Jun 2013 06:42:35 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198208#M937</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2013-06-13T06:42:35Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198209#M938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I can take a look if you send me the webmap JSON generated from the web app, and your python script.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 20 Jun 2013 17:11:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198209#M938</guid>
      <dc:creator>JeffMoulds</dc:creator>
      <dc:date>2013-06-20T17:11:21Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198210#M939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Jeff,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I override this problem by excluding nested datasets from MapDocument. And now is 10.2. I already forgot about this problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Not sure if it still exists.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks for reply,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Alex&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Jan 2014 08:26:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198210#M939</guid>
      <dc:creator>AlexMerkulov</dc:creator>
      <dc:date>2014-01-09T08:26:11Z</dc:date>
    </item>
    <item>
      <title>Re: ConvertWebMapToMapDocument creates corrupted MapServerLayer in MapDocument</title>
      <link>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198211#M940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hi Alex&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;We have exactly the same problem.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The client sends the WebMapJson to our printing process. The printing process then converts this JSON in a web map document which we export.&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;If the map is rotated and we print with at least 300 dpi, the map is only partially drawn. Points and Lines are sometimes cut or even missing completely.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;In our case it seems to be only if the map is rotated with high resolution (&amp;gt;=300 dpi). With lower resolution it works in ArcMap and in ArcGIS Server 10.1.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Did you found a way to solve it with ArcGIS 10.1? What did you mean with nested datasets?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Regards&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;Lorenz&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Feb 2014 08:03:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-rest-apis-and-services-questions/convertwebmaptomapdocument-creates-corrupted/m-p/198211#M940</guid>
      <dc:creator>RiinaPakarinen</dc:creator>
      <dc:date>2014-02-19T08:03:01Z</dc:date>
    </item>
  </channel>
</rss>

