|
POST
|
Hello, First you need to create a graph template. Here are some links to get you started: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//003300000004000000.htm http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00330000001n000000.htm After you have that done, take a look at the Make Graph tool and Save Graph tool http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#//00170000005t000000.htm http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Save_Graph/00170000005v000000/ If you want to write a python script to assist you with creating graphs, check out this: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Graph/000v0000013w000000/ Hope this helps
... View more
02-09-2011
03:13 AM
|
0
|
0
|
924
|
|
POST
|
I don't believe there is any difference between the MS Access databases. If it's created by esri or if it's create my MS Access, it's all the same file. The difference is that a spatial database has a specific set of tables in it. You can try using a library like pyodbc and look at the tables in the database. If it has the spatial tables, then you know it's a spatial personal geodatabase. Another solution too, would be to use file geodatabases to store spatial data instead of personal geodatabases.
... View more
02-07-2011
05:47 AM
|
0
|
0
|
2494
|
|
POST
|
Check out the ListWorkspaces() and Describe data. ListWorkspaces() allows you to specify if you want to find file geodatabase, personal geodatabase, sde, etc... You can also use Describe() to get the workspace properties also.
... View more
02-07-2011
02:16 AM
|
0
|
0
|
2494
|
|
POST
|
I think you mean to use arcpy.Describe(), not DescribeData()
import arcpy
# Create a Describe object from the raster dataset
#
desc = arcpy.Describe("C:/Data/Boulder.img")
# Print some raster dataset properties
#
print "Band Count: %d" % desc.bandCount
print "Compression Type: %s" % desc.compressionType
print "Raster Format: %s" % desc.format
... View more
02-03-2011
02:09 AM
|
0
|
0
|
727
|
|
POST
|
I cannot reproduce your problem, but you failed to attached a layer file with the original name. How I performed the process: Open Arc Map Add shape file Open Arc Toolbox Open Multi Ring Buffer Saved results to shape file and set distances to 3 distances in meters Can you create a buffer in general with that layer name? Thanks
... View more
02-02-2011
04:51 AM
|
0
|
0
|
6230
|
|
POST
|
Can you post your data and layer file exactly as shown on your screenshot in a zipfile?
... View more
02-02-2011
04:04 AM
|
0
|
0
|
6230
|
|
POST
|
I think the name of your layer is causing the problem because you have unsupported characters in your layer's name. Try changing the layer's name to something simple like: "Buffer Layer" and re-run the tool.
... View more
02-02-2011
03:38 AM
|
0
|
0
|
6230
|
|
POST
|
Try adding at the top of your imports
# -*- coding: cp1252 -*-
# Some other code
# Some simple example
print "ä"
I was able to use the 'import script' successfully at v10 sp1 after I added this. Hope this helps!
... View more
01-14-2011
06:37 AM
|
0
|
0
|
2015
|
|
POST
|
Scott, You can use the ArcPy mapping module to zoom to extent or pan to a feature. Here is an example:
import arcpy
mxd = arcpy.mapping.MapDocument("CURRENT")
df = arcpy.mapping.ListDataFrames(mxd)[0]
df.zoomToSelectedFeatures()
arcpy.RefreshActiveView()
del mxd
This should zoom to selected features. Here is a link to more information on zooming to features: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/DataFrame/00s300000003000000/ Enjoy
... View more
01-10-2011
02:29 AM
|
0
|
0
|
1115
|
|
POST
|
You can try something like this:
program = "C:\\Python25\\Test\\LH-Sitekit\\sitekit\\engine\\install-nt.bat"
# supply the proper input values as strings
input1 = 'x'
input2 = 'x'
input3 = 'z'
import subprocess
subprocess.call([program, input1, input2, input3])
or you can just use the geoprocessing tools to create tables and featureclasses: http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Create_Feature_Class/00170000002p000000/
... View more
12-15-2010
03:30 AM
|
0
|
0
|
820
|
|
POST
|
Try changing this: where_clause = "area" >= queryValue to where_clause = "\"area\" >= " + queryValue
... View more
12-02-2010
07:44 AM
|
0
|
0
|
3114
|
|
POST
|
The best place to find charting examples would be at the Silverlight Toolkit Codeplex. There you can find all kind of interactive samples with code. Here is a simple pie chart example:
<!-- Typical Use -->
<Grid Style="{StaticResource WrapperStyle}">
<chartingToolkit:Chart Title="Typical Use">
<chartingToolkit:Chart.Series>
<chartingToolkit:PieSeries ItemsSource="{Binding PugetSound, Source={StaticResource City}}" IndependentValueBinding="{Binding Name}" DependentValueBinding="{Binding Population}"/>
</chartingToolkit:Chart.Series>
</chartingToolkit:Chart>
</Grid>
Where ChartingToolkit refers to:
xmlns:chartingToolkit="clr-namespace:System.Windows.Controls.DataVisualization.Charting;assembly=System.Windows.Controls.DataVisualization.Toolkit"
Hope this helps.
... View more
09-13-2010
02:45 AM
|
0
|
0
|
424
|
|
POST
|
You need to add a cross domain policy file to your server. Check out the link below to get an example of the a cross domain policy file. http://resources.arcgis.com/content/kbase?fa=articleShow&d=37035
... View more
09-08-2010
06:50 AM
|
0
|
0
|
554
|
|
POST
|
Use the delete tool in arctoolbox. http://help.arcgis.com/en/arcgisdesktop/10.0/help/index.html#/Delete/001700000052000000/
... View more
08-25-2010
01:30 PM
|
0
|
0
|
642
|
|
POST
|
To list data from the server, you can do something like this:
import arcpy
from arcpy import env
env.overwriteOutput = True
env.workspace = r"C:\Documents and Settings\cmathers\Application Data\ESRI\ArcCatalog\OSA@sde@bay-gis.sde"
fcList = arcpy.ListFeatureClasses()
# Copy shapefiles to a file geodatabase
#
for fc in fcList:
print fc
That's just one example of how you can use sde connection files. If you wanted to reference a feature class, you could do something like this: fc = r"C:\Documents and Settings\cmathers\Application Data\ESRI\ArcCatalog\OSA@sde@bay-gis.sde\<FeatureClassName>" Hope this helps.
... View more
08-16-2010
02:35 AM
|
1
|
0
|
9716
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 07-24-2017 05:56 AM | |
| 1 | 03-28-2018 03:28 AM | |
| 1 | 07-24-2017 05:39 AM | |
| 1 | 06-01-2016 03:48 AM | |
| 1 | 01-27-2016 02:53 AM |
| Online Status |
Offline
|
| Date Last Visited |
3 weeks ago
|