Due to interstellar extinction, optical census of Galactic planetary nebulae (PNs) is highly incomplete, and some compact H ii regions might have been mis-classified as PNs. The problem is particularly severe in the Galactic plane where the extinction in the optical is significant and hampers the detections of PNs. Unlike optical observations, infrared (IR) observations are hardly affected by interstellar extinction, and provide a good opportunity to study highly obscured PNs. In this study, we use the data from the Spitzer Legacy Infrared Mid-Plane Survey Extraordinaire 3D (GLIMPSE 3D) to investigate the mid-infrared (MIR) properties of PNs and PN candidates.