Questions tagged [error-000368]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
-1
votes
1answer
34 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
424 views

arcpy.SelectLayerByLocation_management gives ERROR 000368?

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
361 views

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

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
111 views

Using select by location is a stand alone script

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
215 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
2k 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 ...
1
vote
1answer
687 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
157 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
884 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 ...