|
POST
|
I completely re-wrote the Map Book with Street Index Pages sample so that it will work with an ArcView license. There is a very complete README file that covers everything in great detail from A to Z. http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=FBE3D235-1422-2418-8820-E071ED243854 Jeff
... View more
08-11-2011
06:32 AM
|
0
|
0
|
1619
|
|
POST
|
A sample has been placed onto the Resource Center. http://resources.arcgis.com/gallery/file/geoprocessing/details?entryID=8C8E6EB6-1422-2418-A0B8-6AA61BF57894 Jeff
... View more
08-11-2011
06:24 AM
|
0
|
0
|
4108
|
|
POST
|
If you don't get a reply soon, you may want to try posting this to the geoprocessing forum. http://forums.arcgis.com/forums/31-Geoprocessing Jeff
... View more
08-08-2011
07:59 AM
|
0
|
0
|
422
|
|
POST
|
I'm not sure if annotation groups are the best strategy for strip maps. Here is an quote from help: "Map document annotation is stored in map documents in annotation groups within each data frame. Choose map document annotation if you only want to use your text in one particular map." Two thoughts - 1) use basic labeling with horizontal options. or 2) mask the labels outside of your index polygon. It would be great if you could include a couple of screenshots. Thanks, Jeff
... View more
08-08-2011
07:56 AM
|
0
|
0
|
3111
|
|
POST
|
This is a bug. It will be addressed as soon as possible. If you are interested in tracking it, the ID is NIM071401. Thanks for reporting this! Jeff
... View more
08-04-2011
01:57 PM
|
0
|
0
|
653
|
|
POST
|
Have you tried creating a FeatureSet variable? A FeatureSet variable allows you to interact with the display. You need to specify a template schema (feature class) so the tool knows what type of feature you want to create on the display. FYI - the geoprossessing forum is a much better forum for model questions. Jeff
... View more
08-03-2011
06:14 AM
|
0
|
0
|
322
|
|
POST
|
Hello, This is a known issue (NIM065009) and the planned fix will be for 10.1. We are only able to reproduce the issue for group layers. If you are having a problem with non-group layers, please send me (jbarrette@.esri.com) a map package so I can look into it further. Thanks, Jeff
... View more
08-01-2011
09:01 AM
|
0
|
0
|
739
|
|
POST
|
I wish I had something for you. You may want to try the editing forum. http://forums.arcgis.com/forums/116-Editing Jeff
... View more
07-29-2011
06:18 AM
|
0
|
0
|
3063
|
|
POST
|
Gordon, findAndReplaceWorkspacePaths is very sensitive to the strings that you pass in because it is simply doing a find and replace. In your cases below, the strings are different so you have to run the same function multiple times, once for each possible combination. There are several ways to play with the strings to make them the same but that would be even more work. I'm not familiar with your 4th workspace being a possible workspace path value. That appears odd. Another method to use would be the Layer class .replaceDataSource function. This way you can simply override the original workspace with the new workspace. A nice help topic that addresses these issues is: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Updating_and_fixing_data_sources_with_arcpy_mapping/00s30000004p000000/ Jeff
... View more
07-28-2011
06:38 AM
|
0
|
0
|
436
|
|
POST
|
When you enable Data Driven Pages and the data frame goes off the map, is it the data frame object that physically moves off the map or is the data extent changing to an area where there are no visible layers. Can you click the Next Page button or type in a page to get to an extent with features. Please send me a map package to jbarrette@esri.com Thanks, Jeff
... View more
07-27-2011
06:23 AM
|
0
|
0
|
535
|
|
POST
|
This topic is going off on a tangent from the original title but ... Have you tried looking at the following help topic: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Customizing_your_map_extent/00s900000011000000/ Review the "Other Data Frame" section. Jeff
... View more
07-26-2011
01:22 PM
|
0
|
0
|
610
|
|
POST
|
Just as an FYI. If you highlight your code and click the # button it will wrap your code in special CODE tags so you don't lose the python indentation. For example - not 100% sure I got your indents correct: # Import Modules
import arcpy, os
# Set Variables
mxdpath = r'FULL PATH TO MXD FILE' # string
outputfolder = 'FULL PATH TO OUTPUT FOLDER' # string
namefield = 'THE FIELD CONTAINING THE NAME OF THE RESULTING PDF FILE' # string
queryfield = 'THE FIELD CONTAINING THE VALUE FOR THE DESIRED QUERY' # string
layers = ['LIST','OF','LAYERS'] # list
mxd = arcpy.mapping.MapDocument(mxdpath)
# Start Loop through Data Driven Pages
for pageNum in range(1, mxd.dataDrivenPages.pageCount + 1)
mxd.dataDrivenPages.currentPageID = pageNum # set the current page
pageName = mxd.dataDrivenPages.pageRow.getValue(field) # get the pageName
pageName += '.pdf' # add '.pdf' extension for file name
pdf = os.path.join(outputfolder, pageName) # add pageName to output folder to get full output path
# Start Loop through all layers of mxd file
for lyr in arcpy.mapping.ListLayers(mxd) # for every layer in mxd's Layer List
if lyr.name in layers: # if layer name in user input list above
value = mxd.DataDrivenPages.pageRow.getValue(queryfield) # get value of query field
if lyr.defintionQuery == True: # if a defintionQuery Exsts...
query = lyr.defintionQuery + "AND QueryField = \'%s\'" % (value) # Add new to old
else:
query = "QueryField = \'$s\'" % (value) # else create a new query
lyr.defintionQuery = query # set the layers defintionQuery
else:
print 'Next' # else print next, this isn't necassary, but its a good place holder
arcpy.mapping.ExportToPDF(mxd, pdf) # export the current Page to pdf
del mxd, lyr, pageName, pageNum, query, value
... View more
07-26-2011
06:53 AM
|
0
|
0
|
470
|
|
POST
|
Have you tried working with Page Definitions? See the help topic: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00sr00000004000000.htm Jeff
... View more
07-21-2011
01:43 PM
|
0
|
0
|
503
|
|
POST
|
This is not out of the box functionality. This could be customized, the way you describe using ArcObjects. At 10.1 there will be a way to do this with Python Addins. At 10.0 you could create a script tool that lists the unique page names/numbers, your user could select the value and via arcpy.mapping you could update the layout based on the page selected. There are some sample scripts that do similar things in Resource Center. Jeff
... View more
07-21-2011
01:39 PM
|
0
|
0
|
435
|
|
POST
|
Have you tried using the Eliminate function. Is was built for this purpose. Here is the summary: Eliminates polygons by merging them with neighboring polygons that have the largest area or the longest shared border. Eliminate is often used to remove small sliver polygons that are the result of overlay operations, such as Intersect or Union. Jeff
... View more
07-18-2011
06:36 AM
|
0
|
0
|
510
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 06-05-2025 11:20 AM | |
| 3 | 06-05-2025 09:21 AM | |
| 1 | 05-14-2025 01:19 PM | |
| 2 | 04-24-2025 07:54 AM | |
| 1 | 03-15-2025 07:19 PM |
| Online Status |
Offline
|
| Date Last Visited |
2 weeks ago
|