Take the 2-minute tour ×
Geographic Information Systems Stack Exchange is a question and answer site for cartographers, geographers and GIS professionals. It's 100% free, no registration required.

I'm using ModelBuilder. I tried to take the Output from the Merge tool as Input to the Select tool. But it doesn't work. I'm trying to Merge 90 Shapefile lines into one. Then "Select" some features (with an expression) from the WHOLE one to do more things.

enter image description here

share|improve this question

2 Answers 2

up vote 0 down vote accepted

The select tool only work with layer. So after the output of the merge tool, insert a "Make feature layer" (data management) and them connect the output of this tool to the select tool.

share|improve this answer
    
Sorry @jeb but I can't connect The Merge's output as MakeFeatureLayer's Input –  juasmilla May 8 at 14:12
2  
What are you merging? Shouldn't there be two featureclasses or shapefiles as input for the merge. What do you see when you validate your model? (press the check mark, second icon from the right). –  HDR May 8 at 14:16
    
The Select Layer By Attribute tool needs a layer made first, but the Select tool (which is being used here) works fine on a feature class so Make Feature Layer is not needed. –  PolyGeo May 8 at 22:40
    
@PolyGeo, you're right! My mistake, so it was HDR that has the right answer! –  jeb May 9 at 15:07

Sorry mates, I didn't know that I need to fill the Input of the Merge tool. Here is the pict:

Thanks!

enter image description here

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.