Subject: Marine Geospatial Ecology Tools (MGET) help
Text archives
From: | "Jason Roberts" <> |
---|---|
To: | "'Lee, Laura'" <> |
Cc: | <> |
Subject: | RE: [mget-help] ValueError--not a feature class or layer |
Date: | Thu, 8 Aug 2013 12:25:08 -0400 |
Hi Laura, I’m sorry you’re encountering this problem. I should be able to help you with it. Apparently the tool does not support .lyr files as an input. I say “apparently” because, although I wrote the MGET tool, the tool relies on ArcGIS to determine what inputs are appropriate kinds of data. In this case, the underlying data type that ArcGIS provides to tool developers for feature classes and layers apparently does not support .lyr files. This is news to me, but only because I have never tried to use a .lyr file with this tool. The workaround to this is to supply a feature class or shapefile to the tool instead of a .lyr file. Internally, nefop_monkfish_new_Events.lyr references some feature class or shapefile—possibly multiple of them if a join is being done. Find the original feature class or shapefile that should receive the interpolated values and provide it to the tool instead. Please let me know if that helps… Best, Jason From: Lee, Laura [mailto:] I get the following error when trying to use one of the interpolation tools: ValueError: The value specified for the points parameter, H:\ArcThis\ArcProjects\nefop_monkfish_new_Events.lyr, exists but it is not a feature class or layer. Please specify a feature class or layer. <type 'exceptions.ValueError'>: The value specified for the points parameter, H:\ArcThis\ArcProjects\nefop_monkfish_new_Events.lyr, exists but it is not a feature class or layer. Please specify a feature class or layer. Failed to execute (AVHRRPathfinderSST52TimeSeriesInterpolateAtArcGISPoints). I would appreciate any assistance in trying to solve the problem. Thanks, Laura |