POST
|
Yes we have a few Desktop licenses here I believe. Would a single Online Organisational account cover all of the licenses? or does each license need their own account? Also do you have a UK number for activation? or email? Jake Skinner Thanks
... View more
04-05-2016
08:30 AM
|
0
|
0
|
1485
|
POST
|
Ok so, I followed your steps but don't have that Publish option available... I have Arc 10.0 if it makes any difference.
... View more
04-05-2016
07:46 AM
|
0
|
5
|
1485
|
POST
|
thanks I'll try this out and get back to you. Perhaps it should be made clearer on your website?
... View more
04-05-2016
07:41 AM
|
0
|
0
|
1485
|
POST
|
Hello, I have a web map on arcgis online. I have uploaded a zipped shapefile containing polygons with a mostly populated attribute table. I want the end user to be able to run a search when using my map, so they can search for info within this feature. Using ESRI's tips, they say go to the 'about' button on the left> then 'more details'> then 'edit' map. At the bottom under properties> application settings, there is meant to be an expandable setting called 'find locations'. But I can only see Routing, Measure Tool and Basemap Selector. ??? I'd really appreciate some advice! Thanks
... View more
04-05-2016
04:29 AM
|
0
|
10
|
5233
|
POST
|
thanks guys, i will try both techniques and report back! EDIT: ok so I found Tim's solution was easiest and it worked fine for me. Although I didn't try Andy's, thanks anyway!
... View more
01-15-2015
05:50 AM
|
0
|
1
|
19449
|
POST
|
Hi. I have a column in a large attribute table. The values in this column are text. Example entries in this case would be: Bas Rh Pega How can I add the word 'Log' to the end of each entry so it'd look like: BasLog RhLog PegaLog I don't want to use the technique or sorting them, then selecting them, then using field calculator to define them. I just want to know how to add text onto existing text, no matter what the existing text is. thanks
... View more
01-15-2015
05:12 AM
|
2
|
7
|
41811
|
POST
|
Ooh nevermind I found how to name the output files using the Name rather than the page number. Here is my final code, I hope it helps someone else out:
>>> import arcpy
... mxd = arcpy.mapping.MapDocument("CURRENT") #here I choose to export from the current mxd I'm running python from
... pageNumbers = [2,4,6,8] #here I have selected the page range I want exported
... for pageNum in pageNumbers:
... mxd.dataDrivenPages.currentPageID = pageNum
... pageName = mxd.dataDrivenPages.pageRow.Name #here is a line I found elsewhere telling python where it can find the page name
... print "Exporting page {0} of {1}".format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))
... arcpy.mapping.ExportToTIFF(mxd, r"C:\FolderForExports\FILEname" + str(pageName) + ".tif") #here I've chose TIFF as my format and told python to add the page name to the end of each exported file
... del mxd
... View more
07-23-2014
02:07 AM
|
0
|
0
|
1067
|
POST
|
Ian, thanks that works great! I see you also have to delete the bit: 'pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):' and replace it with what you put. thanks One more question, the 2nd last line has a part where you can name the output files, in this case it says 'Free Air', but the + str(pageNum) part adds the page number to the end of it. (ie. Free Air 1.jpg, Free Air 2.jpg etc.). Is there a way of using the name attribute from a field instead of pageNum? thanks
... View more
07-23-2014
01:44 AM
|
0
|
0
|
1067
|
POST
|
Hi Ian, choosing the page ranges should be easy, I just don't know how or where to tell python to only export the range I ask. I'm a python novice 100%. I just copied the code from Arc's help page and change the path names and export format (to .jpeg)
... View more
07-22-2014
08:07 AM
|
0
|
2
|
1067
|
POST
|
the page range could be anything. I just gave 1,3,5,7,9 as an example.
... View more
07-22-2014
07:56 AM
|
0
|
4
|
1067
|
POST
|
Hello, I have my script for exporting multiple DDP exports to JPEG format:
>>> import arcpy
... mxd = arcpy.mapping.MapDocument("CURRENT")
... for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
... mxd.dataDrivenPages.currentPageID = pageNum
... print "Exporting page {0} of {1}".format(str(mxd.dataDrivenPages.currentPageID), str(mxd.dataDrivenPages.pageCount))
... arcpy.mapping.ExportToJPEG(mxd, r"X:\DVDs to burn\South Atlantic Margins\Arcview projects\A3 & A4 Images and Export mxd's\2014 DDP A3 Exports\Images\Free Air" + str(pageNum) + ".jpg")
... del mxd
But I need to only export certain pages at a time, not the whole set! In this case I want pages 1,3,5,7,9 to be exported. how can I modify my script for this? thanks
... View more
07-22-2014
07:42 AM
|
0
|
7
|
3728
|
POST
|
In my case, I'm going to give ESRI the benefit of the doubt and try to work out the new forums. Problem is, this situation shouldn't happen in the first place! If it ain't broke, don't fix it.
... View more
07-09-2014
07:28 AM
|
0
|
1
|
652
|
POST
|
1. try increasing the resolution in the General tab on the export map dialogue, 2. then go to the advanced tab and try playing with the options there. Perhaps your version of Adobe Acrobat is too old?
... View more
07-08-2014
08:22 AM
|
0
|
4
|
2009
|
POST
|
im lost. I want to visit the ArcGIS for desktop discussion area. how can I do this?
... View more
07-08-2014
07:59 AM
|
0
|
1
|
1650
|
POST
|
Unfortunately arcpy.mapping can't work with the stretched renderer. Rather than the raster being a permanent layer in the MXD, what if you tried adding and deleting it with each page? Below is a sample snippet of code from the arcpy.mapping DDP Class help topic that I modified to add/remove your raster between DDP pages. It just requires that you save your raster out as a layer file.
import arcpy
mxd = arcpy.mapping.MapDocument(r"C:\Project\ParcelAtlas.mxd")
df = arcpy.mapping.ListDataFrames(mxd, "Layers")[0]
rasLyrFile = arcpy.mapping.Layer(r"C:\Project\Data\Basemap.lyr")
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1):
mxd.dataDrivenPages.currentPageID = pageNum
arcpy.mapping.AddLayer(df, rasLyrFile, "BOTTOM") #You can use InsertLayer for more precise placement
mxd.dataDrivenPages.exportToPDF(r"C:\Project\Output\Page" + str(pageNum) + ".pdf", "CURRENT")
arcpy.mapping.RemoveLayer(df, rasLyrFile)
del mxd Jeff Jeff, I'm trying this code now in the python module of my DDP project. I replaced the layer and mxd location lines, and also the export location. However when I run it it says: Runtime error Traceback (most recent call last): File "<string>", line 3, in <module> IndexError: list index out of range
... View more
06-27-2014
01:33 AM
|
0
|
0
|
1250
|
Title | Kudos | Posted |
---|---|---|
1 | 03-27-2017 07:11 AM | |
1 | 03-27-2017 06:57 AM | |
1 | 05-08-2017 04:50 AM | |
1 | 05-12-2017 12:52 AM | |
1 | 12-07-2016 08:01 AM |