I guess this happened some hours ago. Like Geo said, hide the weed out of the car and off your person. Reason being that even if you weren't high or doing anything wrong the officer could pat you down for a weapons check under Terry v. US. If a cop has reasonable suspicion that you may be armed he can pat you down for weapons. However, if he pats down and feels a pipe or bag, which are quite obvious to most cops, he can remove it from you and arrest you for it (I think that then falls under plain feel, that from experience he could tell from its feel it was contraband). So if I couldn't make hiding it off in the woods or brush or whatever, I guess I would have taken off my shoes, probably in the car, slid them into each sock under my foot, then put my shoes back on (prayed the pipe was small too) and walked carefully until everything was done. Since I wear boxers and not briefs the underwear under my package wouldn't have been an option. Deep inside the trunk of the car might have been an option if I knew no one was going to get arrested but beware, if the driver did get arrested, they can tow the car and search and inventory it, thus getting around the warrant requirement.