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 Even Rouault, 16 years ago

Component: OGR_SRSCSharpBindings
Owner: changed from warmerdam to tamas

comment:2 by tamas, 16 years ago

Milestone: 1.5.3

comment:3 by tamas, 16 years ago

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.