Select to view content in your preferred language

ExportWebMap Specifications Problem

2081
0
04-07-2014 05:41 PM
MazWakamatsu
New Contributor
Hi,

I'm trying to wrap my head around the ExportWebMap Specification documentation - http://resources.arcgis.com/en/help/main/10.1/index.html#//0154000004w8000000

I've created a exporting tool which takes a Web_Map_as_JSON input.

It's not detailed enough for me to correctly create a map document using the arcpy.mapping.ConvertWebMapToMapDocument function.

In particular I am trying to access a mapServer (with supports dynamic layers set to TRUE), lets call it "FOO", and then export a selection of layers, lets say 0,1,4.

The resulting MXD file which is created using arcpy.ConsolidateMap_management creates a DataFrame with a layer named "FOO" and the selection of layers as a sublayer of FOO.

DataFrame
|
--Foo
|
-- 0
|
-- 1
|
-- 4

The solution I want to accomplish is to get the 0,1,4 layers to be a child of the DataFrame.

DataFrame
|
-- 0
|
-- 1
|
-- 4

I've also had a look at the specification for a Feature Layer, but that doesn't allow for turning on/off labelling for features.
Tags (2)
0 Kudos
0 Replies