|
POST
|
rfairhur24 Under Join Data you have a drop-down list in ArcGIS Desktop that allows you to choose "Join data from another layer based on spatial location" which I believe is a Spatial Join.
... View more
01-29-2014
07:36 AM
|
0
|
0
|
1430
|
|
POST
|
C:/GIS/MAPBOOK/Proposed Zoning Book//Proposed_ZoningMapBook_Page_1.mxd is being processed Not sure if this is the cause of your problem but you have 1 set of // in your path but the other parts of the path are separated by /.
... View more
01-29-2014
07:10 AM
|
0
|
0
|
2143
|
|
POST
|
I can see that you get Snow_Centerlines_ from user input Snow_Centerlines_ = arcpy.GetParameterAsText(0) but I do not see where the source of Snow_Removal_Area__2_ is defined as it seems to just be given a name Snow_Removal_Area__2_ = "Snow_Removal_Area" Maybe this is where rfairhur24 is saying that the Model is getting tripped up. I think you might need to add the Snow_Removal_Area as a feature layer using MakeFeatureLayer_management before using this layer in the spatial join.
... View more
01-29-2014
07:06 AM
|
0
|
0
|
4568
|
|
POST
|
Can you see if the mxd variable is being properly populated from the list you generate? Maybe print out the variable in your code. mxd = workspace + "//" + mxd
... View more
01-29-2014
06:35 AM
|
0
|
0
|
2143
|
|
POST
|
I really need to see how the Spatial Join tool is configured. Can you get that into a screenshot? If not, can you export as a python script and paste that into the thread?
... View more
01-29-2014
06:25 AM
|
0
|
0
|
4568
|
|
POST
|
To All Javascript API Developers: What ESRI software needs to be installed on a development computer to create a Javascript API web application and/or services? When creating .NET SDK applications, I needed ArcGIS Desktop and the .NET SDK installed on the development. As such I'm looking to determine the software requirements for Javascript development. Any help or hints are greatly appreciated.
... View more
01-29-2014
06:15 AM
|
0
|
2
|
949
|
|
POST
|
Dawn: You say "When I build a model and use the spatial join from the Analysis toolbox I don't get the attributes." Can you provide a screenshot of how this is configured as it just might be that your configuration settings are not correct for the results that you want to achieve?
... View more
01-29-2014
05:58 AM
|
0
|
0
|
4568
|
|
POST
|
Are you running on a 64-bit OS? Do you have other python scripts that run as expected? You may be running the 64-bit python version which could be causing the issue.
... View more
01-29-2014
05:04 AM
|
0
|
0
|
865
|
|
POST
|
I am having some difficulties getting something seemingly simple to work. import datetime then_test = datetime.date(2011, 7, 2) print then_test According to documentation this should print 2011-07-29 but I am getting the error message descriptor 'date' requires a 'datetime.datetime' object but received a 'int' Anyone know where I am going wrong here?
... View more
01-28-2014
10:23 AM
|
0
|
0
|
4018
|
|
POST
|
Did ESRI give an estimate on when they might be able to fix this bug? Are you going to us the alternate ReplaceDataSource method to process your SDE layers?
... View more
01-28-2014
10:01 AM
|
0
|
0
|
1305
|
|
POST
|
What version of ArcGIS Desktop are you using? What is your operating system? A couple of questions to start to get a background about your problem.
... View more
01-28-2014
08:25 AM
|
0
|
0
|
2432
|
|
POST
|
Do you know if this would work as I don't want to process files older than say 7/1/2011 which was the last time I batch processed mxd files (no one has modified these files in ~ 2.5 years)? import datetime filedate = datetime.fromtimestamp(os.path.getmtime(rootpath + "/" + fName)) #filedate = datetime.date(2014, 1, 27) comparedate = datetime.now if (filedate - comparedate).days > 915: #915 is ~ 2.5 years print('Work on this file') else: print('Do nothing') The problem here is that the time frame keeps getting longer as time goes by. I want to compare the date of the file against a specific date so the time frame does not keep changing.
... View more
01-28-2014
06:53 AM
|
0
|
0
|
4018
|
|
POST
|
Have you tried this installation on a Win2008 Server? I ask because if it works on a Win2008 Server, maybe it is a bug specific to a Win2012 Server.
... View more
01-28-2014
03:58 AM
|
0
|
0
|
3894
|
|
POST
|
Can you show how you are calling the script from the Task Scheduler? Are you calling the .py directly or are you using a bat file to call the .py file(s)? In either case you would need to specifically tell the Task Scheduler to use the 32-bit version of python as, by default, it is probably calling the 64-bit version of python. This is a change I needed to make on my GIS servers where there was both a 32-bit and 64-bit version of python installed (e.g. ArcGIS Desktop and ArcGIS Server software both installed on the server).
... View more
01-28-2014
03:53 AM
|
0
|
0
|
8481
|
| Title | Kudos | Posted |
|---|---|---|
| 1 | 03-18-2024 01:45 PM | |
| 1 | 08-19-2024 10:38 AM | |
| 1 | 07-08-2026 01:29 PM | |
| 1 | 02-23-2026 05:32 PM | |
| 2 | 02-11-2026 10:42 AM |
| Online Status |
Offline
|
| Date Last Visited |
Monday
|