fix: change target_srs argument to target_crs#108
Conversation
JinIgarashi
left a comment
There was a problem hiding this comment.
@Thuhaa looks good. please fix your changes to pass tests
JinIgarashi
left a comment
There was a problem hiding this comment.
@Thuhaa I realized current api can handle both absolute and relative path. you don't need to change anything about file path.
please revert all changes related to file path you made. and make this PR purely SRID changes.
JinIgarashi
left a comment
There was a problem hiding this comment.
@Thuhaa could you change target_srs to target_crs? otherwise, it looks good
cbsurge/stats/OGRDataSource.py
Outdated
| target_crs (str): EPSG code or PROJ.4 string for the target projection. | ||
| src_srs (str): EPSG code or PROJ.4 string for the source projection (optional). |
There was a problem hiding this comment.
please update parameter description. change src_srs to src_crs
There was a problem hiding this comment.
Parameter description has been updated from src_srs to src_crs
There was a problem hiding this comment.
you did not update help string for parameter
There was a problem hiding this comment.
@Thuhaa I think PROJ.4 string is no longer expected to be passed by users?
@JinIgarashi Changes for the file paths have been reverted |
JinIgarashi
left a comment
There was a problem hiding this comment.
@Thuhaa you missed to change here. please check all your changes again to make sure everything is fine.
* fix: path names in stats package and change target_srid to target_srs * refactor: revert path changes and fix issue with srcDS arg of vector translate * fix: tests * refactor: change target_srs argument to target_crs * fix: update crs comments * fix: update help message for -target-crs argument * fix: update comments * fix comments * fix comments
Instead of passing target_srid as a integer, It is better to use target_srs as an argument to give user the freedom to use whichever they want