added getShpData method for api retrocompatibility