I want to export part of the map into (very big) SVG file. First I tried to do this using REST API:https://*server*/ArcGIS/rest/services/General/Etages/MapServer/export.This worked, the SVG file contains tags describing all polygons I have on map and tags describing all the labels. The only problem is that max SVG file size is limited to 4000x4000 pixels.
So I switched to python:
import arcpymxd = arcpy.mapping.MapDocument('d:\\maps\\etages.mxd')df = arcpy.mapping.ListDataFrames(mxd)[0]arcpy.mapping.ExportToSVG(mxd, 'd:\\maps\\etages.svg', df, 256*30, 256*30)del mxdI can export bigger maps this way, but the problem is that out SVG file is rendered using tags. Is it possible to force arcpy to export SVG as real polygons/text, not prerendered images?
أكثر...
So I switched to python:
import arcpymxd = arcpy.mapping.MapDocument('d:\\maps\\etages.mxd')df = arcpy.mapping.ListDataFrames(mxd)[0]arcpy.mapping.ExportToSVG(mxd, 'd:\\maps\\etages.svg', df, 256*30, 256*30)del mxdI can export bigger maps this way, but the problem is that out SVG file is rendered using tags. Is it possible to force arcpy to export SVG as real polygons/text, not prerendered images?
أكثر...