|
POST
|
Try using GetParameterAsText for your model variables inside your script. Python is interpreting '%saveKML%' as strings. env.workspace = arcpy.GetParameterAsText('0')
outputKML = arcpy.GetParameterAsText('1') + '.kmz'
... View more
05-15-2015
07:45 AM
|
0
|
0
|
2128
|
|
POST
|
After looking at this, this comes back as a single element list. This might be better: mapname = str(mxd.filepath).split('\\')[-1:][0][:-4]
... View more
05-14-2015
03:11 PM
|
0
|
1
|
3235
|
|
POST
|
filePath1 = r"\\company.local\dfs\dept_name\gis_folder\projects\" You need to take out the double backslash at the beginning of this if you are going to preface it with r.
... View more
05-14-2015
03:00 PM
|
0
|
1
|
2517
|
|
POST
|
How about: mapname = str(mxd.filepath).split('\\')[-1:] This gets the path of the map document, converts it to a string, splits it by the double backslash and puts the last element in mapname. Edited to fix my hasty slicing error.
... View more
05-14-2015
02:57 PM
|
0
|
2
|
3235
|
|
POST
|
If you do something out of sequence, it doesn't work properly.
... View more
05-14-2015
12:19 PM
|
0
|
0
|
2521
|
|
POST
|
I wrote a blog (mostly for my own reference) about how to get that to work. I found that you have to follow the instructions very methodically. Click on this then do this, then click on this then load that etc...
... View more
05-14-2015
12:19 PM
|
1
|
2
|
2521
|
|
POST
|
Have you tried the Align Features to Shape on the advanced editing toolbar? If that's not possible I have used the previous extent button the v keyboard shortcut to find vertices and the z keyboard shortcut to zoom to the vertices.
... View more
05-14-2015
08:53 AM
|
2
|
4
|
2949
|
|
POST
|
These maps and apps are built to work with the Local Government Information Model. The way I have replaced the data in the map with my data is copying and pasting it to another folder. This breaks all of the data connections since they are looking for data in a relative path. I then click on one of the layers and point it to my layer in the file geodatabase that houses my Local Government Information Model, the map finds the rest of the layers on its own. Again, this only works if you have your data in the LGIM.
... View more
05-13-2015
03:03 PM
|
0
|
0
|
1087
|
|
POST
|
Hi, Is there such a thing in ArcGIS Pro as a reverse geocoding tool like the Address Inspector on the geocoding toolbar in ArcMap? My searches haven't found one. Thanks, Jeff
... View more
05-13-2015
09:05 AM
|
1
|
22
|
10986
|
|
POST
|
I have had to publish layers as feature services to allow pop-ups.
... View more
05-13-2015
07:33 AM
|
0
|
0
|
1760
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 10-07-2011 12:55 PM | |
| 1 | 01-13-2021 11:29 AM | |
| 2 | 06-05-2024 07:29 AM | |
| 1 | 04-26-2024 11:42 AM | |
| 1 | 02-12-2024 07:49 AM |
| Online Status |
Offline
|
| Date Last Visited |
05-22-2026
07:16 AM
|