Air compressor system basics

Best to get a minimum of about 20-25' of hard plumbing, angled slightly downhill toward the tank like 67 said, then put the moisture trap/filter at the end. There's a lot of factors at play. Don't be tempted to use PVC for your hard lines, best is copper if possible.