Lateral inhomogeneities in engineered Schottky barriers