Ticket #2426 (closed task: fixed)
csharp Dataset.SetGCPs should take a collection of ground control points
| Reported by: | johanb | Owned by: | tamas |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.5.3 |
| Component: | CSharpBindings | Version: | unspecified |
| Severity: | major | Keywords: | |
| Cc: |
Description
The C++ interface takes an array of ground control points, the C# version only one... Have tried the following code without success. Only the first point is set according to gdalinfo.
GCP[] gcps = new GCP[] {
new GCP(1411000, 6407000, 0, 389, 374, null, null), new GCP(1412000, 6407000, 0, 821, 372, null, null), new GCP(1412000, 6406000, 0, 823, 804, null, null), new GCP(1411000, 6406000, 0, 390, 217, null, null) };
ds.SetGCPs(gcps.Length, gcps[0], wkt);
Change History
Note: See
TracTickets for help on using
tickets.
