|
POST
|
I thought i had put that in, apparently, I didn't thanks
... View more
10-05-2015
06:38 AM
|
0
|
2
|
3042
|
|
POST
|
Here's what i use # Import system modules
import arcpy,os
# set workspace
workspace = r"Your File here"
# set the workspace environment
arcpy.env.workspace = workspace
# No more users to connect to database
arcpy.AcceptConnections(workspace, False)
#Disconnect Users
arcpy.DisconnectUser (workspace, "ALL")
# Compress database
arcpy.Compress_management(workspace)
print 'Compression Complete'
# Get a list of stand alone feature classes
dataList = arcpy.ListFeatureClasses()
# Add Feature classes in datasets
for dataset in arcpy.ListDatasets("", "Feature"):
arcpy.env.workspace = os.path.join(workspace,dataset)
dataList += arcpy.ListFeatureClasses()
# reset the workspace
arcpy.env.workspace = workspace
# Execute rebuild indexes
arcpy.RebuildIndexes_management(workspace, "NO_SYSTEM", dataList, "ALL")
print 'Rebuild Complete'
# Allow connections.
arcpy.AcceptConnections(workspace, True)
... View more
10-02-2015
12:47 PM
|
0
|
4
|
3042
|
|
POST
|
import arcpy,os
fc = "your file"
h,n = os.path.split(fc)
desc = arcpy.Describe(h)
print desc.datasetType
print desc.name
... View more
10-02-2015
12:41 PM
|
1
|
0
|
1152
|
|
POST
|
Have tried File->Add Data->Add Data from ArcGIS Online. You could type in Street Map in the search window.
... View more
10-02-2015
05:09 AM
|
0
|
5
|
3681
|
|
POST
|
What type of data is in the sheet (x,y or lat, lon) You can add the sheet directly to arc by adding data
... View more
09-30-2015
11:08 AM
|
2
|
1
|
3080
|
|
POST
|
fields[0] and fields[1] correspond to fields = ["LastName", "FirstName"] UpdateCursor—Help | ArcGIS for Desktop
... View more
09-30-2015
10:58 AM
|
2
|
0
|
3637
|
|
POST
|
I don't know about from an xml file but if your willing to create a lyr file you could use Setting output symbology in scripts—Help | ArcGIS for Desktop
... View more
09-30-2015
10:54 AM
|
0
|
0
|
980
|
|
POST
|
Have you tried Using in-memory workspace—Help | ArcGIS for Desktop
... View more
09-29-2015
01:35 PM
|
0
|
1
|
5584
|
|
POST
|
You may be well beyond this but it never hurts to review the basics. Design principles for cartography | ArcGIS Blog
... View more
09-29-2015
08:30 AM
|
0
|
0
|
2624
|
|
POST
|
I can see the 3 lines. I don't know that i wouldn't exaggerate more where it would be more apparent that they are 3 separate lines.
... View more
09-29-2015
07:01 AM
|
0
|
0
|
2624
|
|
POST
|
I haven't tested any of this and it looks like there are times when you don't want to do it this way. Please read the links below Rebuild a spatial index—ArcGIS Help | ArcGIS for Desktop Remove Spatial Index—Help | ArcGIS for Desktop Add Spatial Index—Help | ArcGIS for Desktop
... View more
09-29-2015
05:13 AM
|
1
|
1
|
2668
|
|
POST
|
Try querying out the unneeded tiles in the grid map. You can select by location any tiles within a distance of your roads or that intersect your ROWs. I'm thinking you may not have a ROWs layer but if you have a field in your streets layer you could use the buffer tool based on that field.
... View more
09-26-2015
05:42 AM
|
0
|
0
|
692
|
|
POST
|
This happens when you run a program a second time and you don't use "arcpy.env.overwriteOutput = True". If this a repeat add the line of code and rerun, I would suggest if this is not a test environment meaning you don't need the data in the geodatabase, I would make a back up copy.
... View more
09-25-2015
08:43 AM
|
0
|
0
|
1243
|
| Title | Kudos | Posted |
|---|---|---|
| 2 | 09-14-2015 01:29 PM | |
| 1 | 01-26-2016 10:18 AM | |
| 1 | 08-18-2015 06:01 AM | |
| 1 | 06-20-2016 12:34 PM | |
| 1 | 01-19-2016 06:13 AM |
| Online Status |
Offline
|
| Date Last Visited |
11-11-2020
02:23 AM
|