#2034 closed defect (fixed)
ogr.CreateLayer has the wrong parameter name for the SRS
Reported by: | hobu | Owned by: | hobu |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.0 |
Component: | SWIG (all bindings) | Version: | unspecified |
Severity: | normal | Keywords: | |
Cc: | tamas Ari Jolma |
Description
ogr.CreateLayer has "reference" for the SRS name rather than "srs" that existed in the old bindings. I propose that we rename it back.
Change History (3)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
no significant complaints about this one so far, although would Ari's NULL check typemaps may need to be updated in the Perl stuff for the name change?
comment:3 by , 16 years ago
No. Does the parameter name matter in the Python bindings? I'm thinking the Python named parameter syntax. In Perl they do not matter - only through this NULL checking thing in the bindings, which I'm currently using.
In the Perl docs for example I'm using names to my liking and in the new Perl layer, which I've implemented I'm using named parameters (Perl style) also to my own liking.
Ari
Added in r13133