POST
|
is there a problem to install both RabbitMQ and ArcGIS Server on the same machine? Will be any ports conflict between ArcGIS for Server's RabbitMQ and the other installation of RabbitMQ?
... View more
07-01-2016
06:26 AM
|
0
|
2
|
2752
|
POST
|
Thanks Robert, but I would like to know Where the MXD is (e.g C:\temp\test.mxd) ! Using the ArcMap interface I know how to get this. I would like to do this through python.
... View more
04-12-2013
07:36 AM
|
0
|
0
|
475
|
POST
|
Hy Guys, I'm new in python and I would like to know if there is a way to read the MXD path (e.g C:\temp\arquivo.mxd) ? I have to create a MXD, then open it and add some layers, I tried this:
import arcpy, os
mxd = file("template1.mxd", "a")
mxd.close()
mxd1 = arcpy.mapping.MapDocument(mxd)
df = arcpy.mapping.ListDataFrames(mxd1, "Dados")[0]
addLayer = arcpy.mapping.Layer(r"D:\Eduardo\Dados_teste\Temp\sanepar\TemplateFlags.lyr")
arcpy.mapping.AddLayer(df, addLayer, "BOTTOM")
mxd1.save()
del mxd1, addLayer
It works if the MXD is previously created but I'd like to create a blank MXD. I don't know how to pass the mxd full path to arcpy.mapping.MapDocument. Thanks, Eduardo
... View more
04-12-2013
07:20 AM
|
0
|
3
|
784
|
POST
|
Grant privileges using the Change Privileges Tools (ArcToolBox -> Data Management Tools -> Database) to your user and try.
... View more
07-06-2012
06:56 AM
|
0
|
0
|
1301
|
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:23 AM
|