Questions tagged [error-000368]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0
votes
1answer
26 views

Select layer by location in ArcPy ERROR 000368 [duplicate]

I am trying to create a scrip that create a list of all features in my GDB, then select objects that intersect with a user given shapefile, and finally copy selected features to a new location. After ...
0
votes
1answer
77 views

Invalid Input Data on arcpy.SelectByLocation_management [duplicate]

I keep getting this error Traceback (most recent call last): File "\\drafting9\Drafting9\ShanePrice\Scripts\Python\Scripts\Cruise_Plan\Cruise_Plan_Model_Final_SP.py", line 77, in <module> ...
-1
votes
1answer
84 views

Adding rasters from folder if it in the data frame extent of the map using ArcPy?

I have 55 rasters located in "G:\desktop\Project\lyr\50k", and i try to add them to MXD file - only if the rasters extent are in the dataframe extent of the MXD file, using python code (in ArcGIS 10.3)...
1
vote
1answer
579 views

arcpy.SelectLayerByLocation_management gives ERROR 000368? [duplicate]

I have 2 shape files. One is a polygon while other is polyline. I need to select all the polylines that are completely inside the polygon. However this doesnot seem to work in any way. NewLinks = "...
0
votes
1answer
544 views

Coding python loop to select features of polygon layer than are completely contained in group of 11 layers using ArcPy? [duplicate]

This is my first attempt to code in Python. I have one polygon layer, A, that covers the UK and another set/group of layers that each cover sections of the UK, B. I want to select by location ...
1
vote
1answer
151 views

Using select by location is a stand alone script [duplicate]

I have script that I run quite regularly in the python window of Arcmap 10.2.2 and am in the process of converting it to a toolbox script so that others can use it more easily. It uses select layer ...
3
votes
1answer
302 views

Arcpy.mapping Select by Location problem

I need to adjust a premade .mxd many times, so I'd like to speed it up with this script. Everything is working except the Select by Location part. The query reduce the Address layer to a single point ...
2
votes
1answer
4k views

Invalid Input Data Error 000368 Running ArcPy tools in for loop

I am attempting to iterate over all the feature classes in a folder and I'm getting the error 000368. The other solutions in on SE were not helpful to me unfortunately, so I'm posting a separate ...
2
votes
1answer
1k views

SelectLayerByLocation_management gives ERROR 000368: Invalid input data?

I'm trying to use SelectLayerByLocation_managment in a script and keep getting the following error: ExecuteError: Failed to execute. Parameters are not valid. ERROR 000368: Invalid input data. ERROR ...
1
vote
1answer
189 views

Spatial selections using Python in ArcGIS

I am trying to perform a spatial query using Python in ArcGIS, here is my code: I'm getting the following error: Traceback (most recent call last): File "C:\Users\acarr\Documents_PYTHON ...
2
votes
2answers
2k views

Error in Select Layer by Location python script?

I keep on getting an error on Select by location that the file cannot be found and the inputs are invalid, but I can't figure out what I'm doing incorrectly. I realize some of my variables ...
2
votes
1answer
970 views

Debugging arcpy.SelectLayerByLocation_management() gives ERROR 000368: Invalid input data?

When i trying to do Select by location i got : arcgis scripting. ExecuteError: Failed to execute. Parameters are not valid. ERROR 000368: Invalid input data. Failed to execute (SelectLayerByLocation) ...
-1
votes
2answers
3k views

Error 000368 selectbylocation in script from ModelBuilder?

Can anyone help? I created a model-has buffer,clip, selectbylocation.... I exported the model as a script but when i try to run it i get this error: Executing: IGISprogrammingscript C:\Temp\...
1
vote
2answers
2k views

Select Layer by Location - Arcpy - Why are my inputs being interpreted as invalid?

I am working on a tool in a python toolbox and am totally confused about what is going on and causing my select by location operation to fail (Error 000368). I am trying to select the features in one ...