added options for output coordinate system