AE-based spatial analysis source code