Questions tagged [error-000368]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer

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 ...
David Cañas's user avatar
0 votes
1 answer

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\", line 77, in <module> ...
S. Price's user avatar
  • 311
-1 votes
1 answer

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)...
newGIS's user avatar
  • 4,022
1 vote
1 answer

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 = "...
pnkjmndhl's user avatar
  • 794
0 votes
1 answer

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 ...
Jennifer Taylor's user avatar
1 vote
1 answer

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 ...
whatahitson's user avatar
  • 1,896
3 votes
1 answer

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 ...
Gary's user avatar
  • 540
2 votes
1 answer

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 ...
GForce's user avatar
  • 189
2 votes
1 answer

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 ...
geoJshaun's user avatar
  • 1,525
1 vote
1 answer

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 ...
Alan Carr's user avatar
  • 2,455
2 votes
2 answers

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 ...
Alex's user avatar
  • 75
2 votes
1 answer

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) ...
mahmoud hageer's user avatar
-1 votes
2 answers

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\...
user19831's user avatar
1 vote
2 answers

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 ...
Kevin's user avatar
  • 4,926