Tuesday, 14 November 2017

arcgis desktop - Getting 000210 Error trying to wirte output to in_memory workspace in ModelBuilder?


My model gives this error message when it tries to do the Clip function



Error Message


Here is the first half of the model showing the parameters used in the clip function


Model


I have successfully run this model when the clip function output was writing to disk but when I changed it to in_memory it stopped working. Any suggestions? I really don't want to write all 3000 files to my hard drive.



Answer



in_memory workspace is styled as a gdb so it should work if you delete the ".shp"


http://resources.arcgis.com/en/help/main/10.2/index.html#//002w0000005s000000



"A table, feature class, or a raster written to the in-memory workspace will have the source location of GPInMemoryWorkspace, as illustrated below."




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...