feat(structuredgrid): add method to to get ij from point(s) in real world coordinates#1205
feat(structuredgrid): add method to to get ij from point(s) in real world coordinates#1205ntdosch wants to merge 1 commit into
Conversation
…in real world coords. Same as the function of the same name in the now depreciated SpatialReference class.
|
@ntdosch before we can accept a PR with new functionality you need to add add one or more tests. You could add it to an existing autotest script (for example, @jlarsen-usgs It seems it would be better to have a similar method for each discretization type. A proposal would be: which would return which would return You could start with implementing it in Not sure if you are interested in implementing something this general but we would appreciate the help. |
|
@ntdosch and @jlarsen-usgs I forgot the So this current PR duplicates functionality. May be worthwhile to add an optional @jlarsen-usgs what do you think. If it seems reasonable we can leave the PR open and tag it as an enhancement for some future version. |
|
@jdhughes-usgs I think adding an optional |
|
closing PR since this method already exists as |
The
get_ijmethod returns the row and column of a point or sequence of points in real-world coordinates. It's is effectively the same as the method by the same name in the now depreciated SpatialReference class.