update mapmachine method to infer with correct data range