Opened 16 years ago
Closed 16 years ago
#2459 closed defect (fixed)
Calling OGR.SpatialReference.ImportFromWKT from vb.NET
Reported by: | cam | Owned by: | tamas |
---|---|---|---|
Priority: | normal | Milestone: | 1.5.3 |
Component: | CSharpBindings | Version: | unspecified |
Severity: | minor | Keywords: | |
Cc: |
Description
SpatialReference.ImportFromWkt(SWIGTYPE_p_p_char) is missing typemap in the C# bindings
current workaround is to importfromwkt during SpatialReference object contruction
Change History (3)
comment:1 by , 16 years ago
Component: | OGR_SRS → CSharpBindings |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Milestone: | → 1.5.3 |
---|
comment:3 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
Added the missing typemap to the trunk and the stable branch (r14931 and r14932)
It must be noted, that this function is somewhat different as the constructor with wkt argument (mentioned above) and has the following C# signature:
public int ImportFromWkt(ref string ppszInput)
The callee may change the value of the passed string and return the remainder that couldn't be processed by the parser.