Opened 11 years ago

Closed 11 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 Changed 11 years ago by Even Rouault

Component: OGR_SRSCSharpBindings
Owner: changed from warmerdam to tamas

comment:2 Changed 11 years ago by tamas

Milestone: 1.5.3

comment:3 Changed 11 years ago by tamas

Resolution: fixed
Status: newclosed

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.

Note: See TracTickets for help on using tickets.