Surface spatial analysis in architectural and archaeological survey: digital and analytical procedures