initial commit, porting code over from ckanext-spatial