gdal 0.0.7 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/ext/gdal-ruby/gdal/extconf.rb +3 -0
- data/ext/gdal-ruby/gdal/gdal.cpp +1082 -679
- data/ext/gdal-ruby/gdalconst/extconf.rb +3 -0
- data/ext/gdal-ruby/gdalconst/gdalconst.c +122 -137
- data/ext/gdal-ruby/ogr/extconf.rb +3 -0
- data/ext/gdal-ruby/ogr/ogr.cpp +1450 -303
- data/ext/gdal-ruby/osr/extconf.rb +3 -0
- data/ext/gdal-ruby/osr/osr.cpp +291 -187
- data/ext/gdal-ruby/ruby-2.2-patch.rb +58 -0
- data/lib/gdal-ruby/version.rb +1 -1
- data/lib/gdal.rb +4 -0
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: efd2479353115fa849e01a0b9c4429e12486dc69
|
4
|
+
data.tar.gz: f0dc55bec95189756a0178d5a0783c2653bb09ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 17038000eb84539bc04a01018861f7928971d2f58539f905b5abcc2c8d6a9d9666aa2a50983d6f4a7139df1de792a31279cc9114e2c68a54bc348946339c57e9
|
7
|
+
data.tar.gz: 6e70d3e50ba2a3a9b7a687004522d4bff78db58c840eb2bb2a315a81367e57546cfc03c0935b149119254f33689c4c143a19378f87b67f641eb6349ecec797cd
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,8 @@
|
|
1
|
+
## v1.0.0
|
2
|
+
* Regenerated bindings using GDAL 1.10.1 sources and SWIG 3.0.5
|
3
|
+
* Patch for ruby 2.2.1 (Thanks @aleksejleonov and @johnjohndoe) (Issue #5)
|
4
|
+
* Fix symbol conflicts when requiring both `gdal-ruby/gdal` and `gdal-ruby/ogr` with `get_driver_by_name` and other functions (Issue #2)
|
5
|
+
* Since the symbol conflicts are now fixed, `gdal`, `ogr`, `osr` and `gdalconst` are now `require`'d be default (Issue #2)
|
6
|
+
|
7
|
+
## v0.0.7
|
8
|
+
* Fix for building on ruby versions where `$CXXFLAGS` isn't defined
|
data/ext/gdal-ruby/gdal/gdal.cpp
CHANGED
@@ -1,11 +1,11 @@
|
|
1
1
|
/* ----------------------------------------------------------------------------
|
2
2
|
* This file was automatically generated by SWIG (http://www.swig.org).
|
3
|
-
* Version
|
4
|
-
*
|
5
|
-
* This file is not intended to be easily readable and contains a number of
|
3
|
+
* Version 3.0.5
|
4
|
+
*
|
5
|
+
* This file is not intended to be easily readable and contains a number of
|
6
6
|
* coding conventions designed to improve portability and efficiency. Do not make
|
7
|
-
* changes to this file unless you know what you are doing--modify the SWIG
|
8
|
-
* interface file instead.
|
7
|
+
* changes to this file unless you know what you are doing--modify the SWIG
|
8
|
+
* interface file instead.
|
9
9
|
* ----------------------------------------------------------------------------- */
|
10
10
|
|
11
11
|
#define SWIGRUBY
|
@@ -65,28 +65,28 @@ template <typename T> T SwigValueInit() {
|
|
65
65
|
#ifndef SWIGUNUSED
|
66
66
|
# if defined(__GNUC__)
|
67
67
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
68
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
68
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
69
69
|
# else
|
70
70
|
# define SWIGUNUSED
|
71
71
|
# endif
|
72
72
|
# elif defined(__ICC)
|
73
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
73
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
74
74
|
# else
|
75
|
-
# define SWIGUNUSED
|
75
|
+
# define SWIGUNUSED
|
76
76
|
# endif
|
77
77
|
#endif
|
78
78
|
|
79
79
|
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
80
80
|
# if defined(_MSC_VER)
|
81
81
|
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
82
|
-
# endif
|
82
|
+
# endif
|
83
83
|
#endif
|
84
84
|
|
85
85
|
#ifndef SWIGUNUSEDPARM
|
86
86
|
# ifdef __cplusplus
|
87
87
|
# define SWIGUNUSEDPARM(p)
|
88
88
|
# else
|
89
|
-
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
89
|
+
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
90
90
|
# endif
|
91
91
|
#endif
|
92
92
|
|
@@ -129,7 +129,7 @@ template <typename T> T SwigValueInit() {
|
|
129
129
|
# define SWIGSTDCALL __stdcall
|
130
130
|
# else
|
131
131
|
# define SWIGSTDCALL
|
132
|
-
# endif
|
132
|
+
# endif
|
133
133
|
#endif
|
134
134
|
|
135
135
|
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
@@ -174,28 +174,28 @@ template <typename T> T SwigValueInit() {
|
|
174
174
|
#ifndef SWIGUNUSED
|
175
175
|
# if defined(__GNUC__)
|
176
176
|
# if !(defined(__cplusplus)) || (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 4))
|
177
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
177
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
178
178
|
# else
|
179
179
|
# define SWIGUNUSED
|
180
180
|
# endif
|
181
181
|
# elif defined(__ICC)
|
182
|
-
# define SWIGUNUSED __attribute__ ((__unused__))
|
182
|
+
# define SWIGUNUSED __attribute__ ((__unused__))
|
183
183
|
# else
|
184
|
-
# define SWIGUNUSED
|
184
|
+
# define SWIGUNUSED
|
185
185
|
# endif
|
186
186
|
#endif
|
187
187
|
|
188
188
|
#ifndef SWIG_MSC_UNSUPPRESS_4505
|
189
189
|
# if defined(_MSC_VER)
|
190
190
|
# pragma warning(disable : 4505) /* unreferenced local function has been removed */
|
191
|
-
# endif
|
191
|
+
# endif
|
192
192
|
#endif
|
193
193
|
|
194
194
|
#ifndef SWIGUNUSEDPARM
|
195
195
|
# ifdef __cplusplus
|
196
196
|
# define SWIGUNUSEDPARM(p)
|
197
197
|
# else
|
198
|
-
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
198
|
+
# define SWIGUNUSEDPARM(p) p SWIGUNUSED
|
199
199
|
# endif
|
200
200
|
#endif
|
201
201
|
|
@@ -238,7 +238,7 @@ template <typename T> T SwigValueInit() {
|
|
238
238
|
# define SWIGSTDCALL __stdcall
|
239
239
|
# else
|
240
240
|
# define SWIGSTDCALL
|
241
|
-
# endif
|
241
|
+
# endif
|
242
242
|
#endif
|
243
243
|
|
244
244
|
/* Deal with Microsoft's attempt at deprecating C standard runtime functions */
|
@@ -276,7 +276,7 @@ template <typename T> T SwigValueInit() {
|
|
276
276
|
You can use the SWIGRUNTIME and SWIGRUNTIMEINLINE macros for
|
277
277
|
creating a static or dynamic library from the SWIG runtime code.
|
278
278
|
In 99.9% of the cases, SWIG just needs to declare them as 'static'.
|
279
|
-
|
279
|
+
|
280
280
|
But only do this if strictly necessary, ie, if you have problems
|
281
281
|
with your compiler or suchlike.
|
282
282
|
*/
|
@@ -302,16 +302,16 @@ template <typename T> T SwigValueInit() {
|
|
302
302
|
#define SWIG_POINTER_OWN 0x1
|
303
303
|
|
304
304
|
|
305
|
-
/*
|
305
|
+
/*
|
306
306
|
Flags/methods for returning states.
|
307
|
-
|
308
|
-
The SWIG conversion methods, as ConvertPtr, return an integer
|
307
|
+
|
308
|
+
The SWIG conversion methods, as ConvertPtr, return an integer
|
309
309
|
that tells if the conversion was successful or not. And if not,
|
310
310
|
an error code can be returned (see swigerrors.swg for the codes).
|
311
|
-
|
311
|
+
|
312
312
|
Use the following macros/flags to set or process the returning
|
313
313
|
states.
|
314
|
-
|
314
|
+
|
315
315
|
In old versions of SWIG, code such as the following was usually written:
|
316
316
|
|
317
317
|
if (SWIG_ConvertPtr(obj,vptr,ty.flags) != -1) {
|
@@ -344,23 +344,23 @@ template <typename T> T SwigValueInit() {
|
|
344
344
|
} else {
|
345
345
|
// fail code
|
346
346
|
}
|
347
|
-
|
347
|
+
|
348
348
|
I.e., now SWIG_ConvertPtr can return new objects and you can
|
349
349
|
identify the case and take care of the deallocation. Of course that
|
350
350
|
also requires SWIG_ConvertPtr to return new result values, such as
|
351
351
|
|
352
|
-
int SWIG_ConvertPtr(obj, ptr,...) {
|
353
|
-
if (<obj is ok>) {
|
354
|
-
if (<need new object>) {
|
355
|
-
*ptr = <ptr to new allocated object>;
|
356
|
-
return SWIG_NEWOBJ;
|
357
|
-
} else {
|
358
|
-
*ptr = <ptr to old object>;
|
359
|
-
return SWIG_OLDOBJ;
|
360
|
-
}
|
361
|
-
} else {
|
362
|
-
return SWIG_BADOBJ;
|
363
|
-
}
|
352
|
+
int SWIG_ConvertPtr(obj, ptr,...) {
|
353
|
+
if (<obj is ok>) {
|
354
|
+
if (<need new object>) {
|
355
|
+
*ptr = <ptr to new allocated object>;
|
356
|
+
return SWIG_NEWOBJ;
|
357
|
+
} else {
|
358
|
+
*ptr = <ptr to old object>;
|
359
|
+
return SWIG_OLDOBJ;
|
360
|
+
}
|
361
|
+
} else {
|
362
|
+
return SWIG_BADOBJ;
|
363
|
+
}
|
364
364
|
}
|
365
365
|
|
366
366
|
Of course, returning the plain '0(success)/-1(fail)' still works, but you can be
|
@@ -374,17 +374,17 @@ template <typename T> T SwigValueInit() {
|
|
374
374
|
int fooi(int);
|
375
375
|
|
376
376
|
and you call
|
377
|
-
|
377
|
+
|
378
378
|
food(1) // cast rank '1' (1 -> 1.0)
|
379
379
|
fooi(1) // cast rank '0'
|
380
380
|
|
381
381
|
just use the SWIG_AddCast()/SWIG_CheckState()
|
382
382
|
*/
|
383
383
|
|
384
|
-
#define SWIG_OK (0)
|
384
|
+
#define SWIG_OK (0)
|
385
385
|
#define SWIG_ERROR (-1)
|
386
386
|
#define SWIG_IsOK(r) (r >= 0)
|
387
|
-
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
|
387
|
+
#define SWIG_ArgError(r) ((r != SWIG_ERROR) ? r : SWIG_TypeError)
|
388
388
|
|
389
389
|
/* The CastRankLimit says how many bits are used for the cast rank */
|
390
390
|
#define SWIG_CASTRANKLIMIT (1 << 8)
|
@@ -415,14 +415,14 @@ template <typename T> T SwigValueInit() {
|
|
415
415
|
# endif
|
416
416
|
# define SWIG_CASTRANKMASK ((SWIG_CASTRANKLIMIT) -1)
|
417
417
|
# define SWIG_CastRank(r) (r & SWIG_CASTRANKMASK)
|
418
|
-
SWIGINTERNINLINE int SWIG_AddCast(int r) {
|
418
|
+
SWIGINTERNINLINE int SWIG_AddCast(int r) {
|
419
419
|
return SWIG_IsOK(r) ? ((SWIG_CastRank(r) < SWIG_MAXCASTRANK) ? (r + 1) : SWIG_ERROR) : r;
|
420
420
|
}
|
421
|
-
SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
422
|
-
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
421
|
+
SWIGINTERNINLINE int SWIG_CheckState(int r) {
|
422
|
+
return SWIG_IsOK(r) ? SWIG_CastRank(r) + 1 : 0;
|
423
423
|
}
|
424
424
|
#else /* no cast-rank mode */
|
425
|
-
# define SWIG_AddCast
|
425
|
+
# define SWIG_AddCast(r) (r)
|
426
426
|
# define SWIG_CheckState(r) (SWIG_IsOK(r) ? 1 : 0)
|
427
427
|
#endif
|
428
428
|
|
@@ -466,7 +466,7 @@ typedef struct swig_module_info {
|
|
466
466
|
void *clientdata; /* Language specific module data */
|
467
467
|
} swig_module_info;
|
468
468
|
|
469
|
-
/*
|
469
|
+
/*
|
470
470
|
Compare two type names skipping the space characters, therefore
|
471
471
|
"char*" == "char *" and "Class<int>" == "Class<int >", etc.
|
472
472
|
|
@@ -486,18 +486,18 @@ SWIG_TypeNameComp(const char *f1, const char *l1,
|
|
486
486
|
|
487
487
|
/*
|
488
488
|
Check type equivalence in a name list like <name1>|<name2>|...
|
489
|
-
Return 0 if
|
489
|
+
Return 0 if equal, -1 if nb < tb, 1 if nb > tb
|
490
490
|
*/
|
491
491
|
SWIGRUNTIME int
|
492
|
-
|
493
|
-
int equiv =
|
492
|
+
SWIG_TypeCmp(const char *nb, const char *tb) {
|
493
|
+
int equiv = 1;
|
494
494
|
const char* te = tb + strlen(tb);
|
495
495
|
const char* ne = nb;
|
496
|
-
while (
|
496
|
+
while (equiv != 0 && *ne) {
|
497
497
|
for (nb = ne; *ne; ++ne) {
|
498
498
|
if (*ne == '|') break;
|
499
499
|
}
|
500
|
-
equiv =
|
500
|
+
equiv = SWIG_TypeNameComp(nb, ne, tb, te);
|
501
501
|
if (*ne) ++ne;
|
502
502
|
}
|
503
503
|
return equiv;
|
@@ -505,24 +505,13 @@ SWIG_TypeEquiv(const char *nb, const char *tb) {
|
|
505
505
|
|
506
506
|
/*
|
507
507
|
Check type equivalence in a name list like <name1>|<name2>|...
|
508
|
-
Return 0 if equal,
|
508
|
+
Return 0 if not equal, 1 if equal
|
509
509
|
*/
|
510
510
|
SWIGRUNTIME int
|
511
|
-
|
512
|
-
|
513
|
-
const char* te = tb + strlen(tb);
|
514
|
-
const char* ne = nb;
|
515
|
-
while (!equiv && *ne) {
|
516
|
-
for (nb = ne; *ne; ++ne) {
|
517
|
-
if (*ne == '|') break;
|
518
|
-
}
|
519
|
-
equiv = (SWIG_TypeNameComp(nb, ne, tb, te) == 0) ? 1 : 0;
|
520
|
-
if (*ne) ++ne;
|
521
|
-
}
|
522
|
-
return equiv;
|
511
|
+
SWIG_TypeEquiv(const char *nb, const char *tb) {
|
512
|
+
return SWIG_TypeCmp(nb, tb) == 0 ? 1 : 0;
|
523
513
|
}
|
524
514
|
|
525
|
-
|
526
515
|
/*
|
527
516
|
Check the typename
|
528
517
|
*/
|
@@ -550,7 +539,7 @@ SWIG_TypeCheck(const char *c, swig_type_info *ty) {
|
|
550
539
|
return 0;
|
551
540
|
}
|
552
541
|
|
553
|
-
/*
|
542
|
+
/*
|
554
543
|
Identical to SWIG_TypeCheck, except strcmp is replaced with a pointer comparison
|
555
544
|
*/
|
556
545
|
SWIGRUNTIME swig_cast_info *
|
@@ -585,7 +574,7 @@ SWIG_TypeCast(swig_cast_info *ty, void *ptr, int *newmemory) {
|
|
585
574
|
return ((!ty) || (!ty->converter)) ? ptr : (*ty->converter)(ptr, newmemory);
|
586
575
|
}
|
587
576
|
|
588
|
-
/*
|
577
|
+
/*
|
589
578
|
Dynamic pointer casting. Down an inheritance hierarchy
|
590
579
|
*/
|
591
580
|
SWIGRUNTIME swig_type_info *
|
@@ -629,7 +618,7 @@ SWIG_TypePrettyName(const swig_type_info *type) {
|
|
629
618
|
return type->name;
|
630
619
|
}
|
631
620
|
|
632
|
-
/*
|
621
|
+
/*
|
633
622
|
Set the clientdata field for a type
|
634
623
|
*/
|
635
624
|
SWIGRUNTIME void
|
@@ -637,14 +626,14 @@ SWIG_TypeClientData(swig_type_info *ti, void *clientdata) {
|
|
637
626
|
swig_cast_info *cast = ti->cast;
|
638
627
|
/* if (ti->clientdata == clientdata) return; */
|
639
628
|
ti->clientdata = clientdata;
|
640
|
-
|
629
|
+
|
641
630
|
while (cast) {
|
642
631
|
if (!cast->converter) {
|
643
632
|
swig_type_info *tc = cast->type;
|
644
633
|
if (!tc->clientdata) {
|
645
634
|
SWIG_TypeClientData(tc, clientdata);
|
646
635
|
}
|
647
|
-
}
|
636
|
+
}
|
648
637
|
cast = cast->next;
|
649
638
|
}
|
650
639
|
}
|
@@ -653,31 +642,31 @@ SWIG_TypeNewClientData(swig_type_info *ti, void *clientdata) {
|
|
653
642
|
SWIG_TypeClientData(ti, clientdata);
|
654
643
|
ti->owndata = 1;
|
655
644
|
}
|
656
|
-
|
645
|
+
|
657
646
|
/*
|
658
647
|
Search for a swig_type_info structure only by mangled name
|
659
648
|
Search is a O(log #types)
|
660
|
-
|
661
|
-
We start searching at module start, and finish searching when start == end.
|
649
|
+
|
650
|
+
We start searching at module start, and finish searching when start == end.
|
662
651
|
Note: if start == end at the beginning of the function, we go all the way around
|
663
652
|
the circular list.
|
664
653
|
*/
|
665
654
|
SWIGRUNTIME swig_type_info *
|
666
|
-
SWIG_MangledTypeQueryModule(swig_module_info *start,
|
667
|
-
swig_module_info *end,
|
655
|
+
SWIG_MangledTypeQueryModule(swig_module_info *start,
|
656
|
+
swig_module_info *end,
|
668
657
|
const char *name) {
|
669
658
|
swig_module_info *iter = start;
|
670
659
|
do {
|
671
660
|
if (iter->size) {
|
672
|
-
|
673
|
-
|
661
|
+
size_t l = 0;
|
662
|
+
size_t r = iter->size - 1;
|
674
663
|
do {
|
675
664
|
/* since l+r >= 0, we can (>> 1) instead (/ 2) */
|
676
|
-
|
665
|
+
size_t i = (l + r) >> 1;
|
677
666
|
const char *iname = iter->types[i]->name;
|
678
667
|
if (iname) {
|
679
|
-
|
680
|
-
if (compare == 0) {
|
668
|
+
int compare = strcmp(name, iname);
|
669
|
+
if (compare == 0) {
|
681
670
|
return iter->types[i];
|
682
671
|
} else if (compare < 0) {
|
683
672
|
if (i) {
|
@@ -702,14 +691,14 @@ SWIG_MangledTypeQueryModule(swig_module_info *start,
|
|
702
691
|
Search for a swig_type_info structure for either a mangled name or a human readable name.
|
703
692
|
It first searches the mangled names of the types, which is a O(log #types)
|
704
693
|
If a type is not found it then searches the human readable names, which is O(#types).
|
705
|
-
|
706
|
-
We start searching at module start, and finish searching when start == end.
|
694
|
+
|
695
|
+
We start searching at module start, and finish searching when start == end.
|
707
696
|
Note: if start == end at the beginning of the function, we go all the way around
|
708
697
|
the circular list.
|
709
698
|
*/
|
710
699
|
SWIGRUNTIME swig_type_info *
|
711
|
-
SWIG_TypeQueryModule(swig_module_info *start,
|
712
|
-
swig_module_info *end,
|
700
|
+
SWIG_TypeQueryModule(swig_module_info *start,
|
701
|
+
swig_module_info *end,
|
713
702
|
const char *name) {
|
714
703
|
/* STEP 1: Search the name field using binary search */
|
715
704
|
swig_type_info *ret = SWIG_MangledTypeQueryModule(start, end, name);
|
@@ -720,7 +709,7 @@ SWIG_TypeQueryModule(swig_module_info *start,
|
|
720
709
|
of the str field (the human readable name) */
|
721
710
|
swig_module_info *iter = start;
|
722
711
|
do {
|
723
|
-
|
712
|
+
size_t i = 0;
|
724
713
|
for (; i < iter->size; ++i) {
|
725
714
|
if (iter->types[i]->str && (SWIG_TypeEquiv(iter->types[i]->str, name)))
|
726
715
|
return iter->types[i];
|
@@ -728,56 +717,56 @@ SWIG_TypeQueryModule(swig_module_info *start,
|
|
728
717
|
iter = iter->next;
|
729
718
|
} while (iter != end);
|
730
719
|
}
|
731
|
-
|
720
|
+
|
732
721
|
/* neither found a match */
|
733
722
|
return 0;
|
734
723
|
}
|
735
724
|
|
736
|
-
/*
|
725
|
+
/*
|
737
726
|
Pack binary data into a string
|
738
727
|
*/
|
739
728
|
SWIGRUNTIME char *
|
740
729
|
SWIG_PackData(char *c, void *ptr, size_t sz) {
|
741
730
|
static const char hex[17] = "0123456789abcdef";
|
742
|
-
|
743
|
-
|
731
|
+
const unsigned char *u = (unsigned char *) ptr;
|
732
|
+
const unsigned char *eu = u + sz;
|
744
733
|
for (; u != eu; ++u) {
|
745
|
-
|
734
|
+
unsigned char uu = *u;
|
746
735
|
*(c++) = hex[(uu & 0xf0) >> 4];
|
747
736
|
*(c++) = hex[uu & 0xf];
|
748
737
|
}
|
749
738
|
return c;
|
750
739
|
}
|
751
740
|
|
752
|
-
/*
|
741
|
+
/*
|
753
742
|
Unpack binary data from a string
|
754
743
|
*/
|
755
744
|
SWIGRUNTIME const char *
|
756
745
|
SWIG_UnpackData(const char *c, void *ptr, size_t sz) {
|
757
|
-
|
758
|
-
|
746
|
+
unsigned char *u = (unsigned char *) ptr;
|
747
|
+
const unsigned char *eu = u + sz;
|
759
748
|
for (; u != eu; ++u) {
|
760
|
-
|
761
|
-
|
749
|
+
char d = *(c++);
|
750
|
+
unsigned char uu;
|
762
751
|
if ((d >= '0') && (d <= '9'))
|
763
752
|
uu = ((d - '0') << 4);
|
764
753
|
else if ((d >= 'a') && (d <= 'f'))
|
765
754
|
uu = ((d - ('a'-10)) << 4);
|
766
|
-
else
|
755
|
+
else
|
767
756
|
return (char *) 0;
|
768
757
|
d = *(c++);
|
769
758
|
if ((d >= '0') && (d <= '9'))
|
770
759
|
uu |= (d - '0');
|
771
760
|
else if ((d >= 'a') && (d <= 'f'))
|
772
761
|
uu |= (d - ('a'-10));
|
773
|
-
else
|
762
|
+
else
|
774
763
|
return (char *) 0;
|
775
764
|
*u = uu;
|
776
765
|
}
|
777
766
|
return c;
|
778
767
|
}
|
779
768
|
|
780
|
-
/*
|
769
|
+
/*
|
781
770
|
Pack 'void *' into a string buffer.
|
782
771
|
*/
|
783
772
|
SWIGRUNTIME char *
|
@@ -837,18 +826,18 @@ SWIG_UnpackDataName(const char *c, void *ptr, size_t sz, const char *name) {
|
|
837
826
|
#endif
|
838
827
|
|
839
828
|
/* Errors in SWIG */
|
840
|
-
#define SWIG_UnknownError -1
|
841
|
-
#define SWIG_IOError -2
|
842
|
-
#define SWIG_RuntimeError -3
|
843
|
-
#define SWIG_IndexError -4
|
844
|
-
#define SWIG_TypeError -5
|
845
|
-
#define SWIG_DivisionByZero -6
|
846
|
-
#define SWIG_OverflowError -7
|
847
|
-
#define SWIG_SyntaxError -8
|
848
|
-
#define SWIG_ValueError -9
|
829
|
+
#define SWIG_UnknownError -1
|
830
|
+
#define SWIG_IOError -2
|
831
|
+
#define SWIG_RuntimeError -3
|
832
|
+
#define SWIG_IndexError -4
|
833
|
+
#define SWIG_TypeError -5
|
834
|
+
#define SWIG_DivisionByZero -6
|
835
|
+
#define SWIG_OverflowError -7
|
836
|
+
#define SWIG_SyntaxError -8
|
837
|
+
#define SWIG_ValueError -9
|
849
838
|
#define SWIG_SystemError -10
|
850
839
|
#define SWIG_AttributeError -11
|
851
|
-
#define SWIG_MemoryError -12
|
840
|
+
#define SWIG_MemoryError -12
|
852
841
|
#define SWIG_NullReferenceError -13
|
853
842
|
|
854
843
|
|
@@ -1398,7 +1387,7 @@ SWIG_Ruby_AppendOutput(VALUE target, VALUE o) {
|
|
1398
1387
|
|
1399
1388
|
/* Runtime API */
|
1400
1389
|
|
1401
|
-
#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule()
|
1390
|
+
#define SWIG_GetModule(clientdata) SWIG_Ruby_GetModule(clientdata)
|
1402
1391
|
#define SWIG_SetModule(clientdata, pointer) SWIG_Ruby_SetModule(pointer)
|
1403
1392
|
|
1404
1393
|
|
@@ -1514,14 +1503,13 @@ SWIG_Ruby_InitRuntime(void)
|
|
1514
1503
|
SWIGRUNTIME void
|
1515
1504
|
SWIG_Ruby_define_class(swig_type_info *type)
|
1516
1505
|
{
|
1517
|
-
VALUE klass;
|
1518
1506
|
char *klass_name = (char *) malloc(4 + strlen(type->name) + 1);
|
1519
1507
|
sprintf(klass_name, "TYPE%s", type->name);
|
1520
1508
|
if (NIL_P(_cSWIG_Pointer)) {
|
1521
1509
|
_cSWIG_Pointer = rb_define_class_under(_mSWIG, "Pointer", rb_cObject);
|
1522
1510
|
rb_undef_method(CLASS_OF(_cSWIG_Pointer), "new");
|
1523
1511
|
}
|
1524
|
-
|
1512
|
+
rb_define_class_under(_mSWIG, klass_name, _cSWIG_Pointer);
|
1525
1513
|
free((void *) klass_name);
|
1526
1514
|
}
|
1527
1515
|
|
@@ -1552,7 +1540,7 @@ SWIG_Ruby_NewPointerObj(void *ptr, swig_type_info *type, int flags)
|
|
1552
1540
|
downcast methods. */
|
1553
1541
|
if (obj != Qnil) {
|
1554
1542
|
VALUE value = rb_iv_get(obj, "@__swigtype__");
|
1555
|
-
char* type_name = RSTRING_PTR(value);
|
1543
|
+
const char* type_name = RSTRING_PTR(value);
|
1556
1544
|
|
1557
1545
|
if (strcmp(type->name, type_name) == 0) {
|
1558
1546
|
return obj;
|
@@ -1734,7 +1722,7 @@ SWIG_Ruby_ConvertPacked(VALUE obj, void *ptr, int sz, swig_type_info *ty) {
|
|
1734
1722
|
}
|
1735
1723
|
|
1736
1724
|
SWIGRUNTIME swig_module_info *
|
1737
|
-
SWIG_Ruby_GetModule(void)
|
1725
|
+
SWIG_Ruby_GetModule(void *SWIGUNUSEDPARM(clientdata))
|
1738
1726
|
{
|
1739
1727
|
VALUE pointer;
|
1740
1728
|
swig_module_info *ret = 0;
|
@@ -1774,7 +1762,7 @@ SWIG_Ruby_SetModule(swig_module_info *pointer)
|
|
1774
1762
|
SWIGINTERN
|
1775
1763
|
int SWIG_Ruby_isCallable( VALUE proc )
|
1776
1764
|
{
|
1777
|
-
if ( rb_respond_to( proc, swig_call_id )
|
1765
|
+
if ( rb_respond_to( proc, swig_call_id ) )
|
1778
1766
|
return 1;
|
1779
1767
|
return 0;
|
1780
1768
|
}
|
@@ -1787,7 +1775,7 @@ int SWIG_Ruby_isCallable( VALUE proc )
|
|
1787
1775
|
SWIGINTERN
|
1788
1776
|
int SWIG_Ruby_arity( VALUE proc, int minimal )
|
1789
1777
|
{
|
1790
|
-
if ( rb_respond_to( proc, swig_arity_id )
|
1778
|
+
if ( rb_respond_to( proc, swig_arity_id ) )
|
1791
1779
|
{
|
1792
1780
|
VALUE num = rb_funcall( proc, swig_arity_id, 0 );
|
1793
1781
|
int arity = NUM2INT(num);
|
@@ -1855,7 +1843,7 @@ static VALUE mGdal;
|
|
1855
1843
|
#define SWIG_RUBY_THREAD_END_BLOCK
|
1856
1844
|
|
1857
1845
|
|
1858
|
-
#define SWIGVERSION
|
1846
|
+
#define SWIGVERSION 0x030005
|
1859
1847
|
#define SWIG_VERSION SWIGVERSION
|
1860
1848
|
|
1861
1849
|
|
@@ -1872,6 +1860,7 @@ using namespace std;
|
|
1872
1860
|
#include "cpl_port.h"
|
1873
1861
|
#include "cpl_string.h"
|
1874
1862
|
#include "cpl_multiproc.h"
|
1863
|
+
#include "cpl_http.h"
|
1875
1864
|
|
1876
1865
|
#include "gdal.h"
|
1877
1866
|
#include "gdal_priv.h"
|
@@ -1975,7 +1964,8 @@ typedef char retStringAndCPLFree;
|
|
1975
1964
|
CPLDebug( msg_class, "%s", message );
|
1976
1965
|
}
|
1977
1966
|
|
1978
|
-
CPLErr
|
1967
|
+
CPLErr SetErrorHandler( char const * pszCallbackName = NULL )
|
1968
|
+
{
|
1979
1969
|
CPLErrorHandler pfnHandler = NULL;
|
1980
1970
|
if( pszCallbackName == NULL || EQUAL(pszCallbackName,"CPLQuietErrorHandler") )
|
1981
1971
|
pfnHandler = CPLQuietErrorHandler;
|
@@ -1987,13 +1977,12 @@ typedef char retStringAndCPLFree;
|
|
1987
1977
|
if ( pfnHandler == NULL )
|
1988
1978
|
return CE_Fatal;
|
1989
1979
|
|
1990
|
-
|
1980
|
+
CPLSetErrorHandler( pfnHandler );
|
1991
1981
|
|
1992
1982
|
return CE_None;
|
1993
1983
|
}
|
1994
1984
|
|
1995
1985
|
|
1996
|
-
|
1997
1986
|
SWIGINTERN swig_type_info*
|
1998
1987
|
SWIG_pchar_descriptor(void)
|
1999
1988
|
{
|
@@ -2011,11 +2000,7 @@ SWIGINTERN int
|
|
2011
2000
|
SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
|
2012
2001
|
{
|
2013
2002
|
if (TYPE(obj) == T_STRING) {
|
2014
|
-
#if defined(StringValuePtr)
|
2015
2003
|
char *cstr = StringValuePtr(obj);
|
2016
|
-
#else
|
2017
|
-
char *cstr = STR2CSTR(obj);
|
2018
|
-
#endif
|
2019
2004
|
size_t size = RSTRING_LEN(obj) + 1;
|
2020
2005
|
if (cptr) {
|
2021
2006
|
if (alloc) {
|
@@ -2048,6 +2033,24 @@ SWIG_AsCharPtrAndSize(VALUE obj, char** cptr, size_t* psize, int *alloc)
|
|
2048
2033
|
|
2049
2034
|
|
2050
2035
|
|
2036
|
+
CPLErr PushErrorHandler( char const * pszCallbackName = NULL ) {
|
2037
|
+
CPLErrorHandler pfnHandler = NULL;
|
2038
|
+
if( pszCallbackName == NULL || EQUAL(pszCallbackName,"CPLQuietErrorHandler") )
|
2039
|
+
pfnHandler = CPLQuietErrorHandler;
|
2040
|
+
else if( EQUAL(pszCallbackName,"CPLDefaultErrorHandler") )
|
2041
|
+
pfnHandler = CPLDefaultErrorHandler;
|
2042
|
+
else if( EQUAL(pszCallbackName,"CPLLoggingErrorHandler") )
|
2043
|
+
pfnHandler = CPLLoggingErrorHandler;
|
2044
|
+
|
2045
|
+
if ( pfnHandler == NULL )
|
2046
|
+
return CE_Fatal;
|
2047
|
+
|
2048
|
+
CPLPushErrorHandler( pfnHandler );
|
2049
|
+
|
2050
|
+
return CE_None;
|
2051
|
+
}
|
2052
|
+
|
2053
|
+
|
2051
2054
|
void Error( CPLErr msg_class = CE_Failure, int err_code = 0, const char* msg = "error" ) {
|
2052
2055
|
CPLError( msg_class, err_code, "%s", msg );
|
2053
2056
|
}
|
@@ -2070,7 +2073,7 @@ SWIG_ruby_failed(void)
|
|
2070
2073
|
}
|
2071
2074
|
|
2072
2075
|
|
2073
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2076
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.5/share/swig/3.0.5/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2074
2077
|
SWIGINTERN VALUE SWIG_AUX_NUM2LONG(VALUE *args)
|
2075
2078
|
{
|
2076
2079
|
VALUE obj = args[0];
|
@@ -2115,11 +2118,6 @@ SWIG_AsVal_int (VALUE obj, int *val)
|
|
2115
2118
|
}
|
2116
2119
|
|
2117
2120
|
|
2118
|
-
char* EscapeString(int len, char *bin_string , int scheme=CPLES_SQL) {
|
2119
|
-
return CPLEscapeString(bin_string, len, scheme);
|
2120
|
-
}
|
2121
|
-
|
2122
|
-
|
2123
2121
|
SWIGINTERNINLINE VALUE
|
2124
2122
|
SWIG_FromCharPtrAndSize(const char* carray, size_t size)
|
2125
2123
|
{
|
@@ -2144,6 +2142,11 @@ SWIG_FromCharPtr(const char *cptr)
|
|
2144
2142
|
}
|
2145
2143
|
|
2146
2144
|
|
2145
|
+
char* EscapeString(int len, char *bin_string , int scheme=CPLES_SQL) {
|
2146
|
+
return CPLEscapeString(bin_string, len, scheme);
|
2147
|
+
}
|
2148
|
+
|
2149
|
+
|
2147
2150
|
#define SWIG_From_long LONG2NUM
|
2148
2151
|
|
2149
2152
|
|
@@ -2258,13 +2261,13 @@ SWIG_From_short (short value)
|
|
2258
2261
|
}
|
2259
2262
|
|
2260
2263
|
|
2261
|
-
/*@SWIG:/usr/local/Cellar/swig/
|
2264
|
+
/*@SWIG:/usr/local/Cellar/swig/3.0.5/share/swig/3.0.5/ruby/rubyprimtypes.swg,19,%ruby_aux_method@*/
|
2262
2265
|
SWIGINTERN VALUE SWIG_AUX_NUM2DBL(VALUE *args)
|
2263
2266
|
{
|
2264
2267
|
VALUE obj = args[0];
|
2265
2268
|
VALUE type = TYPE(obj);
|
2266
2269
|
double *res = (double *)(args[1]);
|
2267
|
-
*res = NUM2DBL(obj);
|
2270
|
+
*res = NUM2DBL(obj); (void)type;
|
2268
2271
|
return obj;
|
2269
2272
|
}
|
2270
2273
|
/*@SWIG@*/
|
@@ -3464,6 +3467,14 @@ SWIGINTERN int GDALTransformerInfoShadow_TransformPoints(GDALTransformerInfoShad
|
|
3464
3467
|
|
3465
3468
|
return nRet;
|
3466
3469
|
}
|
3470
|
+
SWIGINTERN int GDALTransformerInfoShadow_TransformGeolocations(GDALTransformerInfoShadow *self,GDALRasterBandShadow *xBand,GDALRasterBandShadow *yBand,GDALRasterBandShadow *zBand,GDALProgressFunc callback=NULL,void *callback_data=NULL,char **options=NULL){
|
3471
|
+
|
3472
|
+
CPLErrorReset();
|
3473
|
+
|
3474
|
+
return GDALTransformGeolocations( xBand, yBand, zBand,
|
3475
|
+
GDALUseTransformer, self,
|
3476
|
+
callback, callback_data, options );
|
3477
|
+
}
|
3467
3478
|
|
3468
3479
|
int wrapper_GDALGetCacheMax()
|
3469
3480
|
{
|
@@ -3544,7 +3555,7 @@ GDALDriverShadow *IdentifyDriver( const char *utf8_path,
|
|
3544
3555
|
}
|
3545
3556
|
|
3546
3557
|
SWIGINTERN VALUE
|
3547
|
-
|
3558
|
+
_gdal_wrap_use_exceptions(int argc, VALUE *argv, VALUE self) {
|
3548
3559
|
if ((argc < 0) || (argc > 0)) {
|
3549
3560
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3550
3561
|
}
|
@@ -3556,7 +3567,7 @@ fail:
|
|
3556
3567
|
|
3557
3568
|
|
3558
3569
|
SWIGINTERN VALUE
|
3559
|
-
|
3570
|
+
_gdal_wrap_dont_use_exceptions(int argc, VALUE *argv, VALUE self) {
|
3560
3571
|
if ((argc < 0) || (argc > 0)) {
|
3561
3572
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3562
3573
|
}
|
@@ -3568,7 +3579,7 @@ fail:
|
|
3568
3579
|
|
3569
3580
|
|
3570
3581
|
SWIGINTERN VALUE
|
3571
|
-
|
3582
|
+
_gdal_wrap_debug(int argc, VALUE *argv, VALUE self) {
|
3572
3583
|
char *arg1 = (char *) 0 ;
|
3573
3584
|
char *arg2 = (char *) 0 ;
|
3574
3585
|
int res1 ;
|
@@ -3622,7 +3633,58 @@ fail:
|
|
3622
3633
|
|
3623
3634
|
|
3624
3635
|
SWIGINTERN VALUE
|
3625
|
-
|
3636
|
+
_gdal_wrap_set_error_handler(int argc, VALUE *argv, VALUE self) {
|
3637
|
+
char *arg1 = (char *) NULL ;
|
3638
|
+
int res1 ;
|
3639
|
+
char *buf1 = 0 ;
|
3640
|
+
int alloc1 = 0 ;
|
3641
|
+
CPLErr result;
|
3642
|
+
VALUE vresult = Qnil;
|
3643
|
+
|
3644
|
+
if ((argc < 0) || (argc > 1)) {
|
3645
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3646
|
+
}
|
3647
|
+
if (argc > 0) {
|
3648
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
3649
|
+
if (!SWIG_IsOK(res1)) {
|
3650
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","SetErrorHandler", 1, argv[0] ));
|
3651
|
+
}
|
3652
|
+
arg1 = reinterpret_cast< char * >(buf1);
|
3653
|
+
}
|
3654
|
+
{
|
3655
|
+
CPLErrorReset();
|
3656
|
+
result = (CPLErr)SetErrorHandler((char const *)arg1);
|
3657
|
+
CPLErr eclass = CPLGetLastErrorType();
|
3658
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
3659
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
3660
|
+
|
3661
|
+
}
|
3662
|
+
|
3663
|
+
|
3664
|
+
|
3665
|
+
|
3666
|
+
|
3667
|
+
|
3668
|
+
|
3669
|
+
|
3670
|
+
|
3671
|
+
|
3672
|
+
|
3673
|
+
}
|
3674
|
+
{
|
3675
|
+
/* %typemap(out) CPLErr */
|
3676
|
+
vresult = (CPLErr)LONG2NUM(result);
|
3677
|
+
}
|
3678
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3679
|
+
return vresult;
|
3680
|
+
fail:
|
3681
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3682
|
+
return Qnil;
|
3683
|
+
}
|
3684
|
+
|
3685
|
+
|
3686
|
+
SWIGINTERN VALUE
|
3687
|
+
_gdal_wrap_push_error_handler__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
3626
3688
|
char *arg1 = (char *) NULL ;
|
3627
3689
|
int res1 ;
|
3628
3690
|
char *buf1 = 0 ;
|
@@ -3673,7 +3735,7 @@ fail:
|
|
3673
3735
|
|
3674
3736
|
|
3675
3737
|
SWIGINTERN VALUE
|
3676
|
-
|
3738
|
+
_gdal_wrap_error(int argc, VALUE *argv, VALUE self) {
|
3677
3739
|
CPLErr arg1 = (CPLErr) CE_Failure ;
|
3678
3740
|
int arg2 = (int) 0 ;
|
3679
3741
|
char *arg3 = (char *) "error" ;
|
@@ -3735,7 +3797,167 @@ fail:
|
|
3735
3797
|
|
3736
3798
|
|
3737
3799
|
SWIGINTERN VALUE
|
3738
|
-
|
3800
|
+
_gdal_wrap_goa_2get_authorization_url(int argc, VALUE *argv, VALUE self) {
|
3801
|
+
char *arg1 = (char *) 0 ;
|
3802
|
+
int res1 ;
|
3803
|
+
char *buf1 = 0 ;
|
3804
|
+
int alloc1 = 0 ;
|
3805
|
+
retStringAndCPLFree *result = 0 ;
|
3806
|
+
VALUE vresult = Qnil;
|
3807
|
+
|
3808
|
+
if ((argc < 1) || (argc > 1)) {
|
3809
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
3810
|
+
}
|
3811
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
3812
|
+
if (!SWIG_IsOK(res1)) {
|
3813
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","GOA2GetAuthorizationURL", 1, argv[0] ));
|
3814
|
+
}
|
3815
|
+
arg1 = reinterpret_cast< char * >(buf1);
|
3816
|
+
{
|
3817
|
+
CPLErrorReset();
|
3818
|
+
result = (retStringAndCPLFree *)GOA2GetAuthorizationURL((char const *)arg1);
|
3819
|
+
CPLErr eclass = CPLGetLastErrorType();
|
3820
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
3821
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
3822
|
+
|
3823
|
+
}
|
3824
|
+
|
3825
|
+
|
3826
|
+
|
3827
|
+
|
3828
|
+
|
3829
|
+
|
3830
|
+
|
3831
|
+
|
3832
|
+
|
3833
|
+
|
3834
|
+
|
3835
|
+
}
|
3836
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
3837
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3838
|
+
return vresult;
|
3839
|
+
fail:
|
3840
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3841
|
+
return Qnil;
|
3842
|
+
}
|
3843
|
+
|
3844
|
+
|
3845
|
+
SWIGINTERN VALUE
|
3846
|
+
_gdal_wrap_goa_2get_refresh_token(int argc, VALUE *argv, VALUE self) {
|
3847
|
+
char *arg1 = (char *) 0 ;
|
3848
|
+
char *arg2 = (char *) 0 ;
|
3849
|
+
int res1 ;
|
3850
|
+
char *buf1 = 0 ;
|
3851
|
+
int alloc1 = 0 ;
|
3852
|
+
int res2 ;
|
3853
|
+
char *buf2 = 0 ;
|
3854
|
+
int alloc2 = 0 ;
|
3855
|
+
retStringAndCPLFree *result = 0 ;
|
3856
|
+
VALUE vresult = Qnil;
|
3857
|
+
|
3858
|
+
if ((argc < 2) || (argc > 2)) {
|
3859
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
3860
|
+
}
|
3861
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
3862
|
+
if (!SWIG_IsOK(res1)) {
|
3863
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","GOA2GetRefreshToken", 1, argv[0] ));
|
3864
|
+
}
|
3865
|
+
arg1 = reinterpret_cast< char * >(buf1);
|
3866
|
+
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
|
3867
|
+
if (!SWIG_IsOK(res2)) {
|
3868
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","GOA2GetRefreshToken", 2, argv[1] ));
|
3869
|
+
}
|
3870
|
+
arg2 = reinterpret_cast< char * >(buf2);
|
3871
|
+
{
|
3872
|
+
CPLErrorReset();
|
3873
|
+
result = (retStringAndCPLFree *)GOA2GetRefreshToken((char const *)arg1,(char const *)arg2);
|
3874
|
+
CPLErr eclass = CPLGetLastErrorType();
|
3875
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
3876
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
3877
|
+
|
3878
|
+
}
|
3879
|
+
|
3880
|
+
|
3881
|
+
|
3882
|
+
|
3883
|
+
|
3884
|
+
|
3885
|
+
|
3886
|
+
|
3887
|
+
|
3888
|
+
|
3889
|
+
|
3890
|
+
}
|
3891
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
3892
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3893
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3894
|
+
return vresult;
|
3895
|
+
fail:
|
3896
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3897
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3898
|
+
return Qnil;
|
3899
|
+
}
|
3900
|
+
|
3901
|
+
|
3902
|
+
SWIGINTERN VALUE
|
3903
|
+
_gdal_wrap_goa_2get_access_token(int argc, VALUE *argv, VALUE self) {
|
3904
|
+
char *arg1 = (char *) 0 ;
|
3905
|
+
char *arg2 = (char *) 0 ;
|
3906
|
+
int res1 ;
|
3907
|
+
char *buf1 = 0 ;
|
3908
|
+
int alloc1 = 0 ;
|
3909
|
+
int res2 ;
|
3910
|
+
char *buf2 = 0 ;
|
3911
|
+
int alloc2 = 0 ;
|
3912
|
+
retStringAndCPLFree *result = 0 ;
|
3913
|
+
VALUE vresult = Qnil;
|
3914
|
+
|
3915
|
+
if ((argc < 2) || (argc > 2)) {
|
3916
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 2)",argc); SWIG_fail;
|
3917
|
+
}
|
3918
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
3919
|
+
if (!SWIG_IsOK(res1)) {
|
3920
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","GOA2GetAccessToken", 1, argv[0] ));
|
3921
|
+
}
|
3922
|
+
arg1 = reinterpret_cast< char * >(buf1);
|
3923
|
+
res2 = SWIG_AsCharPtrAndSize(argv[1], &buf2, NULL, &alloc2);
|
3924
|
+
if (!SWIG_IsOK(res2)) {
|
3925
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "char const *","GOA2GetAccessToken", 2, argv[1] ));
|
3926
|
+
}
|
3927
|
+
arg2 = reinterpret_cast< char * >(buf2);
|
3928
|
+
{
|
3929
|
+
CPLErrorReset();
|
3930
|
+
result = (retStringAndCPLFree *)GOA2GetAccessToken((char const *)arg1,(char const *)arg2);
|
3931
|
+
CPLErr eclass = CPLGetLastErrorType();
|
3932
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
3933
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
3934
|
+
|
3935
|
+
}
|
3936
|
+
|
3937
|
+
|
3938
|
+
|
3939
|
+
|
3940
|
+
|
3941
|
+
|
3942
|
+
|
3943
|
+
|
3944
|
+
|
3945
|
+
|
3946
|
+
|
3947
|
+
}
|
3948
|
+
vresult = SWIG_FromCharPtr((const char *)result);
|
3949
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3950
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3951
|
+
return vresult;
|
3952
|
+
fail:
|
3953
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
3954
|
+
if (alloc2 == SWIG_NEWOBJ) delete[] buf2;
|
3955
|
+
return Qnil;
|
3956
|
+
}
|
3957
|
+
|
3958
|
+
|
3959
|
+
SWIGINTERN VALUE
|
3960
|
+
_gdal_wrap_push_error_handler__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
3739
3961
|
CPLErrorHandler arg1 ;
|
3740
3962
|
void *argp1 ;
|
3741
3963
|
int res1 = 0 ;
|
@@ -3780,7 +4002,7 @@ fail:
|
|
3780
4002
|
}
|
3781
4003
|
|
3782
4004
|
|
3783
|
-
SWIGINTERN VALUE
|
4005
|
+
SWIGINTERN VALUE _gdal_wrap_push_error_handler(int nargs, VALUE *args, VALUE self) {
|
3784
4006
|
int argc;
|
3785
4007
|
VALUE argv[1];
|
3786
4008
|
int ii;
|
@@ -3793,12 +4015,12 @@ SWIGINTERN VALUE _wrap_push_error_handler(int nargs, VALUE *args, VALUE self) {
|
|
3793
4015
|
if ((argc >= 0) && (argc <= 1)) {
|
3794
4016
|
int _v;
|
3795
4017
|
if (argc <= 0) {
|
3796
|
-
return
|
4018
|
+
return _gdal_wrap_push_error_handler__SWIG_0(nargs, args, self);
|
3797
4019
|
}
|
3798
4020
|
int res = SWIG_AsCharPtrAndSize(argv[0], 0, NULL, 0);
|
3799
4021
|
_v = SWIG_CheckState(res);
|
3800
4022
|
if (_v) {
|
3801
|
-
return
|
4023
|
+
return _gdal_wrap_push_error_handler__SWIG_0(nargs, args, self);
|
3802
4024
|
}
|
3803
4025
|
}
|
3804
4026
|
if (argc == 1) {
|
@@ -3807,7 +4029,7 @@ SWIGINTERN VALUE _wrap_push_error_handler(int nargs, VALUE *args, VALUE self) {
|
|
3807
4029
|
int res = SWIG_ConvertPtr(argv[0], &vptr, SWIGTYPE_p_CPLErrorHandler, 0);
|
3808
4030
|
_v = SWIG_CheckState(res);
|
3809
4031
|
if (_v) {
|
3810
|
-
return
|
4032
|
+
return _gdal_wrap_push_error_handler__SWIG_1(nargs, args, self);
|
3811
4033
|
}
|
3812
4034
|
}
|
3813
4035
|
|
@@ -3821,7 +4043,7 @@ fail:
|
|
3821
4043
|
|
3822
4044
|
|
3823
4045
|
SWIGINTERN VALUE
|
3824
|
-
|
4046
|
+
_gdal_wrap_pop_error_handler(int argc, VALUE *argv, VALUE self) {
|
3825
4047
|
if ((argc < 0) || (argc > 0)) {
|
3826
4048
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3827
4049
|
}
|
@@ -3852,7 +4074,7 @@ fail:
|
|
3852
4074
|
|
3853
4075
|
|
3854
4076
|
SWIGINTERN VALUE
|
3855
|
-
|
4077
|
+
_gdal_wrap_error_reset(int argc, VALUE *argv, VALUE self) {
|
3856
4078
|
if ((argc < 0) || (argc > 0)) {
|
3857
4079
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
3858
4080
|
}
|
@@ -3883,7 +4105,7 @@ fail:
|
|
3883
4105
|
|
3884
4106
|
|
3885
4107
|
SWIGINTERN VALUE
|
3886
|
-
|
4108
|
+
_gdal_wrap_escape_string(int argc, VALUE *argv, VALUE self) {
|
3887
4109
|
int arg1 ;
|
3888
4110
|
char *arg2 = (char *) 0 ;
|
3889
4111
|
int arg3 = (int) CPLES_SQL ;
|
@@ -3893,7 +4115,7 @@ _wrap_escape_string(int argc, VALUE *argv, VALUE self) {
|
|
3893
4115
|
int alloc1 = 0 ;
|
3894
4116
|
int val3 ;
|
3895
4117
|
int ecode3 = 0 ;
|
3896
|
-
char *kwnames[] = {
|
4118
|
+
const char *kwnames[] = {
|
3897
4119
|
"len","scheme", NULL
|
3898
4120
|
};
|
3899
4121
|
char *result = 0 ;
|
@@ -3943,7 +4165,7 @@ fail:
|
|
3943
4165
|
|
3944
4166
|
|
3945
4167
|
SWIGINTERN VALUE
|
3946
|
-
|
4168
|
+
_gdal_wrap_get_last_error_no(int argc, VALUE *argv, VALUE self) {
|
3947
4169
|
int result;
|
3948
4170
|
VALUE vresult = Qnil;
|
3949
4171
|
|
@@ -3978,7 +4200,7 @@ fail:
|
|
3978
4200
|
|
3979
4201
|
|
3980
4202
|
SWIGINTERN VALUE
|
3981
|
-
|
4203
|
+
_gdal_wrap_get_last_error_type(int argc, VALUE *argv, VALUE self) {
|
3982
4204
|
CPLErr result;
|
3983
4205
|
VALUE vresult = Qnil;
|
3984
4206
|
|
@@ -4016,7 +4238,7 @@ fail:
|
|
4016
4238
|
|
4017
4239
|
|
4018
4240
|
SWIGINTERN VALUE
|
4019
|
-
|
4241
|
+
_gdal_wrap_get_last_error_msg(int argc, VALUE *argv, VALUE self) {
|
4020
4242
|
char *result = 0 ;
|
4021
4243
|
VALUE vresult = Qnil;
|
4022
4244
|
|
@@ -4051,7 +4273,7 @@ fail:
|
|
4051
4273
|
|
4052
4274
|
|
4053
4275
|
SWIGINTERN VALUE
|
4054
|
-
|
4276
|
+
_gdal_wrap_push_finder_location(int argc, VALUE *argv, VALUE self) {
|
4055
4277
|
char *arg1 = (char *) 0 ;
|
4056
4278
|
int res1 ;
|
4057
4279
|
char *buf1 = 0 ;
|
@@ -4094,7 +4316,7 @@ fail:
|
|
4094
4316
|
|
4095
4317
|
|
4096
4318
|
SWIGINTERN VALUE
|
4097
|
-
|
4319
|
+
_gdal_wrap_pop_finder_location(int argc, VALUE *argv, VALUE self) {
|
4098
4320
|
if ((argc < 0) || (argc > 0)) {
|
4099
4321
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
4100
4322
|
}
|
@@ -4125,7 +4347,7 @@ fail:
|
|
4125
4347
|
|
4126
4348
|
|
4127
4349
|
SWIGINTERN VALUE
|
4128
|
-
|
4350
|
+
_gdal_wrap_finder_clean(int argc, VALUE *argv, VALUE self) {
|
4129
4351
|
if ((argc < 0) || (argc > 0)) {
|
4130
4352
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
4131
4353
|
}
|
@@ -4156,7 +4378,7 @@ fail:
|
|
4156
4378
|
|
4157
4379
|
|
4158
4380
|
SWIGINTERN VALUE
|
4159
|
-
|
4381
|
+
_gdal_wrap_find_file(int argc, VALUE *argv, VALUE self) {
|
4160
4382
|
char *arg1 = (char *) 0 ;
|
4161
4383
|
char *arg2 = (char *) 0 ;
|
4162
4384
|
int res1 ;
|
@@ -4213,7 +4435,7 @@ fail:
|
|
4213
4435
|
|
4214
4436
|
|
4215
4437
|
SWIGINTERN VALUE
|
4216
|
-
|
4438
|
+
_gdal_wrap_read_dir(int argc, VALUE *argv, VALUE self) {
|
4217
4439
|
char *arg1 = (char *) 0 ;
|
4218
4440
|
int res1 ;
|
4219
4441
|
char *buf1 = 0 ;
|
@@ -4259,7 +4481,53 @@ fail:
|
|
4259
4481
|
|
4260
4482
|
|
4261
4483
|
SWIGINTERN VALUE
|
4262
|
-
|
4484
|
+
_gdal_wrap_read_dir_recursive(int argc, VALUE *argv, VALUE self) {
|
4485
|
+
char *arg1 = (char *) 0 ;
|
4486
|
+
int res1 ;
|
4487
|
+
char *buf1 = 0 ;
|
4488
|
+
int alloc1 = 0 ;
|
4489
|
+
char **result = 0 ;
|
4490
|
+
VALUE vresult = Qnil;
|
4491
|
+
|
4492
|
+
if ((argc < 1) || (argc > 1)) {
|
4493
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 1)",argc); SWIG_fail;
|
4494
|
+
}
|
4495
|
+
res1 = SWIG_AsCharPtrAndSize(argv[0], &buf1, NULL, &alloc1);
|
4496
|
+
if (!SWIG_IsOK(res1)) {
|
4497
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "char const *","VSIReadDirRecursive", 1, argv[0] ));
|
4498
|
+
}
|
4499
|
+
arg1 = reinterpret_cast< char * >(buf1);
|
4500
|
+
{
|
4501
|
+
CPLErrorReset();
|
4502
|
+
result = (char **)VSIReadDirRecursive((char const *)arg1);
|
4503
|
+
CPLErr eclass = CPLGetLastErrorType();
|
4504
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
4505
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
4506
|
+
|
4507
|
+
}
|
4508
|
+
|
4509
|
+
|
4510
|
+
|
4511
|
+
|
4512
|
+
|
4513
|
+
|
4514
|
+
|
4515
|
+
|
4516
|
+
|
4517
|
+
|
4518
|
+
|
4519
|
+
}
|
4520
|
+
vresult = SWIG_NewPointerObj(SWIG_as_voidptr(result), SWIGTYPE_p_p_char, 0 | 0 );
|
4521
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
4522
|
+
return vresult;
|
4523
|
+
fail:
|
4524
|
+
if (alloc1 == SWIG_NEWOBJ) delete[] buf1;
|
4525
|
+
return Qnil;
|
4526
|
+
}
|
4527
|
+
|
4528
|
+
|
4529
|
+
SWIGINTERN VALUE
|
4530
|
+
_gdal_wrap_set_config_option(int argc, VALUE *argv, VALUE self) {
|
4263
4531
|
char *arg1 = (char *) 0 ;
|
4264
4532
|
char *arg2 = (char *) 0 ;
|
4265
4533
|
int res1 ;
|
@@ -4318,7 +4586,7 @@ fail:
|
|
4318
4586
|
|
4319
4587
|
|
4320
4588
|
SWIGINTERN VALUE
|
4321
|
-
|
4589
|
+
_gdal_wrap_get_config_option(int argc, VALUE *argv, VALUE self) {
|
4322
4590
|
char *arg1 = (char *) 0 ;
|
4323
4591
|
char *arg2 = (char *) NULL ;
|
4324
4592
|
int res1 ;
|
@@ -4382,7 +4650,7 @@ fail:
|
|
4382
4650
|
|
4383
4651
|
|
4384
4652
|
SWIGINTERN VALUE
|
4385
|
-
|
4653
|
+
_gdal_wrap_binary_to_hex(int argc, VALUE *argv, VALUE self) {
|
4386
4654
|
int arg1 ;
|
4387
4655
|
GByte *arg2 = (GByte *) 0 ;
|
4388
4656
|
int res1 ;
|
@@ -4441,7 +4709,7 @@ fail:
|
|
4441
4709
|
|
4442
4710
|
|
4443
4711
|
SWIGINTERN VALUE
|
4444
|
-
|
4712
|
+
_gdal_wrap_hex_to_binary(int argc, VALUE *argv, VALUE self) {
|
4445
4713
|
char *arg1 = (char *) 0 ;
|
4446
4714
|
int *arg2 = (int *) 0 ;
|
4447
4715
|
int res1 ;
|
@@ -4499,10 +4767,10 @@ fail:
|
|
4499
4767
|
}
|
4500
4768
|
|
4501
4769
|
|
4502
|
-
swig_class SwigClassMajorObject;
|
4770
|
+
static swig_class SwigClassMajorObject;
|
4503
4771
|
|
4504
4772
|
SWIGINTERN VALUE
|
4505
|
-
|
4773
|
+
_gdal_wrap_MajorObject_get_description(int argc, VALUE *argv, VALUE self) {
|
4506
4774
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4507
4775
|
void *argp1 = 0 ;
|
4508
4776
|
int res1 = 0 ;
|
@@ -4545,7 +4813,7 @@ fail:
|
|
4545
4813
|
|
4546
4814
|
|
4547
4815
|
SWIGINTERN VALUE
|
4548
|
-
|
4816
|
+
_gdal_wrap_MajorObject_set_description(int argc, VALUE *argv, VALUE self) {
|
4549
4817
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4550
4818
|
char *arg2 = (char *) 0 ;
|
4551
4819
|
void *argp1 = 0 ;
|
@@ -4601,7 +4869,7 @@ fail:
|
|
4601
4869
|
|
4602
4870
|
|
4603
4871
|
SWIGINTERN VALUE
|
4604
|
-
|
4872
|
+
_gdal_wrap_MajorObject_get_metadata_dict(int argc, VALUE *argv, VALUE self) {
|
4605
4873
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4606
4874
|
char *arg2 = (char *) "" ;
|
4607
4875
|
void *argp1 = 0 ;
|
@@ -4683,7 +4951,7 @@ fail:
|
|
4683
4951
|
|
4684
4952
|
|
4685
4953
|
SWIGINTERN VALUE
|
4686
|
-
|
4954
|
+
_gdal_wrap_MajorObject_get_metadata_list(int argc, VALUE *argv, VALUE self) {
|
4687
4955
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4688
4956
|
char *arg2 = (char *) "" ;
|
4689
4957
|
void *argp1 = 0 ;
|
@@ -4754,7 +5022,7 @@ fail:
|
|
4754
5022
|
|
4755
5023
|
|
4756
5024
|
SWIGINTERN VALUE
|
4757
|
-
|
5025
|
+
_gdal_wrap_MajorObject_set_metadata__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
4758
5026
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4759
5027
|
char **arg2 = (char **) 0 ;
|
4760
5028
|
char *arg3 = (char *) "" ;
|
@@ -4872,7 +5140,7 @@ fail:
|
|
4872
5140
|
|
4873
5141
|
|
4874
5142
|
SWIGINTERN VALUE
|
4875
|
-
|
5143
|
+
_gdal_wrap_MajorObject_set_metadata__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
4876
5144
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
4877
5145
|
char *arg2 = (char *) 0 ;
|
4878
5146
|
char *arg3 = (char *) "" ;
|
@@ -4941,7 +5209,7 @@ fail:
|
|
4941
5209
|
}
|
4942
5210
|
|
4943
5211
|
|
4944
|
-
SWIGINTERN VALUE
|
5212
|
+
SWIGINTERN VALUE _gdal_wrap_MajorObject_set_metadata(int nargs, VALUE *args, VALUE self) {
|
4945
5213
|
int argc;
|
4946
5214
|
VALUE argv[4];
|
4947
5215
|
int ii;
|
@@ -4964,12 +5232,12 @@ SWIGINTERN VALUE _wrap_MajorObject_set_metadata(int nargs, VALUE *args, VALUE se
|
|
4964
5232
|
}
|
4965
5233
|
if (_v) {
|
4966
5234
|
if (argc <= 2) {
|
4967
|
-
return
|
5235
|
+
return _gdal_wrap_MajorObject_set_metadata__SWIG_0(nargs, args, self);
|
4968
5236
|
}
|
4969
5237
|
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
|
4970
5238
|
_v = SWIG_CheckState(res);
|
4971
5239
|
if (_v) {
|
4972
|
-
return
|
5240
|
+
return _gdal_wrap_MajorObject_set_metadata__SWIG_0(nargs, args, self);
|
4973
5241
|
}
|
4974
5242
|
}
|
4975
5243
|
}
|
@@ -4984,12 +5252,12 @@ SWIGINTERN VALUE _wrap_MajorObject_set_metadata(int nargs, VALUE *args, VALUE se
|
|
4984
5252
|
_v = SWIG_CheckState(res);
|
4985
5253
|
if (_v) {
|
4986
5254
|
if (argc <= 2) {
|
4987
|
-
return
|
5255
|
+
return _gdal_wrap_MajorObject_set_metadata__SWIG_1(nargs, args, self);
|
4988
5256
|
}
|
4989
5257
|
int res = SWIG_AsCharPtrAndSize(argv[2], 0, NULL, 0);
|
4990
5258
|
_v = SWIG_CheckState(res);
|
4991
5259
|
if (_v) {
|
4992
|
-
return
|
5260
|
+
return _gdal_wrap_MajorObject_set_metadata__SWIG_1(nargs, args, self);
|
4993
5261
|
}
|
4994
5262
|
}
|
4995
5263
|
}
|
@@ -5005,7 +5273,7 @@ fail:
|
|
5005
5273
|
|
5006
5274
|
|
5007
5275
|
SWIGINTERN VALUE
|
5008
|
-
|
5276
|
+
_gdal_wrap_MajorObject_get_metadata_item(int argc, VALUE *argv, VALUE self) {
|
5009
5277
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
5010
5278
|
char *arg2 = (char *) 0 ;
|
5011
5279
|
char *arg3 = (char *) "" ;
|
@@ -5077,7 +5345,7 @@ fail:
|
|
5077
5345
|
|
5078
5346
|
|
5079
5347
|
SWIGINTERN VALUE
|
5080
|
-
|
5348
|
+
_gdal_wrap_MajorObject_set_metadata_item(int argc, VALUE *argv, VALUE self) {
|
5081
5349
|
GDALMajorObjectShadow *arg1 = (GDALMajorObjectShadow *) 0 ;
|
5082
5350
|
char *arg2 = (char *) 0 ;
|
5083
5351
|
char *arg3 = (char *) 0 ;
|
@@ -5162,10 +5430,10 @@ fail:
|
|
5162
5430
|
}
|
5163
5431
|
|
5164
5432
|
|
5165
|
-
swig_class SwigClassDriver;
|
5433
|
+
static swig_class SwigClassDriver;
|
5166
5434
|
|
5167
5435
|
SWIGINTERN VALUE
|
5168
|
-
|
5436
|
+
_gdal_wrap_Driver_ShortName_get(int argc, VALUE *argv, VALUE self) {
|
5169
5437
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5170
5438
|
void *argp1 = 0 ;
|
5171
5439
|
int res1 = 0 ;
|
@@ -5208,7 +5476,7 @@ fail:
|
|
5208
5476
|
|
5209
5477
|
|
5210
5478
|
SWIGINTERN VALUE
|
5211
|
-
|
5479
|
+
_gdal_wrap_Driver_LongName_get(int argc, VALUE *argv, VALUE self) {
|
5212
5480
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5213
5481
|
void *argp1 = 0 ;
|
5214
5482
|
int res1 = 0 ;
|
@@ -5251,7 +5519,7 @@ fail:
|
|
5251
5519
|
|
5252
5520
|
|
5253
5521
|
SWIGINTERN VALUE
|
5254
|
-
|
5522
|
+
_gdal_wrap_Driver_HelpTopic_get(int argc, VALUE *argv, VALUE self) {
|
5255
5523
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5256
5524
|
void *argp1 = 0 ;
|
5257
5525
|
int res1 = 0 ;
|
@@ -5294,7 +5562,7 @@ fail:
|
|
5294
5562
|
|
5295
5563
|
|
5296
5564
|
SWIGINTERN VALUE
|
5297
|
-
|
5565
|
+
_gdal_wrap_Driver_create(int argc, VALUE *argv, VALUE self) {
|
5298
5566
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5299
5567
|
char *arg2 = (char *) 0 ;
|
5300
5568
|
int arg3 ;
|
@@ -5313,7 +5581,7 @@ _wrap_Driver_create(int argc, VALUE *argv, VALUE self) {
|
|
5313
5581
|
int ecode4 = 0 ;
|
5314
5582
|
int val5 ;
|
5315
5583
|
int ecode5 = 0 ;
|
5316
|
-
char *kwnames[] = {
|
5584
|
+
const char *kwnames[] = {
|
5317
5585
|
"self","utf8_path","xsize","ysize","bands","eType","options", NULL
|
5318
5586
|
};
|
5319
5587
|
GDALDatasetShadow *result = 0 ;
|
@@ -5410,7 +5678,7 @@ fail:
|
|
5410
5678
|
|
5411
5679
|
|
5412
5680
|
SWIGINTERN VALUE
|
5413
|
-
|
5681
|
+
_gdal_wrap_Driver_create_copy(int argc, VALUE *argv, VALUE self) {
|
5414
5682
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5415
5683
|
char *arg2 = (char *) 0 ;
|
5416
5684
|
GDALDatasetShadow *arg3 = (GDALDatasetShadow *) 0 ;
|
@@ -5430,7 +5698,7 @@ _wrap_Driver_create_copy(int argc, VALUE *argv, VALUE self) {
|
|
5430
5698
|
void *argp6 ;
|
5431
5699
|
int res6 = 0 ;
|
5432
5700
|
int res7 ;
|
5433
|
-
char *kwnames[] = {
|
5701
|
+
const char *kwnames[] = {
|
5434
5702
|
"self","utf8_path","src","strict","options","callback","callback_data", NULL
|
5435
5703
|
};
|
5436
5704
|
GDALDatasetShadow *result = 0 ;
|
@@ -5540,7 +5808,7 @@ fail:
|
|
5540
5808
|
|
5541
5809
|
|
5542
5810
|
SWIGINTERN VALUE
|
5543
|
-
|
5811
|
+
_gdal_wrap_Driver_delete(int argc, VALUE *argv, VALUE self) {
|
5544
5812
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5545
5813
|
char *arg2 = (char *) 0 ;
|
5546
5814
|
void *argp1 = 0 ;
|
@@ -5594,7 +5862,7 @@ fail:
|
|
5594
5862
|
|
5595
5863
|
|
5596
5864
|
SWIGINTERN VALUE
|
5597
|
-
|
5865
|
+
_gdal_wrap_Driver_rename(int argc, VALUE *argv, VALUE self) {
|
5598
5866
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5599
5867
|
char *arg2 = (char *) 0 ;
|
5600
5868
|
char *arg3 = (char *) 0 ;
|
@@ -5669,7 +5937,7 @@ fail:
|
|
5669
5937
|
|
5670
5938
|
|
5671
5939
|
SWIGINTERN VALUE
|
5672
|
-
|
5940
|
+
_gdal_wrap_Driver_copy_files(int argc, VALUE *argv, VALUE self) {
|
5673
5941
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5674
5942
|
char *arg2 = (char *) 0 ;
|
5675
5943
|
char *arg3 = (char *) 0 ;
|
@@ -5744,7 +6012,7 @@ fail:
|
|
5744
6012
|
|
5745
6013
|
|
5746
6014
|
SWIGINTERN VALUE
|
5747
|
-
|
6015
|
+
_gdal_wrap_Driver_register(int argc, VALUE *argv, VALUE self) {
|
5748
6016
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5749
6017
|
void *argp1 = 0 ;
|
5750
6018
|
int res1 = 0 ;
|
@@ -5787,7 +6055,7 @@ fail:
|
|
5787
6055
|
|
5788
6056
|
|
5789
6057
|
SWIGINTERN VALUE
|
5790
|
-
|
6058
|
+
_gdal_wrap_Driver_deregister(int argc, VALUE *argv, VALUE self) {
|
5791
6059
|
GDALDriverShadow *arg1 = (GDALDriverShadow *) 0 ;
|
5792
6060
|
void *argp1 = 0 ;
|
5793
6061
|
int res1 = 0 ;
|
@@ -5826,10 +6094,10 @@ fail:
|
|
5826
6094
|
}
|
5827
6095
|
|
5828
6096
|
|
5829
|
-
swig_class SwigClassColorEntry;
|
6097
|
+
static swig_class SwigClassColorEntry;
|
5830
6098
|
|
5831
6099
|
SWIGINTERN VALUE
|
5832
|
-
|
6100
|
+
_gdal_wrap_ColorEntry_c1_set(int argc, VALUE *argv, VALUE self) {
|
5833
6101
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5834
6102
|
short arg2 ;
|
5835
6103
|
void *argp1 = 0 ;
|
@@ -5858,7 +6126,7 @@ fail:
|
|
5858
6126
|
|
5859
6127
|
|
5860
6128
|
SWIGINTERN VALUE
|
5861
|
-
|
6129
|
+
_gdal_wrap_ColorEntry_c1_get(int argc, VALUE *argv, VALUE self) {
|
5862
6130
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5863
6131
|
void *argp1 = 0 ;
|
5864
6132
|
int res1 = 0 ;
|
@@ -5882,7 +6150,7 @@ fail:
|
|
5882
6150
|
|
5883
6151
|
|
5884
6152
|
SWIGINTERN VALUE
|
5885
|
-
|
6153
|
+
_gdal_wrap_ColorEntry_c2_set(int argc, VALUE *argv, VALUE self) {
|
5886
6154
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5887
6155
|
short arg2 ;
|
5888
6156
|
void *argp1 = 0 ;
|
@@ -5911,7 +6179,7 @@ fail:
|
|
5911
6179
|
|
5912
6180
|
|
5913
6181
|
SWIGINTERN VALUE
|
5914
|
-
|
6182
|
+
_gdal_wrap_ColorEntry_c2_get(int argc, VALUE *argv, VALUE self) {
|
5915
6183
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5916
6184
|
void *argp1 = 0 ;
|
5917
6185
|
int res1 = 0 ;
|
@@ -5935,7 +6203,7 @@ fail:
|
|
5935
6203
|
|
5936
6204
|
|
5937
6205
|
SWIGINTERN VALUE
|
5938
|
-
|
6206
|
+
_gdal_wrap_ColorEntry_c3_set(int argc, VALUE *argv, VALUE self) {
|
5939
6207
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5940
6208
|
short arg2 ;
|
5941
6209
|
void *argp1 = 0 ;
|
@@ -5964,7 +6232,7 @@ fail:
|
|
5964
6232
|
|
5965
6233
|
|
5966
6234
|
SWIGINTERN VALUE
|
5967
|
-
|
6235
|
+
_gdal_wrap_ColorEntry_c3_get(int argc, VALUE *argv, VALUE self) {
|
5968
6236
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5969
6237
|
void *argp1 = 0 ;
|
5970
6238
|
int res1 = 0 ;
|
@@ -5988,7 +6256,7 @@ fail:
|
|
5988
6256
|
|
5989
6257
|
|
5990
6258
|
SWIGINTERN VALUE
|
5991
|
-
|
6259
|
+
_gdal_wrap_ColorEntry_c4_set(int argc, VALUE *argv, VALUE self) {
|
5992
6260
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
5993
6261
|
short arg2 ;
|
5994
6262
|
void *argp1 = 0 ;
|
@@ -6017,7 +6285,7 @@ fail:
|
|
6017
6285
|
|
6018
6286
|
|
6019
6287
|
SWIGINTERN VALUE
|
6020
|
-
|
6288
|
+
_gdal_wrap_ColorEntry_c4_get(int argc, VALUE *argv, VALUE self) {
|
6021
6289
|
GDALColorEntry *arg1 = (GDALColorEntry *) 0 ;
|
6022
6290
|
void *argp1 = 0 ;
|
6023
6291
|
int res1 = 0 ;
|
@@ -6042,10 +6310,10 @@ fail:
|
|
6042
6310
|
|
6043
6311
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
6044
6312
|
SWIGINTERN VALUE
|
6045
|
-
|
6313
|
+
_gdal_wrap_ColorEntry_allocate(VALUE self) {
|
6046
6314
|
#else
|
6047
6315
|
SWIGINTERN VALUE
|
6048
|
-
|
6316
|
+
_gdal_wrap_ColorEntry_allocate(int argc, VALUE *argv, VALUE self) {
|
6049
6317
|
#endif
|
6050
6318
|
|
6051
6319
|
|
@@ -6058,7 +6326,7 @@ _wrap_ColorEntry_allocate(VALUE self) {
|
|
6058
6326
|
|
6059
6327
|
|
6060
6328
|
SWIGINTERN VALUE
|
6061
|
-
|
6329
|
+
_gdal_wrap_new_ColorEntry(int argc, VALUE *argv, VALUE self) {
|
6062
6330
|
GDALColorEntry *result = 0 ;
|
6063
6331
|
|
6064
6332
|
if ((argc < 0) || (argc > 0)) {
|
@@ -6096,10 +6364,10 @@ free_GDALColorEntry(GDALColorEntry *arg1) {
|
|
6096
6364
|
delete arg1;
|
6097
6365
|
}
|
6098
6366
|
|
6099
|
-
swig_class SwigClassGCP;
|
6367
|
+
static swig_class SwigClassGCP;
|
6100
6368
|
|
6101
6369
|
SWIGINTERN VALUE
|
6102
|
-
|
6370
|
+
_gdal_wrap_GCP_GCPX_set(int argc, VALUE *argv, VALUE self) {
|
6103
6371
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6104
6372
|
double arg2 ;
|
6105
6373
|
void *argp1 = 0 ;
|
@@ -6147,7 +6415,7 @@ fail:
|
|
6147
6415
|
|
6148
6416
|
|
6149
6417
|
SWIGINTERN VALUE
|
6150
|
-
|
6418
|
+
_gdal_wrap_GCP_GCPX_get(int argc, VALUE *argv, VALUE self) {
|
6151
6419
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6152
6420
|
void *argp1 = 0 ;
|
6153
6421
|
int res1 = 0 ;
|
@@ -6190,7 +6458,7 @@ fail:
|
|
6190
6458
|
|
6191
6459
|
|
6192
6460
|
SWIGINTERN VALUE
|
6193
|
-
|
6461
|
+
_gdal_wrap_GCP_GCPY_set(int argc, VALUE *argv, VALUE self) {
|
6194
6462
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6195
6463
|
double arg2 ;
|
6196
6464
|
void *argp1 = 0 ;
|
@@ -6238,7 +6506,7 @@ fail:
|
|
6238
6506
|
|
6239
6507
|
|
6240
6508
|
SWIGINTERN VALUE
|
6241
|
-
|
6509
|
+
_gdal_wrap_GCP_GCPY_get(int argc, VALUE *argv, VALUE self) {
|
6242
6510
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6243
6511
|
void *argp1 = 0 ;
|
6244
6512
|
int res1 = 0 ;
|
@@ -6281,7 +6549,7 @@ fail:
|
|
6281
6549
|
|
6282
6550
|
|
6283
6551
|
SWIGINTERN VALUE
|
6284
|
-
|
6552
|
+
_gdal_wrap_GCP_GCPZ_set(int argc, VALUE *argv, VALUE self) {
|
6285
6553
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6286
6554
|
double arg2 ;
|
6287
6555
|
void *argp1 = 0 ;
|
@@ -6329,7 +6597,7 @@ fail:
|
|
6329
6597
|
|
6330
6598
|
|
6331
6599
|
SWIGINTERN VALUE
|
6332
|
-
|
6600
|
+
_gdal_wrap_GCP_GCPZ_get(int argc, VALUE *argv, VALUE self) {
|
6333
6601
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6334
6602
|
void *argp1 = 0 ;
|
6335
6603
|
int res1 = 0 ;
|
@@ -6372,7 +6640,7 @@ fail:
|
|
6372
6640
|
|
6373
6641
|
|
6374
6642
|
SWIGINTERN VALUE
|
6375
|
-
|
6643
|
+
_gdal_wrap_GCP_GCPPixel_set(int argc, VALUE *argv, VALUE self) {
|
6376
6644
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6377
6645
|
double arg2 ;
|
6378
6646
|
void *argp1 = 0 ;
|
@@ -6420,7 +6688,7 @@ fail:
|
|
6420
6688
|
|
6421
6689
|
|
6422
6690
|
SWIGINTERN VALUE
|
6423
|
-
|
6691
|
+
_gdal_wrap_GCP_GCPPixel_get(int argc, VALUE *argv, VALUE self) {
|
6424
6692
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6425
6693
|
void *argp1 = 0 ;
|
6426
6694
|
int res1 = 0 ;
|
@@ -6463,7 +6731,7 @@ fail:
|
|
6463
6731
|
|
6464
6732
|
|
6465
6733
|
SWIGINTERN VALUE
|
6466
|
-
|
6734
|
+
_gdal_wrap_GCP_GCPLine_set(int argc, VALUE *argv, VALUE self) {
|
6467
6735
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6468
6736
|
double arg2 ;
|
6469
6737
|
void *argp1 = 0 ;
|
@@ -6511,7 +6779,7 @@ fail:
|
|
6511
6779
|
|
6512
6780
|
|
6513
6781
|
SWIGINTERN VALUE
|
6514
|
-
|
6782
|
+
_gdal_wrap_GCP_GCPLine_get(int argc, VALUE *argv, VALUE self) {
|
6515
6783
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6516
6784
|
void *argp1 = 0 ;
|
6517
6785
|
int res1 = 0 ;
|
@@ -6554,7 +6822,7 @@ fail:
|
|
6554
6822
|
|
6555
6823
|
|
6556
6824
|
SWIGINTERN VALUE
|
6557
|
-
|
6825
|
+
_gdal_wrap_GCP_Info_set(int argc, VALUE *argv, VALUE self) {
|
6558
6826
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6559
6827
|
char *arg2 = (char *) 0 ;
|
6560
6828
|
void *argp1 = 0 ;
|
@@ -6605,7 +6873,7 @@ fail:
|
|
6605
6873
|
|
6606
6874
|
|
6607
6875
|
SWIGINTERN VALUE
|
6608
|
-
|
6876
|
+
_gdal_wrap_GCP_Info_get(int argc, VALUE *argv, VALUE self) {
|
6609
6877
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6610
6878
|
void *argp1 = 0 ;
|
6611
6879
|
int res1 = 0 ;
|
@@ -6648,7 +6916,7 @@ fail:
|
|
6648
6916
|
|
6649
6917
|
|
6650
6918
|
SWIGINTERN VALUE
|
6651
|
-
|
6919
|
+
_gdal_wrap_GCP_Id_set(int argc, VALUE *argv, VALUE self) {
|
6652
6920
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6653
6921
|
char *arg2 = (char *) 0 ;
|
6654
6922
|
void *argp1 = 0 ;
|
@@ -6699,7 +6967,7 @@ fail:
|
|
6699
6967
|
|
6700
6968
|
|
6701
6969
|
SWIGINTERN VALUE
|
6702
|
-
|
6970
|
+
_gdal_wrap_GCP_Id_get(int argc, VALUE *argv, VALUE self) {
|
6703
6971
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6704
6972
|
void *argp1 = 0 ;
|
6705
6973
|
int res1 = 0 ;
|
@@ -6743,10 +7011,10 @@ fail:
|
|
6743
7011
|
|
6744
7012
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
6745
7013
|
SWIGINTERN VALUE
|
6746
|
-
|
7014
|
+
_gdal_wrap_GCP_allocate(VALUE self) {
|
6747
7015
|
#else
|
6748
7016
|
SWIGINTERN VALUE
|
6749
|
-
|
7017
|
+
_gdal_wrap_GCP_allocate(int argc, VALUE *argv, VALUE self) {
|
6750
7018
|
#endif
|
6751
7019
|
|
6752
7020
|
|
@@ -6759,7 +7027,7 @@ _wrap_GCP_allocate(VALUE self) {
|
|
6759
7027
|
|
6760
7028
|
|
6761
7029
|
SWIGINTERN VALUE
|
6762
|
-
|
7030
|
+
_gdal_wrap_new_GCP(int argc, VALUE *argv, VALUE self) {
|
6763
7031
|
double arg1 = (double) 0.0 ;
|
6764
7032
|
double arg2 = (double) 0.0 ;
|
6765
7033
|
double arg3 = (double) 0.0 ;
|
@@ -6881,7 +7149,7 @@ free_GDAL_GCP(GDAL_GCP *arg1) {
|
|
6881
7149
|
}
|
6882
7150
|
|
6883
7151
|
SWIGINTERN VALUE
|
6884
|
-
|
7152
|
+
_gdal_wrap_gdal_gcp_gcpx_get(int argc, VALUE *argv, VALUE self) {
|
6885
7153
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6886
7154
|
void *argp1 = 0 ;
|
6887
7155
|
int res1 = 0 ;
|
@@ -6929,7 +7197,7 @@ fail:
|
|
6929
7197
|
|
6930
7198
|
|
6931
7199
|
SWIGINTERN VALUE
|
6932
|
-
|
7200
|
+
_gdal_wrap_gdal_gcp_gcpx_set(int argc, VALUE *argv, VALUE self) {
|
6933
7201
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6934
7202
|
double arg2 ;
|
6935
7203
|
void *argp1 = 0 ;
|
@@ -6982,7 +7250,7 @@ fail:
|
|
6982
7250
|
|
6983
7251
|
|
6984
7252
|
SWIGINTERN VALUE
|
6985
|
-
|
7253
|
+
_gdal_wrap_gdal_gcp_gcpy_get(int argc, VALUE *argv, VALUE self) {
|
6986
7254
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
6987
7255
|
void *argp1 = 0 ;
|
6988
7256
|
int res1 = 0 ;
|
@@ -7030,7 +7298,7 @@ fail:
|
|
7030
7298
|
|
7031
7299
|
|
7032
7300
|
SWIGINTERN VALUE
|
7033
|
-
|
7301
|
+
_gdal_wrap_gdal_gcp_gcpy_set(int argc, VALUE *argv, VALUE self) {
|
7034
7302
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7035
7303
|
double arg2 ;
|
7036
7304
|
void *argp1 = 0 ;
|
@@ -7083,7 +7351,7 @@ fail:
|
|
7083
7351
|
|
7084
7352
|
|
7085
7353
|
SWIGINTERN VALUE
|
7086
|
-
|
7354
|
+
_gdal_wrap_gdal_gcp_gcpz_get(int argc, VALUE *argv, VALUE self) {
|
7087
7355
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7088
7356
|
void *argp1 = 0 ;
|
7089
7357
|
int res1 = 0 ;
|
@@ -7131,7 +7399,7 @@ fail:
|
|
7131
7399
|
|
7132
7400
|
|
7133
7401
|
SWIGINTERN VALUE
|
7134
|
-
|
7402
|
+
_gdal_wrap_gdal_gcp_gcpz_set(int argc, VALUE *argv, VALUE self) {
|
7135
7403
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7136
7404
|
double arg2 ;
|
7137
7405
|
void *argp1 = 0 ;
|
@@ -7184,7 +7452,7 @@ fail:
|
|
7184
7452
|
|
7185
7453
|
|
7186
7454
|
SWIGINTERN VALUE
|
7187
|
-
|
7455
|
+
_gdal_wrap_gdal_gcp_gcppixel_get(int argc, VALUE *argv, VALUE self) {
|
7188
7456
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7189
7457
|
void *argp1 = 0 ;
|
7190
7458
|
int res1 = 0 ;
|
@@ -7232,7 +7500,7 @@ fail:
|
|
7232
7500
|
|
7233
7501
|
|
7234
7502
|
SWIGINTERN VALUE
|
7235
|
-
|
7503
|
+
_gdal_wrap_gdal_gcp_gcppixel_set(int argc, VALUE *argv, VALUE self) {
|
7236
7504
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7237
7505
|
double arg2 ;
|
7238
7506
|
void *argp1 = 0 ;
|
@@ -7285,7 +7553,7 @@ fail:
|
|
7285
7553
|
|
7286
7554
|
|
7287
7555
|
SWIGINTERN VALUE
|
7288
|
-
|
7556
|
+
_gdal_wrap_gdal_gcp_gcpline_get(int argc, VALUE *argv, VALUE self) {
|
7289
7557
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7290
7558
|
void *argp1 = 0 ;
|
7291
7559
|
int res1 = 0 ;
|
@@ -7333,7 +7601,7 @@ fail:
|
|
7333
7601
|
|
7334
7602
|
|
7335
7603
|
SWIGINTERN VALUE
|
7336
|
-
|
7604
|
+
_gdal_wrap_gdal_gcp_gcpline_set(int argc, VALUE *argv, VALUE self) {
|
7337
7605
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7338
7606
|
double arg2 ;
|
7339
7607
|
void *argp1 = 0 ;
|
@@ -7386,7 +7654,7 @@ fail:
|
|
7386
7654
|
|
7387
7655
|
|
7388
7656
|
SWIGINTERN VALUE
|
7389
|
-
|
7657
|
+
_gdal_wrap_gdal_gcp_info_get(int argc, VALUE *argv, VALUE self) {
|
7390
7658
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7391
7659
|
void *argp1 = 0 ;
|
7392
7660
|
int res1 = 0 ;
|
@@ -7434,7 +7702,7 @@ fail:
|
|
7434
7702
|
|
7435
7703
|
|
7436
7704
|
SWIGINTERN VALUE
|
7437
|
-
|
7705
|
+
_gdal_wrap_gdal_gcp_info_set(int argc, VALUE *argv, VALUE self) {
|
7438
7706
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7439
7707
|
char *arg2 = (char *) 0 ;
|
7440
7708
|
void *argp1 = 0 ;
|
@@ -7490,7 +7758,7 @@ fail:
|
|
7490
7758
|
|
7491
7759
|
|
7492
7760
|
SWIGINTERN VALUE
|
7493
|
-
|
7761
|
+
_gdal_wrap_gdal_gcp_id_get(int argc, VALUE *argv, VALUE self) {
|
7494
7762
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7495
7763
|
void *argp1 = 0 ;
|
7496
7764
|
int res1 = 0 ;
|
@@ -7538,7 +7806,7 @@ fail:
|
|
7538
7806
|
|
7539
7807
|
|
7540
7808
|
SWIGINTERN VALUE
|
7541
|
-
|
7809
|
+
_gdal_wrap_gdal_gcp_id_set(int argc, VALUE *argv, VALUE self) {
|
7542
7810
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7543
7811
|
char *arg2 = (char *) 0 ;
|
7544
7812
|
void *argp1 = 0 ;
|
@@ -7594,7 +7862,7 @@ fail:
|
|
7594
7862
|
|
7595
7863
|
|
7596
7864
|
SWIGINTERN VALUE
|
7597
|
-
|
7865
|
+
_gdal_wrap_gdal_gcp_get_gcpx(int argc, VALUE *argv, VALUE self) {
|
7598
7866
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7599
7867
|
void *argp1 = 0 ;
|
7600
7868
|
int res1 = 0 ;
|
@@ -7642,7 +7910,7 @@ fail:
|
|
7642
7910
|
|
7643
7911
|
|
7644
7912
|
SWIGINTERN VALUE
|
7645
|
-
|
7913
|
+
_gdal_wrap_gdal_gcp_set_gcpx(int argc, VALUE *argv, VALUE self) {
|
7646
7914
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7647
7915
|
double arg2 ;
|
7648
7916
|
void *argp1 = 0 ;
|
@@ -7695,7 +7963,7 @@ fail:
|
|
7695
7963
|
|
7696
7964
|
|
7697
7965
|
SWIGINTERN VALUE
|
7698
|
-
|
7966
|
+
_gdal_wrap_gdal_gcp_get_gcpy(int argc, VALUE *argv, VALUE self) {
|
7699
7967
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7700
7968
|
void *argp1 = 0 ;
|
7701
7969
|
int res1 = 0 ;
|
@@ -7743,7 +8011,7 @@ fail:
|
|
7743
8011
|
|
7744
8012
|
|
7745
8013
|
SWIGINTERN VALUE
|
7746
|
-
|
8014
|
+
_gdal_wrap_gdal_gcp_set_gcpy(int argc, VALUE *argv, VALUE self) {
|
7747
8015
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7748
8016
|
double arg2 ;
|
7749
8017
|
void *argp1 = 0 ;
|
@@ -7796,7 +8064,7 @@ fail:
|
|
7796
8064
|
|
7797
8065
|
|
7798
8066
|
SWIGINTERN VALUE
|
7799
|
-
|
8067
|
+
_gdal_wrap_gdal_gcp_get_gcpz(int argc, VALUE *argv, VALUE self) {
|
7800
8068
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7801
8069
|
void *argp1 = 0 ;
|
7802
8070
|
int res1 = 0 ;
|
@@ -7844,7 +8112,7 @@ fail:
|
|
7844
8112
|
|
7845
8113
|
|
7846
8114
|
SWIGINTERN VALUE
|
7847
|
-
|
8115
|
+
_gdal_wrap_gdal_gcp_set_gcpz(int argc, VALUE *argv, VALUE self) {
|
7848
8116
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7849
8117
|
double arg2 ;
|
7850
8118
|
void *argp1 = 0 ;
|
@@ -7897,7 +8165,7 @@ fail:
|
|
7897
8165
|
|
7898
8166
|
|
7899
8167
|
SWIGINTERN VALUE
|
7900
|
-
|
8168
|
+
_gdal_wrap_gdal_gcp_get_gcppixel(int argc, VALUE *argv, VALUE self) {
|
7901
8169
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7902
8170
|
void *argp1 = 0 ;
|
7903
8171
|
int res1 = 0 ;
|
@@ -7945,7 +8213,7 @@ fail:
|
|
7945
8213
|
|
7946
8214
|
|
7947
8215
|
SWIGINTERN VALUE
|
7948
|
-
|
8216
|
+
_gdal_wrap_gdal_gcp_set_gcppixel(int argc, VALUE *argv, VALUE self) {
|
7949
8217
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
7950
8218
|
double arg2 ;
|
7951
8219
|
void *argp1 = 0 ;
|
@@ -7998,7 +8266,7 @@ fail:
|
|
7998
8266
|
|
7999
8267
|
|
8000
8268
|
SWIGINTERN VALUE
|
8001
|
-
|
8269
|
+
_gdal_wrap_gdal_gcp_get_gcpline(int argc, VALUE *argv, VALUE self) {
|
8002
8270
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8003
8271
|
void *argp1 = 0 ;
|
8004
8272
|
int res1 = 0 ;
|
@@ -8046,7 +8314,7 @@ fail:
|
|
8046
8314
|
|
8047
8315
|
|
8048
8316
|
SWIGINTERN VALUE
|
8049
|
-
|
8317
|
+
_gdal_wrap_gdal_gcp_set_gcpline(int argc, VALUE *argv, VALUE self) {
|
8050
8318
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8051
8319
|
double arg2 ;
|
8052
8320
|
void *argp1 = 0 ;
|
@@ -8099,7 +8367,7 @@ fail:
|
|
8099
8367
|
|
8100
8368
|
|
8101
8369
|
SWIGINTERN VALUE
|
8102
|
-
|
8370
|
+
_gdal_wrap_gdal_gcp_get_info(int argc, VALUE *argv, VALUE self) {
|
8103
8371
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8104
8372
|
void *argp1 = 0 ;
|
8105
8373
|
int res1 = 0 ;
|
@@ -8147,7 +8415,7 @@ fail:
|
|
8147
8415
|
|
8148
8416
|
|
8149
8417
|
SWIGINTERN VALUE
|
8150
|
-
|
8418
|
+
_gdal_wrap_gdal_gcp_set_info(int argc, VALUE *argv, VALUE self) {
|
8151
8419
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8152
8420
|
char *arg2 = (char *) 0 ;
|
8153
8421
|
void *argp1 = 0 ;
|
@@ -8203,7 +8471,7 @@ fail:
|
|
8203
8471
|
|
8204
8472
|
|
8205
8473
|
SWIGINTERN VALUE
|
8206
|
-
|
8474
|
+
_gdal_wrap_gdal_gcp_get_id(int argc, VALUE *argv, VALUE self) {
|
8207
8475
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8208
8476
|
void *argp1 = 0 ;
|
8209
8477
|
int res1 = 0 ;
|
@@ -8251,7 +8519,7 @@ fail:
|
|
8251
8519
|
|
8252
8520
|
|
8253
8521
|
SWIGINTERN VALUE
|
8254
|
-
|
8522
|
+
_gdal_wrap_gdal_gcp_set_id(int argc, VALUE *argv, VALUE self) {
|
8255
8523
|
GDAL_GCP *arg1 = (GDAL_GCP *) 0 ;
|
8256
8524
|
char *arg2 = (char *) 0 ;
|
8257
8525
|
void *argp1 = 0 ;
|
@@ -8307,7 +8575,7 @@ fail:
|
|
8307
8575
|
|
8308
8576
|
|
8309
8577
|
SWIGINTERN VALUE
|
8310
|
-
|
8578
|
+
_gdal_wrap_gcps_to_geo_transform(int argc, VALUE *argv, VALUE self) {
|
8311
8579
|
int arg1 ;
|
8312
8580
|
GDAL_GCP *arg2 = (GDAL_GCP *) 0 ;
|
8313
8581
|
double *arg3 ;
|
@@ -8414,7 +8682,7 @@ fail:
|
|
8414
8682
|
}
|
8415
8683
|
|
8416
8684
|
|
8417
|
-
swig_class SwigClassAsyncReader;
|
8685
|
+
static swig_class SwigClassAsyncReader;
|
8418
8686
|
|
8419
8687
|
SWIGINTERN void delete_GDALAsyncReaderShadow(GDALAsyncReaderShadow *self){
|
8420
8688
|
DeleteAsyncReaderWrapper(self);
|
@@ -8425,7 +8693,7 @@ free_GDALAsyncReaderShadow(GDALAsyncReaderShadow *arg1) {
|
|
8425
8693
|
}
|
8426
8694
|
|
8427
8695
|
SWIGINTERN VALUE
|
8428
|
-
|
8696
|
+
_gdal_wrap_AsyncReader_get_next_updated_region(int argc, VALUE *argv, VALUE self) {
|
8429
8697
|
GDALAsyncReaderShadow *arg1 = (GDALAsyncReaderShadow *) 0 ;
|
8430
8698
|
double arg2 ;
|
8431
8699
|
int *arg3 = (int *) 0 ;
|
@@ -8516,7 +8784,7 @@ fail:
|
|
8516
8784
|
|
8517
8785
|
|
8518
8786
|
SWIGINTERN VALUE
|
8519
|
-
|
8787
|
+
_gdal_wrap_AsyncReader_lock_buffer(int argc, VALUE *argv, VALUE self) {
|
8520
8788
|
GDALAsyncReaderShadow *arg1 = (GDALAsyncReaderShadow *) 0 ;
|
8521
8789
|
double arg2 ;
|
8522
8790
|
void *argp1 = 0 ;
|
@@ -8567,7 +8835,7 @@ fail:
|
|
8567
8835
|
|
8568
8836
|
|
8569
8837
|
SWIGINTERN VALUE
|
8570
|
-
|
8838
|
+
_gdal_wrap_AsyncReader_unlock_buffer(int argc, VALUE *argv, VALUE self) {
|
8571
8839
|
GDALAsyncReaderShadow *arg1 = (GDALAsyncReaderShadow *) 0 ;
|
8572
8840
|
void *argp1 = 0 ;
|
8573
8841
|
int res1 = 0 ;
|
@@ -8606,10 +8874,10 @@ fail:
|
|
8606
8874
|
}
|
8607
8875
|
|
8608
8876
|
|
8609
|
-
swig_class SwigClassDataset;
|
8877
|
+
static swig_class SwigClassDataset;
|
8610
8878
|
|
8611
8879
|
SWIGINTERN VALUE
|
8612
|
-
|
8880
|
+
_gdal_wrap_Dataset_RasterXSize_get(int argc, VALUE *argv, VALUE self) {
|
8613
8881
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8614
8882
|
void *argp1 = 0 ;
|
8615
8883
|
int res1 = 0 ;
|
@@ -8652,7 +8920,7 @@ fail:
|
|
8652
8920
|
|
8653
8921
|
|
8654
8922
|
SWIGINTERN VALUE
|
8655
|
-
|
8923
|
+
_gdal_wrap_Dataset_RasterYSize_get(int argc, VALUE *argv, VALUE self) {
|
8656
8924
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8657
8925
|
void *argp1 = 0 ;
|
8658
8926
|
int res1 = 0 ;
|
@@ -8695,7 +8963,7 @@ fail:
|
|
8695
8963
|
|
8696
8964
|
|
8697
8965
|
SWIGINTERN VALUE
|
8698
|
-
|
8966
|
+
_gdal_wrap_Dataset_RasterCount_get(int argc, VALUE *argv, VALUE self) {
|
8699
8967
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8700
8968
|
void *argp1 = 0 ;
|
8701
8969
|
int res1 = 0 ;
|
@@ -8748,7 +9016,7 @@ free_GDALDatasetShadow(GDALDatasetShadow *arg1) {
|
|
8748
9016
|
}
|
8749
9017
|
|
8750
9018
|
SWIGINTERN VALUE
|
8751
|
-
|
9019
|
+
_gdal_wrap_Dataset_get_driver(int argc, VALUE *argv, VALUE self) {
|
8752
9020
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8753
9021
|
void *argp1 = 0 ;
|
8754
9022
|
int res1 = 0 ;
|
@@ -8791,7 +9059,7 @@ fail:
|
|
8791
9059
|
|
8792
9060
|
|
8793
9061
|
SWIGINTERN VALUE
|
8794
|
-
|
9062
|
+
_gdal_wrap_Dataset_get_raster_band(int argc, VALUE *argv, VALUE self) {
|
8795
9063
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8796
9064
|
int arg2 ;
|
8797
9065
|
void *argp1 = 0 ;
|
@@ -8842,7 +9110,7 @@ fail:
|
|
8842
9110
|
|
8843
9111
|
|
8844
9112
|
SWIGINTERN VALUE
|
8845
|
-
|
9113
|
+
_gdal_wrap_Dataset_get_projection(int argc, VALUE *argv, VALUE self) {
|
8846
9114
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8847
9115
|
void *argp1 = 0 ;
|
8848
9116
|
int res1 = 0 ;
|
@@ -8885,7 +9153,7 @@ fail:
|
|
8885
9153
|
|
8886
9154
|
|
8887
9155
|
SWIGINTERN VALUE
|
8888
|
-
|
9156
|
+
_gdal_wrap_Dataset_get_projection_ref(int argc, VALUE *argv, VALUE self) {
|
8889
9157
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8890
9158
|
void *argp1 = 0 ;
|
8891
9159
|
int res1 = 0 ;
|
@@ -8928,7 +9196,7 @@ fail:
|
|
8928
9196
|
|
8929
9197
|
|
8930
9198
|
SWIGINTERN VALUE
|
8931
|
-
|
9199
|
+
_gdal_wrap_Dataset_set_projection(int argc, VALUE *argv, VALUE self) {
|
8932
9200
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8933
9201
|
char *arg2 = (char *) 0 ;
|
8934
9202
|
void *argp1 = 0 ;
|
@@ -8990,7 +9258,7 @@ fail:
|
|
8990
9258
|
|
8991
9259
|
|
8992
9260
|
SWIGINTERN VALUE
|
8993
|
-
|
9261
|
+
_gdal_wrap_Dataset_get_geo_transform(int argc, VALUE *argv, VALUE self) {
|
8994
9262
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
8995
9263
|
double *arg2 ;
|
8996
9264
|
void *argp1 = 0 ;
|
@@ -9050,7 +9318,7 @@ fail:
|
|
9050
9318
|
|
9051
9319
|
|
9052
9320
|
SWIGINTERN VALUE
|
9053
|
-
|
9321
|
+
_gdal_wrap_Dataset_set_geo_transform(int argc, VALUE *argv, VALUE self) {
|
9054
9322
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9055
9323
|
double *arg2 ;
|
9056
9324
|
void *argp1 = 0 ;
|
@@ -9121,7 +9389,7 @@ fail:
|
|
9121
9389
|
|
9122
9390
|
|
9123
9391
|
SWIGINTERN VALUE
|
9124
|
-
|
9392
|
+
_gdal_wrap_Dataset_build_overviews(int argc, VALUE *argv, VALUE self) {
|
9125
9393
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9126
9394
|
char *arg2 = (char *) "NEAREST" ;
|
9127
9395
|
int arg3 = (int) 0 ;
|
@@ -9136,7 +9404,7 @@ _wrap_Dataset_build_overviews(int argc, VALUE *argv, VALUE self) {
|
|
9136
9404
|
void *argp5 ;
|
9137
9405
|
int res5 = 0 ;
|
9138
9406
|
int res6 ;
|
9139
|
-
char *kwnames[] = {
|
9407
|
+
const char *kwnames[] = {
|
9140
9408
|
"self","resampling","overviewlist","callback","callback_data", NULL
|
9141
9409
|
};
|
9142
9410
|
int result;
|
@@ -9239,7 +9507,7 @@ fail:
|
|
9239
9507
|
|
9240
9508
|
|
9241
9509
|
SWIGINTERN VALUE
|
9242
|
-
|
9510
|
+
_gdal_wrap_Dataset_get_gcpcount(int argc, VALUE *argv, VALUE self) {
|
9243
9511
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9244
9512
|
void *argp1 = 0 ;
|
9245
9513
|
int res1 = 0 ;
|
@@ -9282,7 +9550,7 @@ fail:
|
|
9282
9550
|
|
9283
9551
|
|
9284
9552
|
SWIGINTERN VALUE
|
9285
|
-
|
9553
|
+
_gdal_wrap_Dataset_get_gcpprojection(int argc, VALUE *argv, VALUE self) {
|
9286
9554
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9287
9555
|
void *argp1 = 0 ;
|
9288
9556
|
int res1 = 0 ;
|
@@ -9325,7 +9593,7 @@ fail:
|
|
9325
9593
|
|
9326
9594
|
|
9327
9595
|
SWIGINTERN VALUE
|
9328
|
-
|
9596
|
+
_gdal_wrap_Dataset_get_gcps(int argc, VALUE *argv, VALUE self) {
|
9329
9597
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9330
9598
|
int *arg2 = (int *) 0 ;
|
9331
9599
|
GDAL_GCP **arg3 = (GDAL_GCP **) 0 ;
|
@@ -9393,7 +9661,7 @@ fail:
|
|
9393
9661
|
|
9394
9662
|
|
9395
9663
|
SWIGINTERN VALUE
|
9396
|
-
|
9664
|
+
_gdal_wrap_Dataset_set_gcps(int argc, VALUE *argv, VALUE self) {
|
9397
9665
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9398
9666
|
int arg2 ;
|
9399
9667
|
GDAL_GCP *arg3 = (GDAL_GCP *) 0 ;
|
@@ -9489,7 +9757,7 @@ fail:
|
|
9489
9757
|
|
9490
9758
|
|
9491
9759
|
SWIGINTERN VALUE
|
9492
|
-
|
9760
|
+
_gdal_wrap_Dataset_flush_cache(int argc, VALUE *argv, VALUE self) {
|
9493
9761
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9494
9762
|
void *argp1 = 0 ;
|
9495
9763
|
int res1 = 0 ;
|
@@ -9529,13 +9797,13 @@ fail:
|
|
9529
9797
|
|
9530
9798
|
|
9531
9799
|
SWIGINTERN VALUE
|
9532
|
-
|
9800
|
+
_gdal_wrap_Dataset_add_band(int argc, VALUE *argv, VALUE self) {
|
9533
9801
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9534
9802
|
GDALDataType arg2 = (GDALDataType) GDT_Byte ;
|
9535
9803
|
char **arg3 = (char **) 0 ;
|
9536
9804
|
void *argp1 = 0 ;
|
9537
9805
|
int res1 = 0 ;
|
9538
|
-
char *kwnames[] = {
|
9806
|
+
const char *kwnames[] = {
|
9539
9807
|
"self","datatype","options", NULL
|
9540
9808
|
};
|
9541
9809
|
CPLErr result;
|
@@ -9611,7 +9879,7 @@ fail:
|
|
9611
9879
|
|
9612
9880
|
|
9613
9881
|
SWIGINTERN VALUE
|
9614
|
-
|
9882
|
+
_gdal_wrap_Dataset_create_mask_band(int argc, VALUE *argv, VALUE self) {
|
9615
9883
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9616
9884
|
int arg2 ;
|
9617
9885
|
void *argp1 = 0 ;
|
@@ -9665,7 +9933,7 @@ fail:
|
|
9665
9933
|
|
9666
9934
|
|
9667
9935
|
SWIGINTERN VALUE
|
9668
|
-
|
9936
|
+
_gdal_wrap_Dataset_get_file_list(int argc, VALUE *argv, VALUE self) {
|
9669
9937
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9670
9938
|
void *argp1 = 0 ;
|
9671
9939
|
int res1 = 0 ;
|
@@ -9708,7 +9976,7 @@ fail:
|
|
9708
9976
|
|
9709
9977
|
|
9710
9978
|
SWIGINTERN VALUE
|
9711
|
-
|
9979
|
+
_gdal_wrap_Dataset_write_raster(int argc, VALUE *argv, VALUE self) {
|
9712
9980
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9713
9981
|
int arg2 ;
|
9714
9982
|
int arg3 ;
|
@@ -9750,7 +10018,7 @@ _wrap_Dataset_write_raster(int argc, VALUE *argv, VALUE self) {
|
|
9750
10018
|
int res14 = 0 ;
|
9751
10019
|
void *argp15 = 0 ;
|
9752
10020
|
int res15 = 0 ;
|
9753
|
-
char *kwnames[] = {
|
10021
|
+
const char *kwnames[] = {
|
9754
10022
|
"self","xoff","yoff","xsize","ysize","buf_len","buf_xsize","buf_ysize","buf_type","band_list","buf_pixel_space","buf_line_space","buf_band_space", NULL
|
9755
10023
|
};
|
9756
10024
|
CPLErr result;
|
@@ -9896,7 +10164,7 @@ fail:
|
|
9896
10164
|
|
9897
10165
|
|
9898
10166
|
SWIGINTERN VALUE
|
9899
|
-
|
10167
|
+
_gdal_wrap_Dataset_read_raster(int argc, VALUE *argv, VALUE self) {
|
9900
10168
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
9901
10169
|
int arg2 ;
|
9902
10170
|
int arg3 ;
|
@@ -9936,7 +10204,7 @@ _wrap_Dataset_read_raster(int argc, VALUE *argv, VALUE self) {
|
|
9936
10204
|
int res14 = 0 ;
|
9937
10205
|
void *argp15 = 0 ;
|
9938
10206
|
int res15 = 0 ;
|
9939
|
-
char *kwnames[] = {
|
10207
|
+
const char *kwnames[] = {
|
9940
10208
|
"self","xoff","yoff","xsize","ysize","buf_xsize","buf_ysize","buf_type","band_list","buf_pixel_space","buf_line_space","buf_band_space", NULL
|
9941
10209
|
};
|
9942
10210
|
CPLErr result;
|
@@ -10096,10 +10364,10 @@ fail:
|
|
10096
10364
|
}
|
10097
10365
|
|
10098
10366
|
|
10099
|
-
swig_class SwigClassBand;
|
10367
|
+
static swig_class SwigClassBand;
|
10100
10368
|
|
10101
10369
|
SWIGINTERN VALUE
|
10102
|
-
|
10370
|
+
_gdal_wrap_Band_XSize_get(int argc, VALUE *argv, VALUE self) {
|
10103
10371
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10104
10372
|
void *argp1 = 0 ;
|
10105
10373
|
int res1 = 0 ;
|
@@ -10142,7 +10410,7 @@ fail:
|
|
10142
10410
|
|
10143
10411
|
|
10144
10412
|
SWIGINTERN VALUE
|
10145
|
-
|
10413
|
+
_gdal_wrap_Band_YSize_get(int argc, VALUE *argv, VALUE self) {
|
10146
10414
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10147
10415
|
void *argp1 = 0 ;
|
10148
10416
|
int res1 = 0 ;
|
@@ -10185,7 +10453,7 @@ fail:
|
|
10185
10453
|
|
10186
10454
|
|
10187
10455
|
SWIGINTERN VALUE
|
10188
|
-
|
10456
|
+
_gdal_wrap_Band_DataType_get(int argc, VALUE *argv, VALUE self) {
|
10189
10457
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10190
10458
|
void *argp1 = 0 ;
|
10191
10459
|
int res1 = 0 ;
|
@@ -10228,7 +10496,7 @@ fail:
|
|
10228
10496
|
|
10229
10497
|
|
10230
10498
|
SWIGINTERN VALUE
|
10231
|
-
|
10499
|
+
_gdal_wrap_Band_get_band(int argc, VALUE *argv, VALUE self) {
|
10232
10500
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10233
10501
|
void *argp1 = 0 ;
|
10234
10502
|
int res1 = 0 ;
|
@@ -10271,7 +10539,7 @@ fail:
|
|
10271
10539
|
|
10272
10540
|
|
10273
10541
|
SWIGINTERN VALUE
|
10274
|
-
|
10542
|
+
_gdal_wrap_Band_get_block_size(int argc, VALUE *argv, VALUE self) {
|
10275
10543
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10276
10544
|
int *arg2 = (int *) 0 ;
|
10277
10545
|
int *arg3 = (int *) 0 ;
|
@@ -10333,7 +10601,7 @@ fail:
|
|
10333
10601
|
|
10334
10602
|
|
10335
10603
|
SWIGINTERN VALUE
|
10336
|
-
|
10604
|
+
_gdal_wrap_Band_get_color_interpretation(int argc, VALUE *argv, VALUE self) {
|
10337
10605
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10338
10606
|
void *argp1 = 0 ;
|
10339
10607
|
int res1 = 0 ;
|
@@ -10376,7 +10644,7 @@ fail:
|
|
10376
10644
|
|
10377
10645
|
|
10378
10646
|
SWIGINTERN VALUE
|
10379
|
-
|
10647
|
+
_gdal_wrap_Band_get_raster_color_interpretation(int argc, VALUE *argv, VALUE self) {
|
10380
10648
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10381
10649
|
void *argp1 = 0 ;
|
10382
10650
|
int res1 = 0 ;
|
@@ -10419,7 +10687,7 @@ fail:
|
|
10419
10687
|
|
10420
10688
|
|
10421
10689
|
SWIGINTERN VALUE
|
10422
|
-
|
10690
|
+
_gdal_wrap_Band_set_color_interpretation(int argc, VALUE *argv, VALUE self) {
|
10423
10691
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10424
10692
|
GDALColorInterp arg2 ;
|
10425
10693
|
void *argp1 = 0 ;
|
@@ -10470,7 +10738,7 @@ fail:
|
|
10470
10738
|
|
10471
10739
|
|
10472
10740
|
SWIGINTERN VALUE
|
10473
|
-
|
10741
|
+
_gdal_wrap_Band_set_raster_color_interpretation(int argc, VALUE *argv, VALUE self) {
|
10474
10742
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10475
10743
|
GDALColorInterp arg2 ;
|
10476
10744
|
void *argp1 = 0 ;
|
@@ -10521,7 +10789,7 @@ fail:
|
|
10521
10789
|
|
10522
10790
|
|
10523
10791
|
SWIGINTERN VALUE
|
10524
|
-
|
10792
|
+
_gdal_wrap_Band_get_no_data_value(int argc, VALUE *argv, VALUE self) {
|
10525
10793
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10526
10794
|
double *arg2 = (double *) 0 ;
|
10527
10795
|
int *arg3 = (int *) 0 ;
|
@@ -10584,7 +10852,7 @@ fail:
|
|
10584
10852
|
|
10585
10853
|
|
10586
10854
|
SWIGINTERN VALUE
|
10587
|
-
|
10855
|
+
_gdal_wrap_Band_set_no_data_value(int argc, VALUE *argv, VALUE self) {
|
10588
10856
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10589
10857
|
double arg2 ;
|
10590
10858
|
void *argp1 = 0 ;
|
@@ -10638,7 +10906,7 @@ fail:
|
|
10638
10906
|
|
10639
10907
|
|
10640
10908
|
SWIGINTERN VALUE
|
10641
|
-
|
10909
|
+
_gdal_wrap_Band_get_unit_type(int argc, VALUE *argv, VALUE self) {
|
10642
10910
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10643
10911
|
void *argp1 = 0 ;
|
10644
10912
|
int res1 = 0 ;
|
@@ -10681,7 +10949,7 @@ fail:
|
|
10681
10949
|
|
10682
10950
|
|
10683
10951
|
SWIGINTERN VALUE
|
10684
|
-
|
10952
|
+
_gdal_wrap_Band_set_unit_type(int argc, VALUE *argv, VALUE self) {
|
10685
10953
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10686
10954
|
char *arg2 = (char *) 0 ;
|
10687
10955
|
void *argp1 = 0 ;
|
@@ -10738,7 +11006,7 @@ fail:
|
|
10738
11006
|
|
10739
11007
|
|
10740
11008
|
SWIGINTERN VALUE
|
10741
|
-
|
11009
|
+
_gdal_wrap_Band_get_raster_category_names(int argc, VALUE *argv, VALUE self) {
|
10742
11010
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10743
11011
|
void *argp1 = 0 ;
|
10744
11012
|
int res1 = 0 ;
|
@@ -10796,7 +11064,7 @@ fail:
|
|
10796
11064
|
|
10797
11065
|
|
10798
11066
|
SWIGINTERN VALUE
|
10799
|
-
|
11067
|
+
_gdal_wrap_Band_set_raster_category_names(int argc, VALUE *argv, VALUE self) {
|
10800
11068
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10801
11069
|
char **arg2 = (char **) 0 ;
|
10802
11070
|
void *argp1 = 0 ;
|
@@ -10866,7 +11134,7 @@ fail:
|
|
10866
11134
|
|
10867
11135
|
|
10868
11136
|
SWIGINTERN VALUE
|
10869
|
-
|
11137
|
+
_gdal_wrap_Band_get_minimum(int argc, VALUE *argv, VALUE self) {
|
10870
11138
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10871
11139
|
double *arg2 = (double *) 0 ;
|
10872
11140
|
int *arg3 = (int *) 0 ;
|
@@ -10929,7 +11197,7 @@ fail:
|
|
10929
11197
|
|
10930
11198
|
|
10931
11199
|
SWIGINTERN VALUE
|
10932
|
-
|
11200
|
+
_gdal_wrap_Band_get_maximum(int argc, VALUE *argv, VALUE self) {
|
10933
11201
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10934
11202
|
double *arg2 = (double *) 0 ;
|
10935
11203
|
int *arg3 = (int *) 0 ;
|
@@ -10992,7 +11260,7 @@ fail:
|
|
10992
11260
|
|
10993
11261
|
|
10994
11262
|
SWIGINTERN VALUE
|
10995
|
-
|
11263
|
+
_gdal_wrap_Band_get_offset(int argc, VALUE *argv, VALUE self) {
|
10996
11264
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
10997
11265
|
double *arg2 = (double *) 0 ;
|
10998
11266
|
int *arg3 = (int *) 0 ;
|
@@ -11055,7 +11323,7 @@ fail:
|
|
11055
11323
|
|
11056
11324
|
|
11057
11325
|
SWIGINTERN VALUE
|
11058
|
-
|
11326
|
+
_gdal_wrap_Band_get_scale(int argc, VALUE *argv, VALUE self) {
|
11059
11327
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11060
11328
|
double *arg2 = (double *) 0 ;
|
11061
11329
|
int *arg3 = (int *) 0 ;
|
@@ -11118,7 +11386,7 @@ fail:
|
|
11118
11386
|
|
11119
11387
|
|
11120
11388
|
SWIGINTERN VALUE
|
11121
|
-
|
11389
|
+
_gdal_wrap_Band_set_offset(int argc, VALUE *argv, VALUE self) {
|
11122
11390
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11123
11391
|
double arg2 ;
|
11124
11392
|
void *argp1 = 0 ;
|
@@ -11172,7 +11440,7 @@ fail:
|
|
11172
11440
|
|
11173
11441
|
|
11174
11442
|
SWIGINTERN VALUE
|
11175
|
-
|
11443
|
+
_gdal_wrap_Band_set_scale(int argc, VALUE *argv, VALUE self) {
|
11176
11444
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11177
11445
|
double arg2 ;
|
11178
11446
|
void *argp1 = 0 ;
|
@@ -11226,7 +11494,7 @@ fail:
|
|
11226
11494
|
|
11227
11495
|
|
11228
11496
|
SWIGINTERN VALUE
|
11229
|
-
|
11497
|
+
_gdal_wrap_Band_get_statistics(int argc, VALUE *argv, VALUE self) {
|
11230
11498
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11231
11499
|
int arg2 ;
|
11232
11500
|
int arg3 ;
|
@@ -11328,7 +11596,7 @@ fail:
|
|
11328
11596
|
|
11329
11597
|
|
11330
11598
|
SWIGINTERN VALUE
|
11331
|
-
|
11599
|
+
_gdal_wrap_Band_compute_statistics(int argc, VALUE *argv, VALUE self) {
|
11332
11600
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11333
11601
|
bool arg2 ;
|
11334
11602
|
double *arg3 = (double *) NULL ;
|
@@ -11443,7 +11711,7 @@ fail:
|
|
11443
11711
|
|
11444
11712
|
|
11445
11713
|
SWIGINTERN VALUE
|
11446
|
-
|
11714
|
+
_gdal_wrap_Band_set_statistics(int argc, VALUE *argv, VALUE self) {
|
11447
11715
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11448
11716
|
double arg2 ;
|
11449
11717
|
double arg3 ;
|
@@ -11518,7 +11786,7 @@ fail:
|
|
11518
11786
|
|
11519
11787
|
|
11520
11788
|
SWIGINTERN VALUE
|
11521
|
-
|
11789
|
+
_gdal_wrap_Band_get_overview_count(int argc, VALUE *argv, VALUE self) {
|
11522
11790
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11523
11791
|
void *argp1 = 0 ;
|
11524
11792
|
int res1 = 0 ;
|
@@ -11561,7 +11829,7 @@ fail:
|
|
11561
11829
|
|
11562
11830
|
|
11563
11831
|
SWIGINTERN VALUE
|
11564
|
-
|
11832
|
+
_gdal_wrap_Band_get_overview(int argc, VALUE *argv, VALUE self) {
|
11565
11833
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11566
11834
|
int arg2 ;
|
11567
11835
|
void *argp1 = 0 ;
|
@@ -11612,7 +11880,7 @@ fail:
|
|
11612
11880
|
|
11613
11881
|
|
11614
11882
|
SWIGINTERN VALUE
|
11615
|
-
|
11883
|
+
_gdal_wrap_Band_checksum(int argc, VALUE *argv, VALUE self) {
|
11616
11884
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11617
11885
|
int arg2 = (int) 0 ;
|
11618
11886
|
int arg3 = (int) 0 ;
|
@@ -11628,7 +11896,7 @@ _wrap_Band_checksum(int argc, VALUE *argv, VALUE self) {
|
|
11628
11896
|
int res4 = 0 ;
|
11629
11897
|
void *argp5 = 0 ;
|
11630
11898
|
int res5 = 0 ;
|
11631
|
-
char *kwnames[] = {
|
11899
|
+
const char *kwnames[] = {
|
11632
11900
|
"self","xoff","yoff","xsize","ysize", NULL
|
11633
11901
|
};
|
11634
11902
|
int result;
|
@@ -11698,7 +11966,7 @@ fail:
|
|
11698
11966
|
|
11699
11967
|
|
11700
11968
|
SWIGINTERN VALUE
|
11701
|
-
|
11969
|
+
_gdal_wrap_Band_compute_raster_min_max(int argc, VALUE *argv, VALUE self) {
|
11702
11970
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11703
11971
|
double *arg2 ;
|
11704
11972
|
int arg3 = (int) 0 ;
|
@@ -11768,7 +12036,7 @@ fail:
|
|
11768
12036
|
|
11769
12037
|
|
11770
12038
|
SWIGINTERN VALUE
|
11771
|
-
|
12039
|
+
_gdal_wrap_Band_compute_band_stats(int argc, VALUE *argv, VALUE self) {
|
11772
12040
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11773
12041
|
double *arg2 ;
|
11774
12042
|
int arg3 = (int) 1 ;
|
@@ -11838,7 +12106,7 @@ fail:
|
|
11838
12106
|
|
11839
12107
|
|
11840
12108
|
SWIGINTERN VALUE
|
11841
|
-
|
12109
|
+
_gdal_wrap_Band_fill(int argc, VALUE *argv, VALUE self) {
|
11842
12110
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11843
12111
|
double arg2 ;
|
11844
12112
|
double arg3 = (double) 0.0 ;
|
@@ -11899,7 +12167,7 @@ fail:
|
|
11899
12167
|
|
11900
12168
|
|
11901
12169
|
SWIGINTERN VALUE
|
11902
|
-
|
12170
|
+
_gdal_wrap_Band_read_raster(int argc, VALUE *argv, VALUE self) {
|
11903
12171
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
11904
12172
|
int arg2 ;
|
11905
12173
|
int arg3 ;
|
@@ -11934,7 +12202,7 @@ _wrap_Band_read_raster(int argc, VALUE *argv, VALUE self) {
|
|
11934
12202
|
int res11 = 0 ;
|
11935
12203
|
void *argp12 = 0 ;
|
11936
12204
|
int res12 = 0 ;
|
11937
|
-
char *kwnames[] = {
|
12205
|
+
const char *kwnames[] = {
|
11938
12206
|
"self","xoff","yoff","xsize","ysize","buf_xsize","buf_ysize","buf_type","buf_pixel_space","buf_line_space", NULL
|
11939
12207
|
};
|
11940
12208
|
CPLErr result;
|
@@ -12052,7 +12320,7 @@ fail:
|
|
12052
12320
|
|
12053
12321
|
|
12054
12322
|
SWIGINTERN VALUE
|
12055
|
-
|
12323
|
+
_gdal_wrap_Band_write_raster(int argc, VALUE *argv, VALUE self) {
|
12056
12324
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12057
12325
|
int arg2 ;
|
12058
12326
|
int arg3 ;
|
@@ -12089,7 +12357,7 @@ _wrap_Band_write_raster(int argc, VALUE *argv, VALUE self) {
|
|
12089
12357
|
int res11 = 0 ;
|
12090
12358
|
void *argp12 = 0 ;
|
12091
12359
|
int res12 = 0 ;
|
12092
|
-
char *kwnames[] = {
|
12360
|
+
const char *kwnames[] = {
|
12093
12361
|
"self","xoff","yoff","xsize","ysize","buf_len","buf_xsize","buf_ysize","buf_type","buf_pixel_space","buf_line_space", NULL
|
12094
12362
|
};
|
12095
12363
|
CPLErr result;
|
@@ -12192,7 +12460,7 @@ fail:
|
|
12192
12460
|
|
12193
12461
|
|
12194
12462
|
SWIGINTERN VALUE
|
12195
|
-
|
12463
|
+
_gdal_wrap_Band_flush_cache(int argc, VALUE *argv, VALUE self) {
|
12196
12464
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12197
12465
|
void *argp1 = 0 ;
|
12198
12466
|
int res1 = 0 ;
|
@@ -12232,7 +12500,7 @@ fail:
|
|
12232
12500
|
|
12233
12501
|
|
12234
12502
|
SWIGINTERN VALUE
|
12235
|
-
|
12503
|
+
_gdal_wrap_Band_get_raster_color_table(int argc, VALUE *argv, VALUE self) {
|
12236
12504
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12237
12505
|
void *argp1 = 0 ;
|
12238
12506
|
int res1 = 0 ;
|
@@ -12275,7 +12543,7 @@ fail:
|
|
12275
12543
|
|
12276
12544
|
|
12277
12545
|
SWIGINTERN VALUE
|
12278
|
-
|
12546
|
+
_gdal_wrap_Band_get_color_table(int argc, VALUE *argv, VALUE self) {
|
12279
12547
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12280
12548
|
void *argp1 = 0 ;
|
12281
12549
|
int res1 = 0 ;
|
@@ -12318,7 +12586,7 @@ fail:
|
|
12318
12586
|
|
12319
12587
|
|
12320
12588
|
SWIGINTERN VALUE
|
12321
|
-
|
12589
|
+
_gdal_wrap_Band_set_raster_color_table(int argc, VALUE *argv, VALUE self) {
|
12322
12590
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12323
12591
|
GDALColorTableShadow *arg2 = (GDALColorTableShadow *) 0 ;
|
12324
12592
|
void *argp1 = 0 ;
|
@@ -12369,7 +12637,7 @@ fail:
|
|
12369
12637
|
|
12370
12638
|
|
12371
12639
|
SWIGINTERN VALUE
|
12372
|
-
|
12640
|
+
_gdal_wrap_Band_set_color_table(int argc, VALUE *argv, VALUE self) {
|
12373
12641
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12374
12642
|
GDALColorTableShadow *arg2 = (GDALColorTableShadow *) 0 ;
|
12375
12643
|
void *argp1 = 0 ;
|
@@ -12420,7 +12688,7 @@ fail:
|
|
12420
12688
|
|
12421
12689
|
|
12422
12690
|
SWIGINTERN VALUE
|
12423
|
-
|
12691
|
+
_gdal_wrap_Band_get_default_rat(int argc, VALUE *argv, VALUE self) {
|
12424
12692
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12425
12693
|
void *argp1 = 0 ;
|
12426
12694
|
int res1 = 0 ;
|
@@ -12463,7 +12731,7 @@ fail:
|
|
12463
12731
|
|
12464
12732
|
|
12465
12733
|
SWIGINTERN VALUE
|
12466
|
-
|
12734
|
+
_gdal_wrap_Band_set_default_rat(int argc, VALUE *argv, VALUE self) {
|
12467
12735
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12468
12736
|
GDALRasterAttributeTableShadow *arg2 = (GDALRasterAttributeTableShadow *) 0 ;
|
12469
12737
|
void *argp1 = 0 ;
|
@@ -12514,7 +12782,7 @@ fail:
|
|
12514
12782
|
|
12515
12783
|
|
12516
12784
|
SWIGINTERN VALUE
|
12517
|
-
|
12785
|
+
_gdal_wrap_Band_get_mask_band(int argc, VALUE *argv, VALUE self) {
|
12518
12786
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12519
12787
|
void *argp1 = 0 ;
|
12520
12788
|
int res1 = 0 ;
|
@@ -12557,7 +12825,7 @@ fail:
|
|
12557
12825
|
|
12558
12826
|
|
12559
12827
|
SWIGINTERN VALUE
|
12560
|
-
|
12828
|
+
_gdal_wrap_Band_get_mask_flags(int argc, VALUE *argv, VALUE self) {
|
12561
12829
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12562
12830
|
void *argp1 = 0 ;
|
12563
12831
|
int res1 = 0 ;
|
@@ -12600,7 +12868,7 @@ fail:
|
|
12600
12868
|
|
12601
12869
|
|
12602
12870
|
SWIGINTERN VALUE
|
12603
|
-
|
12871
|
+
_gdal_wrap_Band_create_mask_band(int argc, VALUE *argv, VALUE self) {
|
12604
12872
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12605
12873
|
int arg2 ;
|
12606
12874
|
void *argp1 = 0 ;
|
@@ -12651,7 +12919,7 @@ fail:
|
|
12651
12919
|
|
12652
12920
|
|
12653
12921
|
SWIGINTERN VALUE
|
12654
|
-
|
12922
|
+
_gdal_wrap_Band_get_histogram(int argc, VALUE *argv, VALUE self) {
|
12655
12923
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12656
12924
|
double arg2 = (double) -0.5 ;
|
12657
12925
|
double arg3 = (double) 255.5 ;
|
@@ -12678,7 +12946,7 @@ _wrap_Band_get_histogram(int argc, VALUE *argv, VALUE self) {
|
|
12678
12946
|
void *argp8 ;
|
12679
12947
|
int res8 = 0 ;
|
12680
12948
|
int res9 ;
|
12681
|
-
char *kwnames[] = {
|
12949
|
+
const char *kwnames[] = {
|
12682
12950
|
"self","min","max","buckets","panHistogram","include_out_of_range","approx_ok","callback","callback_data", NULL
|
12683
12951
|
};
|
12684
12952
|
CPLErr result;
|
@@ -12781,7 +13049,7 @@ fail:
|
|
12781
13049
|
|
12782
13050
|
|
12783
13051
|
SWIGINTERN VALUE
|
12784
|
-
|
13052
|
+
_gdal_wrap_Band_get_default_histogram(int argc, VALUE *argv, VALUE self) {
|
12785
13053
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12786
13054
|
double *arg2 = (double *) NULL ;
|
12787
13055
|
double *arg3 = (double *) NULL ;
|
@@ -12805,7 +13073,7 @@ _wrap_Band_get_default_histogram(int argc, VALUE *argv, VALUE self) {
|
|
12805
13073
|
void *argp7 ;
|
12806
13074
|
int res7 = 0 ;
|
12807
13075
|
int res8 ;
|
12808
|
-
char *kwnames[] = {
|
13076
|
+
const char *kwnames[] = {
|
12809
13077
|
"self","min_ret","max_ret","buckets_ret","ppanHistogram","force","callback","callback_data", NULL
|
12810
13078
|
};
|
12811
13079
|
CPLErr result;
|
@@ -12901,7 +13169,7 @@ fail:
|
|
12901
13169
|
|
12902
13170
|
|
12903
13171
|
SWIGINTERN VALUE
|
12904
|
-
|
13172
|
+
_gdal_wrap_Band_set_default_histogram(int argc, VALUE *argv, VALUE self) {
|
12905
13173
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12906
13174
|
double arg2 ;
|
12907
13175
|
double arg3 ;
|
@@ -12976,7 +13244,7 @@ fail:
|
|
12976
13244
|
|
12977
13245
|
|
12978
13246
|
SWIGINTERN VALUE
|
12979
|
-
|
13247
|
+
_gdal_wrap_Band_has_arbitrary_overviews(int argc, VALUE *argv, VALUE self) {
|
12980
13248
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
12981
13249
|
void *argp1 = 0 ;
|
12982
13250
|
int res1 = 0 ;
|
@@ -13019,7 +13287,7 @@ fail:
|
|
13019
13287
|
|
13020
13288
|
|
13021
13289
|
SWIGINTERN VALUE
|
13022
|
-
|
13290
|
+
_gdal_wrap_Band_get_category_names(int argc, VALUE *argv, VALUE self) {
|
13023
13291
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
13024
13292
|
void *argp1 = 0 ;
|
13025
13293
|
int res1 = 0 ;
|
@@ -13077,7 +13345,7 @@ fail:
|
|
13077
13345
|
|
13078
13346
|
|
13079
13347
|
SWIGINTERN VALUE
|
13080
|
-
|
13348
|
+
_gdal_wrap_Band_set_category_names(int argc, VALUE *argv, VALUE self) {
|
13081
13349
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
13082
13350
|
char **arg2 = (char **) 0 ;
|
13083
13351
|
void *argp1 = 0 ;
|
@@ -13143,14 +13411,14 @@ fail:
|
|
13143
13411
|
}
|
13144
13412
|
|
13145
13413
|
|
13146
|
-
swig_class SwigClassColorTable;
|
13414
|
+
static swig_class SwigClassColorTable;
|
13147
13415
|
|
13148
13416
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
13149
13417
|
SWIGINTERN VALUE
|
13150
|
-
|
13418
|
+
_gdal_wrap_ColorTable_allocate(VALUE self) {
|
13151
13419
|
#else
|
13152
13420
|
SWIGINTERN VALUE
|
13153
|
-
|
13421
|
+
_gdal_wrap_ColorTable_allocate(int argc, VALUE *argv, VALUE self) {
|
13154
13422
|
#endif
|
13155
13423
|
|
13156
13424
|
|
@@ -13163,9 +13431,9 @@ _wrap_ColorTable_allocate(VALUE self) {
|
|
13163
13431
|
|
13164
13432
|
|
13165
13433
|
SWIGINTERN VALUE
|
13166
|
-
|
13434
|
+
_gdal_wrap_new_ColorTable(int argc, VALUE *argv, VALUE self) {
|
13167
13435
|
GDALPaletteInterp arg1 = (GDALPaletteInterp) GPI_RGB ;
|
13168
|
-
char *kwnames[] = {
|
13436
|
+
const char *kwnames[] = {
|
13169
13437
|
"palette", NULL
|
13170
13438
|
};
|
13171
13439
|
GDALColorTableShadow *result = 0 ;
|
@@ -13215,7 +13483,7 @@ free_GDALColorTableShadow(GDALColorTableShadow *arg1) {
|
|
13215
13483
|
}
|
13216
13484
|
|
13217
13485
|
SWIGINTERN VALUE
|
13218
|
-
|
13486
|
+
_gdal_wrap_ColorTable_clone(int argc, VALUE *argv, VALUE self) {
|
13219
13487
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13220
13488
|
void *argp1 = 0 ;
|
13221
13489
|
int res1 = 0 ;
|
@@ -13258,7 +13526,7 @@ fail:
|
|
13258
13526
|
|
13259
13527
|
|
13260
13528
|
SWIGINTERN VALUE
|
13261
|
-
|
13529
|
+
_gdal_wrap_ColorTable_get_palette_interpretation(int argc, VALUE *argv, VALUE self) {
|
13262
13530
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13263
13531
|
void *argp1 = 0 ;
|
13264
13532
|
int res1 = 0 ;
|
@@ -13301,7 +13569,7 @@ fail:
|
|
13301
13569
|
|
13302
13570
|
|
13303
13571
|
SWIGINTERN VALUE
|
13304
|
-
|
13572
|
+
_gdal_wrap_ColorTable_get_count(int argc, VALUE *argv, VALUE self) {
|
13305
13573
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13306
13574
|
void *argp1 = 0 ;
|
13307
13575
|
int res1 = 0 ;
|
@@ -13344,7 +13612,7 @@ fail:
|
|
13344
13612
|
|
13345
13613
|
|
13346
13614
|
SWIGINTERN VALUE
|
13347
|
-
|
13615
|
+
_gdal_wrap_ColorTable_get_color_entry(int argc, VALUE *argv, VALUE self) {
|
13348
13616
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13349
13617
|
int arg2 ;
|
13350
13618
|
void *argp1 = 0 ;
|
@@ -13395,7 +13663,7 @@ fail:
|
|
13395
13663
|
|
13396
13664
|
|
13397
13665
|
SWIGINTERN VALUE
|
13398
|
-
|
13666
|
+
_gdal_wrap_ColorTable_get_color_entry_as_rgb(int argc, VALUE *argv, VALUE self) {
|
13399
13667
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13400
13668
|
int arg2 ;
|
13401
13669
|
GDALColorEntry *arg3 = (GDALColorEntry *) 0 ;
|
@@ -13454,7 +13722,7 @@ fail:
|
|
13454
13722
|
|
13455
13723
|
|
13456
13724
|
SWIGINTERN VALUE
|
13457
|
-
|
13725
|
+
_gdal_wrap_ColorTable_set_color_entry(int argc, VALUE *argv, VALUE self) {
|
13458
13726
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13459
13727
|
int arg2 ;
|
13460
13728
|
GDALColorEntry *arg3 = (GDALColorEntry *) 0 ;
|
@@ -13510,7 +13778,7 @@ fail:
|
|
13510
13778
|
|
13511
13779
|
|
13512
13780
|
SWIGINTERN VALUE
|
13513
|
-
|
13781
|
+
_gdal_wrap_ColorTable_create_color_ramp(int argc, VALUE *argv, VALUE self) {
|
13514
13782
|
GDALColorTableShadow *arg1 = (GDALColorTableShadow *) 0 ;
|
13515
13783
|
int arg2 ;
|
13516
13784
|
GDALColorEntry *arg3 = (GDALColorEntry *) 0 ;
|
@@ -13581,14 +13849,14 @@ fail:
|
|
13581
13849
|
}
|
13582
13850
|
|
13583
13851
|
|
13584
|
-
swig_class SwigClassRasterAttributeTable;
|
13852
|
+
static swig_class SwigClassRasterAttributeTable;
|
13585
13853
|
|
13586
13854
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
13587
13855
|
SWIGINTERN VALUE
|
13588
|
-
|
13856
|
+
_gdal_wrap_RasterAttributeTable_allocate(VALUE self) {
|
13589
13857
|
#else
|
13590
13858
|
SWIGINTERN VALUE
|
13591
|
-
|
13859
|
+
_gdal_wrap_RasterAttributeTable_allocate(int argc, VALUE *argv, VALUE self) {
|
13592
13860
|
#endif
|
13593
13861
|
|
13594
13862
|
|
@@ -13601,7 +13869,7 @@ _wrap_RasterAttributeTable_allocate(VALUE self) {
|
|
13601
13869
|
|
13602
13870
|
|
13603
13871
|
SWIGINTERN VALUE
|
13604
|
-
|
13872
|
+
_gdal_wrap_new_RasterAttributeTable(int argc, VALUE *argv, VALUE self) {
|
13605
13873
|
GDALRasterAttributeTableShadow *result = 0 ;
|
13606
13874
|
|
13607
13875
|
if ((argc < 0) || (argc > 0)) {
|
@@ -13643,7 +13911,7 @@ free_GDALRasterAttributeTableShadow(GDALRasterAttributeTableShadow *arg1) {
|
|
13643
13911
|
}
|
13644
13912
|
|
13645
13913
|
SWIGINTERN VALUE
|
13646
|
-
|
13914
|
+
_gdal_wrap_RasterAttributeTable_clone(int argc, VALUE *argv, VALUE self) {
|
13647
13915
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13648
13916
|
void *argp1 = 0 ;
|
13649
13917
|
int res1 = 0 ;
|
@@ -13686,7 +13954,7 @@ fail:
|
|
13686
13954
|
|
13687
13955
|
|
13688
13956
|
SWIGINTERN VALUE
|
13689
|
-
|
13957
|
+
_gdal_wrap_RasterAttributeTable_get_column_count(int argc, VALUE *argv, VALUE self) {
|
13690
13958
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13691
13959
|
void *argp1 = 0 ;
|
13692
13960
|
int res1 = 0 ;
|
@@ -13729,7 +13997,7 @@ fail:
|
|
13729
13997
|
|
13730
13998
|
|
13731
13999
|
SWIGINTERN VALUE
|
13732
|
-
|
14000
|
+
_gdal_wrap_RasterAttributeTable_get_name_of_col(int argc, VALUE *argv, VALUE self) {
|
13733
14001
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13734
14002
|
int arg2 ;
|
13735
14003
|
void *argp1 = 0 ;
|
@@ -13780,7 +14048,7 @@ fail:
|
|
13780
14048
|
|
13781
14049
|
|
13782
14050
|
SWIGINTERN VALUE
|
13783
|
-
|
14051
|
+
_gdal_wrap_RasterAttributeTable_get_usage_of_col(int argc, VALUE *argv, VALUE self) {
|
13784
14052
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13785
14053
|
int arg2 ;
|
13786
14054
|
void *argp1 = 0 ;
|
@@ -13831,7 +14099,7 @@ fail:
|
|
13831
14099
|
|
13832
14100
|
|
13833
14101
|
SWIGINTERN VALUE
|
13834
|
-
|
14102
|
+
_gdal_wrap_RasterAttributeTable_get_type_of_col(int argc, VALUE *argv, VALUE self) {
|
13835
14103
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13836
14104
|
int arg2 ;
|
13837
14105
|
void *argp1 = 0 ;
|
@@ -13882,7 +14150,7 @@ fail:
|
|
13882
14150
|
|
13883
14151
|
|
13884
14152
|
SWIGINTERN VALUE
|
13885
|
-
|
14153
|
+
_gdal_wrap_RasterAttributeTable_get_col_of_usage(int argc, VALUE *argv, VALUE self) {
|
13886
14154
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13887
14155
|
GDALRATFieldUsage arg2 ;
|
13888
14156
|
void *argp1 = 0 ;
|
@@ -13933,7 +14201,7 @@ fail:
|
|
13933
14201
|
|
13934
14202
|
|
13935
14203
|
SWIGINTERN VALUE
|
13936
|
-
|
14204
|
+
_gdal_wrap_RasterAttributeTable_get_row_count(int argc, VALUE *argv, VALUE self) {
|
13937
14205
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13938
14206
|
void *argp1 = 0 ;
|
13939
14207
|
int res1 = 0 ;
|
@@ -13976,7 +14244,7 @@ fail:
|
|
13976
14244
|
|
13977
14245
|
|
13978
14246
|
SWIGINTERN VALUE
|
13979
|
-
|
14247
|
+
_gdal_wrap_RasterAttributeTable_get_value_as_string(int argc, VALUE *argv, VALUE self) {
|
13980
14248
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
13981
14249
|
int arg2 ;
|
13982
14250
|
int arg3 ;
|
@@ -14035,7 +14303,7 @@ fail:
|
|
14035
14303
|
|
14036
14304
|
|
14037
14305
|
SWIGINTERN VALUE
|
14038
|
-
|
14306
|
+
_gdal_wrap_RasterAttributeTable_get_value_as_int(int argc, VALUE *argv, VALUE self) {
|
14039
14307
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14040
14308
|
int arg2 ;
|
14041
14309
|
int arg3 ;
|
@@ -14094,7 +14362,7 @@ fail:
|
|
14094
14362
|
|
14095
14363
|
|
14096
14364
|
SWIGINTERN VALUE
|
14097
|
-
|
14365
|
+
_gdal_wrap_RasterAttributeTable_get_value_as_double(int argc, VALUE *argv, VALUE self) {
|
14098
14366
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14099
14367
|
int arg2 ;
|
14100
14368
|
int arg3 ;
|
@@ -14153,7 +14421,7 @@ fail:
|
|
14153
14421
|
|
14154
14422
|
|
14155
14423
|
SWIGINTERN VALUE
|
14156
|
-
|
14424
|
+
_gdal_wrap_RasterAttributeTable_set_value_as_string(int argc, VALUE *argv, VALUE self) {
|
14157
14425
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14158
14426
|
int arg2 ;
|
14159
14427
|
int arg3 ;
|
@@ -14220,7 +14488,7 @@ fail:
|
|
14220
14488
|
|
14221
14489
|
|
14222
14490
|
SWIGINTERN VALUE
|
14223
|
-
|
14491
|
+
_gdal_wrap_RasterAttributeTable_set_value_as_int(int argc, VALUE *argv, VALUE self) {
|
14224
14492
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14225
14493
|
int arg2 ;
|
14226
14494
|
int arg3 ;
|
@@ -14284,7 +14552,7 @@ fail:
|
|
14284
14552
|
|
14285
14553
|
|
14286
14554
|
SWIGINTERN VALUE
|
14287
|
-
|
14555
|
+
_gdal_wrap_RasterAttributeTable_set_value_as_double(int argc, VALUE *argv, VALUE self) {
|
14288
14556
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14289
14557
|
int arg2 ;
|
14290
14558
|
int arg3 ;
|
@@ -14348,7 +14616,7 @@ fail:
|
|
14348
14616
|
|
14349
14617
|
|
14350
14618
|
SWIGINTERN VALUE
|
14351
|
-
|
14619
|
+
_gdal_wrap_RasterAttributeTable_set_row_count(int argc, VALUE *argv, VALUE self) {
|
14352
14620
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14353
14621
|
int arg2 ;
|
14354
14622
|
void *argp1 = 0 ;
|
@@ -14396,7 +14664,7 @@ fail:
|
|
14396
14664
|
|
14397
14665
|
|
14398
14666
|
SWIGINTERN VALUE
|
14399
|
-
|
14667
|
+
_gdal_wrap_RasterAttributeTable_create_column(int argc, VALUE *argv, VALUE self) {
|
14400
14668
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14401
14669
|
char *arg2 = (char *) 0 ;
|
14402
14670
|
GDALRATFieldType arg3 ;
|
@@ -14466,7 +14734,7 @@ fail:
|
|
14466
14734
|
|
14467
14735
|
|
14468
14736
|
SWIGINTERN VALUE
|
14469
|
-
|
14737
|
+
_gdal_wrap_RasterAttributeTable_get_linear_binning(int argc, VALUE *argv, VALUE self) {
|
14470
14738
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14471
14739
|
double *arg2 = (double *) 0 ;
|
14472
14740
|
double *arg3 = (double *) 0 ;
|
@@ -14529,7 +14797,7 @@ fail:
|
|
14529
14797
|
|
14530
14798
|
|
14531
14799
|
SWIGINTERN VALUE
|
14532
|
-
|
14800
|
+
_gdal_wrap_RasterAttributeTable_set_linear_binning(int argc, VALUE *argv, VALUE self) {
|
14533
14801
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14534
14802
|
double arg2 ;
|
14535
14803
|
double arg3 ;
|
@@ -14588,7 +14856,7 @@ fail:
|
|
14588
14856
|
|
14589
14857
|
|
14590
14858
|
SWIGINTERN VALUE
|
14591
|
-
|
14859
|
+
_gdal_wrap_RasterAttributeTable_get_row_of_value(int argc, VALUE *argv, VALUE self) {
|
14592
14860
|
GDALRasterAttributeTableShadow *arg1 = (GDALRasterAttributeTableShadow *) 0 ;
|
14593
14861
|
double arg2 ;
|
14594
14862
|
void *argp1 = 0 ;
|
@@ -14639,7 +14907,7 @@ fail:
|
|
14639
14907
|
|
14640
14908
|
|
14641
14909
|
SWIGINTERN VALUE
|
14642
|
-
|
14910
|
+
_gdal_wrap_TermProgress_nocb(int argc, VALUE *argv, VALUE self) {
|
14643
14911
|
double arg1 ;
|
14644
14912
|
char *arg2 = (char *) NULL ;
|
14645
14913
|
void *arg3 = (void *) NULL ;
|
@@ -14649,7 +14917,7 @@ _wrap_TermProgress_nocb(int argc, VALUE *argv, VALUE self) {
|
|
14649
14917
|
char *buf2 = 0 ;
|
14650
14918
|
int alloc2 = 0 ;
|
14651
14919
|
int res3 ;
|
14652
|
-
char *kwnames[] = {
|
14920
|
+
const char *kwnames[] = {
|
14653
14921
|
"dfProgress","pszMessage","pData", NULL
|
14654
14922
|
};
|
14655
14923
|
int result;
|
@@ -14706,7 +14974,7 @@ fail:
|
|
14706
14974
|
|
14707
14975
|
|
14708
14976
|
SWIGINTERN VALUE
|
14709
|
-
|
14977
|
+
_gdal_wrap_compute_median_cut_pct(int argc, VALUE *argv, VALUE self) {
|
14710
14978
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
14711
14979
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
14712
14980
|
GDALRasterBandShadow *arg3 = (GDALRasterBandShadow *) 0 ;
|
@@ -14727,7 +14995,7 @@ _wrap_compute_median_cut_pct(int argc, VALUE *argv, VALUE self) {
|
|
14727
14995
|
void *argp6 ;
|
14728
14996
|
int res6 = 0 ;
|
14729
14997
|
int res7 ;
|
14730
|
-
char *kwnames[] = {
|
14998
|
+
const char *kwnames[] = {
|
14731
14999
|
"red","green","blue","num_colors","colors","callback","callback_data", NULL
|
14732
15000
|
};
|
14733
15001
|
int result;
|
@@ -14828,7 +15096,7 @@ fail:
|
|
14828
15096
|
|
14829
15097
|
|
14830
15098
|
SWIGINTERN VALUE
|
14831
|
-
|
15099
|
+
_gdal_wrap_dither_rgb_2pct(int argc, VALUE *argv, VALUE self) {
|
14832
15100
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
14833
15101
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
14834
15102
|
GDALRasterBandShadow *arg3 = (GDALRasterBandShadow *) 0 ;
|
@@ -14849,7 +15117,7 @@ _wrap_dither_rgb_2pct(int argc, VALUE *argv, VALUE self) {
|
|
14849
15117
|
void *argp6 ;
|
14850
15118
|
int res6 = 0 ;
|
14851
15119
|
int res7 ;
|
14852
|
-
char *kwnames[] = {
|
15120
|
+
const char *kwnames[] = {
|
14853
15121
|
"red","green","blue","target","colors","callback","callback_data", NULL
|
14854
15122
|
};
|
14855
15123
|
int result;
|
@@ -14955,7 +15223,7 @@ fail:
|
|
14955
15223
|
|
14956
15224
|
|
14957
15225
|
SWIGINTERN VALUE
|
14958
|
-
|
15226
|
+
_gdal_wrap_reproject_image(int argc, VALUE *argv, VALUE self) {
|
14959
15227
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
14960
15228
|
GDALDatasetShadow *arg2 = (GDALDatasetShadow *) 0 ;
|
14961
15229
|
char *arg3 = (char *) NULL ;
|
@@ -15093,7 +15361,7 @@ fail:
|
|
15093
15361
|
|
15094
15362
|
|
15095
15363
|
SWIGINTERN VALUE
|
15096
|
-
|
15364
|
+
_gdal_wrap_compute_proximity(int argc, VALUE *argv, VALUE self) {
|
15097
15365
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15098
15366
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
15099
15367
|
char **arg3 = (char **) NULL ;
|
@@ -15106,7 +15374,7 @@ _wrap_compute_proximity(int argc, VALUE *argv, VALUE self) {
|
|
15106
15374
|
void *argp4 ;
|
15107
15375
|
int res4 = 0 ;
|
15108
15376
|
int res5 ;
|
15109
|
-
char *kwnames[] = {
|
15377
|
+
const char *kwnames[] = {
|
15110
15378
|
"srcBand","proximityBand","options","callback","callback_data", NULL
|
15111
15379
|
};
|
15112
15380
|
int result;
|
@@ -15207,7 +15475,7 @@ fail:
|
|
15207
15475
|
|
15208
15476
|
|
15209
15477
|
SWIGINTERN VALUE
|
15210
|
-
|
15478
|
+
_gdal_wrap_rasterize_layer(int argc, VALUE *argv, VALUE self) {
|
15211
15479
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
15212
15480
|
int arg2 ;
|
15213
15481
|
int *arg3 = (int *) 0 ;
|
@@ -15232,7 +15500,7 @@ _wrap_rasterize_layer(int argc, VALUE *argv, VALUE self) {
|
|
15232
15500
|
void *argp10 ;
|
15233
15501
|
int res10 = 0 ;
|
15234
15502
|
int res11 ;
|
15235
|
-
char *kwnames[] = {
|
15503
|
+
const char *kwnames[] = {
|
15236
15504
|
"dataset","bands","layer","pfnTransformer","pTransformArg","burn_values","burn_values_list","options","callback","callback_data", NULL
|
15237
15505
|
};
|
15238
15506
|
int result;
|
@@ -15390,7 +15658,7 @@ fail:
|
|
15390
15658
|
|
15391
15659
|
|
15392
15660
|
SWIGINTERN VALUE
|
15393
|
-
|
15661
|
+
_gdal_wrap_polygonize(int argc, VALUE *argv, VALUE self) {
|
15394
15662
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15395
15663
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
15396
15664
|
OGRLayerShadow *arg3 = (OGRLayerShadow *) 0 ;
|
@@ -15409,7 +15677,7 @@ _wrap_polygonize(int argc, VALUE *argv, VALUE self) {
|
|
15409
15677
|
void *argp6 ;
|
15410
15678
|
int res6 = 0 ;
|
15411
15679
|
int res7 ;
|
15412
|
-
char *kwnames[] = {
|
15680
|
+
const char *kwnames[] = {
|
15413
15681
|
"srcBand","maskBand","outLayer","iPixValField","options","callback","callback_data", NULL
|
15414
15682
|
};
|
15415
15683
|
int result;
|
@@ -15520,7 +15788,7 @@ fail:
|
|
15520
15788
|
|
15521
15789
|
|
15522
15790
|
SWIGINTERN VALUE
|
15523
|
-
|
15791
|
+
_gdal_wrap_fill_nodata(int argc, VALUE *argv, VALUE self) {
|
15524
15792
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15525
15793
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
15526
15794
|
double arg3 ;
|
@@ -15539,7 +15807,7 @@ _wrap_fill_nodata(int argc, VALUE *argv, VALUE self) {
|
|
15539
15807
|
void *argp6 ;
|
15540
15808
|
int res6 = 0 ;
|
15541
15809
|
int res7 ;
|
15542
|
-
char *kwnames[] = {
|
15810
|
+
const char *kwnames[] = {
|
15543
15811
|
"targetBand","maskBand","maxSearchDist","smoothingIterations","options","callback","callback_data", NULL
|
15544
15812
|
};
|
15545
15813
|
int result;
|
@@ -15645,7 +15913,7 @@ fail:
|
|
15645
15913
|
|
15646
15914
|
|
15647
15915
|
SWIGINTERN VALUE
|
15648
|
-
|
15916
|
+
_gdal_wrap_sieve_filter(int argc, VALUE *argv, VALUE self) {
|
15649
15917
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15650
15918
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
15651
15919
|
GDALRasterBandShadow *arg3 = (GDALRasterBandShadow *) 0 ;
|
@@ -15667,7 +15935,7 @@ _wrap_sieve_filter(int argc, VALUE *argv, VALUE self) {
|
|
15667
15935
|
void *argp7 ;
|
15668
15936
|
int res7 = 0 ;
|
15669
15937
|
int res8 ;
|
15670
|
-
char *kwnames[] = {
|
15938
|
+
const char *kwnames[] = {
|
15671
15939
|
"srcBand","maskBand","dstBand","threshold","connectedness","options","callback","callback_data", NULL
|
15672
15940
|
};
|
15673
15941
|
int result;
|
@@ -15785,7 +16053,7 @@ fail:
|
|
15785
16053
|
|
15786
16054
|
|
15787
16055
|
SWIGINTERN VALUE
|
15788
|
-
|
16056
|
+
_gdal_wrap_regenerate_overviews(int argc, VALUE *argv, VALUE self) {
|
15789
16057
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15790
16058
|
int arg2 ;
|
15791
16059
|
GDALRasterBandShadow **arg3 = (GDALRasterBandShadow **) 0 ;
|
@@ -15804,7 +16072,7 @@ _wrap_regenerate_overviews(int argc, VALUE *argv, VALUE self) {
|
|
15804
16072
|
void *argp5 ;
|
15805
16073
|
int res5 = 0 ;
|
15806
16074
|
int res6 ;
|
15807
|
-
char *kwnames[] = {
|
16075
|
+
const char *kwnames[] = {
|
15808
16076
|
"srcBand","overviewBandCount","overviewBands","resampling","callback","callback_data", NULL
|
15809
16077
|
};
|
15810
16078
|
int result;
|
@@ -15889,7 +16157,7 @@ fail:
|
|
15889
16157
|
|
15890
16158
|
|
15891
16159
|
SWIGINTERN VALUE
|
15892
|
-
|
16160
|
+
_gdal_wrap_regenerate_overview(int argc, VALUE *argv, VALUE self) {
|
15893
16161
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15894
16162
|
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
15895
16163
|
char *arg3 = (char *) "average" ;
|
@@ -15905,7 +16173,7 @@ _wrap_regenerate_overview(int argc, VALUE *argv, VALUE self) {
|
|
15905
16173
|
void *argp4 ;
|
15906
16174
|
int res4 = 0 ;
|
15907
16175
|
int res5 ;
|
15908
|
-
char *kwnames[] = {
|
16176
|
+
const char *kwnames[] = {
|
15909
16177
|
"srcBand","overviewBand","resampling","callback","callback_data", NULL
|
15910
16178
|
};
|
15911
16179
|
int result;
|
@@ -15990,7 +16258,7 @@ fail:
|
|
15990
16258
|
|
15991
16259
|
|
15992
16260
|
SWIGINTERN VALUE
|
15993
|
-
|
16261
|
+
_gdal_wrap_contour_generate(int argc, VALUE *argv, VALUE self) {
|
15994
16262
|
GDALRasterBandShadow *arg1 = (GDALRasterBandShadow *) 0 ;
|
15995
16263
|
double arg2 ;
|
15996
16264
|
double arg3 ;
|
@@ -16026,7 +16294,7 @@ _wrap_contour_generate(int argc, VALUE *argv, VALUE self) {
|
|
16026
16294
|
void *argp11 ;
|
16027
16295
|
int res11 = 0 ;
|
16028
16296
|
int res12 ;
|
16029
|
-
char *kwnames[] = {
|
16297
|
+
const char *kwnames[] = {
|
16030
16298
|
"srcBand","contourInterval","contourBase","fixedLevelCount","fixedLevels","useNoData","noDataValue","dstLayer","idField","elevField","callback","callback_data", NULL
|
16031
16299
|
};
|
16032
16300
|
int result;
|
@@ -16142,7 +16410,7 @@ fail:
|
|
16142
16410
|
|
16143
16411
|
|
16144
16412
|
SWIGINTERN VALUE
|
16145
|
-
|
16413
|
+
_gdal_wrap_auto_create_warped_vrt(int argc, VALUE *argv, VALUE self) {
|
16146
16414
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
16147
16415
|
char *arg2 = (char *) 0 ;
|
16148
16416
|
char *arg3 = (char *) 0 ;
|
@@ -16232,14 +16500,14 @@ fail:
|
|
16232
16500
|
}
|
16233
16501
|
|
16234
16502
|
|
16235
|
-
swig_class SwigClassTransformer;
|
16503
|
+
static swig_class SwigClassTransformer;
|
16236
16504
|
|
16237
16505
|
#ifdef HAVE_RB_DEFINE_ALLOC_FUNC
|
16238
16506
|
SWIGINTERN VALUE
|
16239
|
-
|
16507
|
+
_gdal_wrap_Transformer_allocate(VALUE self) {
|
16240
16508
|
#else
|
16241
16509
|
SWIGINTERN VALUE
|
16242
|
-
|
16510
|
+
_gdal_wrap_Transformer_allocate(int argc, VALUE *argv, VALUE self) {
|
16243
16511
|
#endif
|
16244
16512
|
|
16245
16513
|
|
@@ -16252,7 +16520,7 @@ _wrap_Transformer_allocate(VALUE self) {
|
|
16252
16520
|
|
16253
16521
|
|
16254
16522
|
SWIGINTERN VALUE
|
16255
|
-
|
16523
|
+
_gdal_wrap_new_Transformer(int argc, VALUE *argv, VALUE self) {
|
16256
16524
|
GDALDatasetShadow *arg1 = (GDALDatasetShadow *) 0 ;
|
16257
16525
|
GDALDatasetShadow *arg2 = (GDALDatasetShadow *) 0 ;
|
16258
16526
|
char **arg3 = (char **) 0 ;
|
@@ -16334,7 +16602,7 @@ free_GDALTransformerInfoShadow(GDALTransformerInfoShadow *arg1) {
|
|
16334
16602
|
}
|
16335
16603
|
|
16336
16604
|
SWIGINTERN VALUE
|
16337
|
-
|
16605
|
+
_gdal_wrap_Transformer_transform_point__SWIG_0(int argc, VALUE *argv, VALUE self) {
|
16338
16606
|
GDALTransformerInfoShadow *arg1 = (GDALTransformerInfoShadow *) 0 ;
|
16339
16607
|
int arg2 ;
|
16340
16608
|
double *arg3 ;
|
@@ -16423,7 +16691,7 @@ fail:
|
|
16423
16691
|
|
16424
16692
|
|
16425
16693
|
SWIGINTERN VALUE
|
16426
|
-
|
16694
|
+
_gdal_wrap_Transformer_transform_point__SWIG_1(int argc, VALUE *argv, VALUE self) {
|
16427
16695
|
GDALTransformerInfoShadow *arg1 = (GDALTransformerInfoShadow *) 0 ;
|
16428
16696
|
double *arg2 ;
|
16429
16697
|
int arg3 ;
|
@@ -16518,7 +16786,7 @@ fail:
|
|
16518
16786
|
}
|
16519
16787
|
|
16520
16788
|
|
16521
|
-
SWIGINTERN VALUE
|
16789
|
+
SWIGINTERN VALUE _gdal_wrap_Transformer_transform_point(int nargs, VALUE *args, VALUE self) {
|
16522
16790
|
int argc;
|
16523
16791
|
VALUE argv[6];
|
16524
16792
|
int ii;
|
@@ -16544,7 +16812,7 @@ SWIGINTERN VALUE _wrap_Transformer_transform_point(int nargs, VALUE *args, VALUE
|
|
16544
16812
|
int res = SWIG_ConvertPtr(argv[2], &vptr, SWIGTYPE_p_double, 0);
|
16545
16813
|
_v = SWIG_CheckState(res);
|
16546
16814
|
if (_v) {
|
16547
|
-
return
|
16815
|
+
return _gdal_wrap_Transformer_transform_point__SWIG_0(nargs, args, self);
|
16548
16816
|
}
|
16549
16817
|
}
|
16550
16818
|
}
|
@@ -16571,14 +16839,14 @@ SWIGINTERN VALUE _wrap_Transformer_transform_point(int nargs, VALUE *args, VALUE
|
|
16571
16839
|
}
|
16572
16840
|
if (_v) {
|
16573
16841
|
if (argc <= 4) {
|
16574
|
-
return
|
16842
|
+
return _gdal_wrap_Transformer_transform_point__SWIG_1(nargs, args, self);
|
16575
16843
|
}
|
16576
16844
|
{
|
16577
16845
|
int res = SWIG_AsVal_double(argv[4], NULL);
|
16578
16846
|
_v = SWIG_CheckState(res);
|
16579
16847
|
}
|
16580
16848
|
if (_v) {
|
16581
|
-
return
|
16849
|
+
return _gdal_wrap_Transformer_transform_point__SWIG_1(nargs, args, self);
|
16582
16850
|
}
|
16583
16851
|
}
|
16584
16852
|
}
|
@@ -16596,7 +16864,7 @@ fail:
|
|
16596
16864
|
|
16597
16865
|
|
16598
16866
|
SWIGINTERN VALUE
|
16599
|
-
|
16867
|
+
_gdal_wrap_Transformer_transform_points(int argc, VALUE *argv, VALUE self) {
|
16600
16868
|
GDALTransformerInfoShadow *arg1 = (GDALTransformerInfoShadow *) 0 ;
|
16601
16869
|
int arg2 ;
|
16602
16870
|
int arg3 ;
|
@@ -16687,7 +16955,142 @@ fail:
|
|
16687
16955
|
|
16688
16956
|
|
16689
16957
|
SWIGINTERN VALUE
|
16690
|
-
|
16958
|
+
_gdal_wrap_Transformer_transform_geolocations(int argc, VALUE *argv, VALUE self) {
|
16959
|
+
GDALTransformerInfoShadow *arg1 = (GDALTransformerInfoShadow *) 0 ;
|
16960
|
+
GDALRasterBandShadow *arg2 = (GDALRasterBandShadow *) 0 ;
|
16961
|
+
GDALRasterBandShadow *arg3 = (GDALRasterBandShadow *) 0 ;
|
16962
|
+
GDALRasterBandShadow *arg4 = (GDALRasterBandShadow *) 0 ;
|
16963
|
+
GDALProgressFunc arg5 = (GDALProgressFunc) NULL ;
|
16964
|
+
void *arg6 = (void *) NULL ;
|
16965
|
+
char **arg7 = (char **) NULL ;
|
16966
|
+
void *argp1 = 0 ;
|
16967
|
+
int res1 = 0 ;
|
16968
|
+
void *argp2 = 0 ;
|
16969
|
+
int res2 = 0 ;
|
16970
|
+
void *argp3 = 0 ;
|
16971
|
+
int res3 = 0 ;
|
16972
|
+
void *argp4 = 0 ;
|
16973
|
+
int res4 = 0 ;
|
16974
|
+
void *argp5 ;
|
16975
|
+
int res5 = 0 ;
|
16976
|
+
int res6 ;
|
16977
|
+
const char *kwnames[] = {
|
16978
|
+
"self","xBand","yBand","zBand","callback","callback_data","options", NULL
|
16979
|
+
};
|
16980
|
+
int result;
|
16981
|
+
VALUE vresult = Qnil;
|
16982
|
+
|
16983
|
+
if ((argc < 3) || (argc > 6)) {
|
16984
|
+
rb_raise(rb_eArgError, "wrong # of arguments(%d for 3)",argc); SWIG_fail;
|
16985
|
+
}
|
16986
|
+
res1 = SWIG_ConvertPtr(self, &argp1,SWIGTYPE_p_GDALTransformerInfoShadow, 0 | 0 );
|
16987
|
+
if (!SWIG_IsOK(res1)) {
|
16988
|
+
SWIG_exception_fail(SWIG_ArgError(res1), Ruby_Format_TypeError( "", "GDALTransformerInfoShadow *","TransformGeolocations", 1, self ));
|
16989
|
+
}
|
16990
|
+
arg1 = reinterpret_cast< GDALTransformerInfoShadow * >(argp1);
|
16991
|
+
res2 = SWIG_ConvertPtr(argv[0], &argp2,SWIGTYPE_p_GDALRasterBandShadow, 0 | 0 );
|
16992
|
+
if (!SWIG_IsOK(res2)) {
|
16993
|
+
SWIG_exception_fail(SWIG_ArgError(res2), Ruby_Format_TypeError( "", "GDALRasterBandShadow *","TransformGeolocations", 2, argv[0] ));
|
16994
|
+
}
|
16995
|
+
arg2 = reinterpret_cast< GDALRasterBandShadow * >(argp2);
|
16996
|
+
res3 = SWIG_ConvertPtr(argv[1], &argp3,SWIGTYPE_p_GDALRasterBandShadow, 0 | 0 );
|
16997
|
+
if (!SWIG_IsOK(res3)) {
|
16998
|
+
SWIG_exception_fail(SWIG_ArgError(res3), Ruby_Format_TypeError( "", "GDALRasterBandShadow *","TransformGeolocations", 3, argv[1] ));
|
16999
|
+
}
|
17000
|
+
arg3 = reinterpret_cast< GDALRasterBandShadow * >(argp3);
|
17001
|
+
res4 = SWIG_ConvertPtr(argv[2], &argp4,SWIGTYPE_p_GDALRasterBandShadow, 0 | 0 );
|
17002
|
+
if (!SWIG_IsOK(res4)) {
|
17003
|
+
SWIG_exception_fail(SWIG_ArgError(res4), Ruby_Format_TypeError( "", "GDALRasterBandShadow *","TransformGeolocations", 4, argv[2] ));
|
17004
|
+
}
|
17005
|
+
arg4 = reinterpret_cast< GDALRasterBandShadow * >(argp4);
|
17006
|
+
if (argc > 3) {
|
17007
|
+
{
|
17008
|
+
res5 = SWIG_ConvertPtr(argv[3], &argp5, SWIGTYPE_p_GDALProgressFunc, 0 );
|
17009
|
+
if (!SWIG_IsOK(res5)) {
|
17010
|
+
SWIG_exception_fail(SWIG_ArgError(res5), Ruby_Format_TypeError( "", "GDALProgressFunc","TransformGeolocations", 5, argv[3] ));
|
17011
|
+
}
|
17012
|
+
if (!argp5) {
|
17013
|
+
SWIG_exception_fail(SWIG_ValueError, Ruby_Format_TypeError("invalid null reference ", "GDALProgressFunc","TransformGeolocations", 5, argv[3]));
|
17014
|
+
} else {
|
17015
|
+
arg5 = *(reinterpret_cast< GDALProgressFunc * >(argp5));
|
17016
|
+
}
|
17017
|
+
}
|
17018
|
+
}
|
17019
|
+
if (argc > 4) {
|
17020
|
+
res6 = SWIG_ConvertPtr(argv[4],SWIG_as_voidptrptr(&arg6), 0, 0);
|
17021
|
+
if (!SWIG_IsOK(res6)) {
|
17022
|
+
SWIG_exception_fail(SWIG_ArgError(res6), Ruby_Format_TypeError( "", "void *","TransformGeolocations", 6, argv[4] ));
|
17023
|
+
}
|
17024
|
+
}
|
17025
|
+
if (argc > 5) {
|
17026
|
+
{
|
17027
|
+
/* %typemap(in) char **options */
|
17028
|
+
|
17029
|
+
/* Check if is a list */
|
17030
|
+
Check_Type(argv[5], T_ARRAY);
|
17031
|
+
|
17032
|
+
int size = RARRAY_LEN(argv[5]);
|
17033
|
+
for (int i = 0; i < size; i++) {
|
17034
|
+
VALUE item = rb_ary_entry(argv[5], i);
|
17035
|
+
char *pszItem = StringValuePtr(item);
|
17036
|
+
arg7 = CSLAddString( arg7, pszItem );
|
17037
|
+
}
|
17038
|
+
}
|
17039
|
+
}
|
17040
|
+
{
|
17041
|
+
if (!arg2) {
|
17042
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
|
17043
|
+
}
|
17044
|
+
}
|
17045
|
+
{
|
17046
|
+
if (!arg3) {
|
17047
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
|
17048
|
+
}
|
17049
|
+
}
|
17050
|
+
{
|
17051
|
+
if (!arg4) {
|
17052
|
+
SWIG_exception(SWIG_ValueError,"Received a NULL pointer.");
|
17053
|
+
}
|
17054
|
+
}
|
17055
|
+
{
|
17056
|
+
CPLErrorReset();
|
17057
|
+
result = (int)GDALTransformerInfoShadow_TransformGeolocations(arg1,arg2,arg3,arg4,arg5,arg6,arg7);
|
17058
|
+
CPLErr eclass = CPLGetLastErrorType();
|
17059
|
+
if ( eclass == CE_Failure || eclass == CE_Fatal ) {
|
17060
|
+
SWIG_exception( SWIG_RuntimeError, CPLGetLastErrorMsg() );
|
17061
|
+
|
17062
|
+
}
|
17063
|
+
|
17064
|
+
|
17065
|
+
|
17066
|
+
|
17067
|
+
|
17068
|
+
|
17069
|
+
|
17070
|
+
|
17071
|
+
|
17072
|
+
|
17073
|
+
|
17074
|
+
}
|
17075
|
+
vresult = SWIG_From_int(static_cast< int >(result));
|
17076
|
+
{
|
17077
|
+
/* %typemap(freearg) char **options */
|
17078
|
+
|
17079
|
+
CSLDestroy( arg7 );
|
17080
|
+
}
|
17081
|
+
return vresult;
|
17082
|
+
fail:
|
17083
|
+
{
|
17084
|
+
/* %typemap(freearg) char **options */
|
17085
|
+
|
17086
|
+
CSLDestroy( arg7 );
|
17087
|
+
}
|
17088
|
+
return Qnil;
|
17089
|
+
}
|
17090
|
+
|
17091
|
+
|
17092
|
+
SWIGINTERN VALUE
|
17093
|
+
_gdal_wrap_gdalapply_geo_transform(int argc, VALUE *argv, VALUE self) {
|
16691
17094
|
double *arg1 ;
|
16692
17095
|
double arg2 ;
|
16693
17096
|
double arg3 ;
|
@@ -16782,7 +17185,7 @@ fail:
|
|
16782
17185
|
|
16783
17186
|
|
16784
17187
|
SWIGINTERN VALUE
|
16785
|
-
|
17188
|
+
_gdal_wrap_gdalinv_geo_transform(int argc, VALUE *argv, VALUE self) {
|
16786
17189
|
double *arg1 ;
|
16787
17190
|
double *arg2 ;
|
16788
17191
|
double temp1[6] ;
|
@@ -16861,7 +17264,7 @@ fail:
|
|
16861
17264
|
|
16862
17265
|
|
16863
17266
|
SWIGINTERN VALUE
|
16864
|
-
|
17267
|
+
_gdal_wrap_gdalversion_info(int argc, VALUE *argv, VALUE self) {
|
16865
17268
|
char *arg1 = (char *) "VERSION_NUM" ;
|
16866
17269
|
int res1 ;
|
16867
17270
|
char *buf1 = 0 ;
|
@@ -16909,7 +17312,7 @@ fail:
|
|
16909
17312
|
|
16910
17313
|
|
16911
17314
|
SWIGINTERN VALUE
|
16912
|
-
|
17315
|
+
_gdal_wrap_all_register(int argc, VALUE *argv, VALUE self) {
|
16913
17316
|
if ((argc < 0) || (argc > 0)) {
|
16914
17317
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
16915
17318
|
}
|
@@ -16940,7 +17343,7 @@ fail:
|
|
16940
17343
|
|
16941
17344
|
|
16942
17345
|
SWIGINTERN VALUE
|
16943
|
-
|
17346
|
+
_gdal_wrap_gdaldestroy_driver_manager(int argc, VALUE *argv, VALUE self) {
|
16944
17347
|
if ((argc < 0) || (argc > 0)) {
|
16945
17348
|
rb_raise(rb_eArgError, "wrong # of arguments(%d for 0)",argc); SWIG_fail;
|
16946
17349
|
}
|
@@ -16971,7 +17374,7 @@ fail:
|
|
16971
17374
|
|
16972
17375
|
|
16973
17376
|
SWIGINTERN VALUE
|
16974
|
-
|
17377
|
+
_gdal_wrap_get_cache_max(int argc, VALUE *argv, VALUE self) {
|
16975
17378
|
int result;
|
16976
17379
|
VALUE vresult = Qnil;
|
16977
17380
|
|
@@ -17006,7 +17409,7 @@ fail:
|
|
17006
17409
|
|
17007
17410
|
|
17008
17411
|
SWIGINTERN VALUE
|
17009
|
-
|
17412
|
+
_gdal_wrap_get_cache_used(int argc, VALUE *argv, VALUE self) {
|
17010
17413
|
int result;
|
17011
17414
|
VALUE vresult = Qnil;
|
17012
17415
|
|
@@ -17041,7 +17444,7 @@ fail:
|
|
17041
17444
|
|
17042
17445
|
|
17043
17446
|
SWIGINTERN VALUE
|
17044
|
-
|
17447
|
+
_gdal_wrap_set_cache_max(int argc, VALUE *argv, VALUE self) {
|
17045
17448
|
int arg1 ;
|
17046
17449
|
int val1 ;
|
17047
17450
|
int ecode1 = 0 ;
|
@@ -17081,7 +17484,7 @@ fail:
|
|
17081
17484
|
|
17082
17485
|
|
17083
17486
|
SWIGINTERN VALUE
|
17084
|
-
|
17487
|
+
_gdal_wrap_get_data_type_size(int argc, VALUE *argv, VALUE self) {
|
17085
17488
|
GDALDataType arg1 ;
|
17086
17489
|
int result;
|
17087
17490
|
VALUE vresult = Qnil;
|
@@ -17121,7 +17524,7 @@ fail:
|
|
17121
17524
|
|
17122
17525
|
|
17123
17526
|
SWIGINTERN VALUE
|
17124
|
-
|
17527
|
+
_gdal_wrap_data_type_is_complex(int argc, VALUE *argv, VALUE self) {
|
17125
17528
|
GDALDataType arg1 ;
|
17126
17529
|
int result;
|
17127
17530
|
VALUE vresult = Qnil;
|
@@ -17161,7 +17564,7 @@ fail:
|
|
17161
17564
|
|
17162
17565
|
|
17163
17566
|
SWIGINTERN VALUE
|
17164
|
-
|
17567
|
+
_gdal_wrap_get_data_type_name(int argc, VALUE *argv, VALUE self) {
|
17165
17568
|
GDALDataType arg1 ;
|
17166
17569
|
char *result = 0 ;
|
17167
17570
|
VALUE vresult = Qnil;
|
@@ -17201,7 +17604,7 @@ fail:
|
|
17201
17604
|
|
17202
17605
|
|
17203
17606
|
SWIGINTERN VALUE
|
17204
|
-
|
17607
|
+
_gdal_wrap_get_data_type_by_name(int argc, VALUE *argv, VALUE self) {
|
17205
17608
|
char *arg1 = (char *) 0 ;
|
17206
17609
|
int res1 ;
|
17207
17610
|
char *buf1 = 0 ;
|
@@ -17247,7 +17650,7 @@ fail:
|
|
17247
17650
|
|
17248
17651
|
|
17249
17652
|
SWIGINTERN VALUE
|
17250
|
-
|
17653
|
+
_gdal_wrap_get_color_interpretation_name(int argc, VALUE *argv, VALUE self) {
|
17251
17654
|
GDALColorInterp arg1 ;
|
17252
17655
|
char *result = 0 ;
|
17253
17656
|
VALUE vresult = Qnil;
|
@@ -17287,7 +17690,7 @@ fail:
|
|
17287
17690
|
|
17288
17691
|
|
17289
17692
|
SWIGINTERN VALUE
|
17290
|
-
|
17693
|
+
_gdal_wrap_get_palette_interpretation_name(int argc, VALUE *argv, VALUE self) {
|
17291
17694
|
GDALPaletteInterp arg1 ;
|
17292
17695
|
char *result = 0 ;
|
17293
17696
|
VALUE vresult = Qnil;
|
@@ -17327,7 +17730,7 @@ fail:
|
|
17327
17730
|
|
17328
17731
|
|
17329
17732
|
SWIGINTERN VALUE
|
17330
|
-
|
17733
|
+
_gdal_wrap_dec_to_dms(int argc, VALUE *argv, VALUE self) {
|
17331
17734
|
double arg1 ;
|
17332
17735
|
char *arg2 = (char *) 0 ;
|
17333
17736
|
int arg3 = (int) 2 ;
|
@@ -17391,7 +17794,7 @@ fail:
|
|
17391
17794
|
|
17392
17795
|
|
17393
17796
|
SWIGINTERN VALUE
|
17394
|
-
|
17797
|
+
_gdal_wrap_packed_dms_to_dec(int argc, VALUE *argv, VALUE self) {
|
17395
17798
|
double arg1 ;
|
17396
17799
|
double val1 ;
|
17397
17800
|
int ecode1 = 0 ;
|
@@ -17434,7 +17837,7 @@ fail:
|
|
17434
17837
|
|
17435
17838
|
|
17436
17839
|
SWIGINTERN VALUE
|
17437
|
-
|
17840
|
+
_gdal_wrap_dec_to_packed_dms(int argc, VALUE *argv, VALUE self) {
|
17438
17841
|
double arg1 ;
|
17439
17842
|
double val1 ;
|
17440
17843
|
int ecode1 = 0 ;
|
@@ -17477,7 +17880,7 @@ fail:
|
|
17477
17880
|
|
17478
17881
|
|
17479
17882
|
SWIGINTERN VALUE
|
17480
|
-
|
17883
|
+
_gdal_wrap_parse_xml_string(int argc, VALUE *argv, VALUE self) {
|
17481
17884
|
char *arg1 = (char *) 0 ;
|
17482
17885
|
int res1 ;
|
17483
17886
|
char *buf1 = 0 ;
|
@@ -17532,7 +17935,7 @@ fail:
|
|
17532
17935
|
|
17533
17936
|
|
17534
17937
|
SWIGINTERN VALUE
|
17535
|
-
|
17938
|
+
_gdal_wrap_serialize_xml_tree(int argc, VALUE *argv, VALUE self) {
|
17536
17939
|
CPLXMLNode *arg1 = (CPLXMLNode *) 0 ;
|
17537
17940
|
char *result = 0 ;
|
17538
17941
|
VALUE vresult = Qnil;
|
@@ -17590,7 +17993,7 @@ fail:
|
|
17590
17993
|
|
17591
17994
|
|
17592
17995
|
SWIGINTERN VALUE
|
17593
|
-
|
17996
|
+
_gdal_wrap_get_driver_count(int argc, VALUE *argv, VALUE self) {
|
17594
17997
|
int result;
|
17595
17998
|
VALUE vresult = Qnil;
|
17596
17999
|
|
@@ -17625,7 +18028,7 @@ fail:
|
|
17625
18028
|
|
17626
18029
|
|
17627
18030
|
SWIGINTERN VALUE
|
17628
|
-
|
18031
|
+
_gdal_wrap_get_driver_by_name(int argc, VALUE *argv, VALUE self) {
|
17629
18032
|
char *arg1 = (char *) 0 ;
|
17630
18033
|
int res1 ;
|
17631
18034
|
char *buf1 = 0 ;
|
@@ -17676,7 +18079,7 @@ fail:
|
|
17676
18079
|
|
17677
18080
|
|
17678
18081
|
SWIGINTERN VALUE
|
17679
|
-
|
18082
|
+
_gdal_wrap_get_driver(int argc, VALUE *argv, VALUE self) {
|
17680
18083
|
int arg1 ;
|
17681
18084
|
int val1 ;
|
17682
18085
|
int ecode1 = 0 ;
|
@@ -17719,7 +18122,7 @@ fail:
|
|
17719
18122
|
|
17720
18123
|
|
17721
18124
|
SWIGINTERN VALUE
|
17722
|
-
|
18125
|
+
_gdal_wrap_open(int argc, VALUE *argv, VALUE self) {
|
17723
18126
|
char *arg1 = (char *) 0 ;
|
17724
18127
|
GDALAccess arg2 = (GDALAccess) GA_ReadOnly ;
|
17725
18128
|
int res1 ;
|
@@ -17772,7 +18175,7 @@ fail:
|
|
17772
18175
|
|
17773
18176
|
|
17774
18177
|
SWIGINTERN VALUE
|
17775
|
-
|
18178
|
+
_gdal_wrap_open_shared(int argc, VALUE *argv, VALUE self) {
|
17776
18179
|
char *arg1 = (char *) 0 ;
|
17777
18180
|
GDALAccess arg2 = (GDALAccess) GA_ReadOnly ;
|
17778
18181
|
int res1 ;
|
@@ -17825,7 +18228,7 @@ fail:
|
|
17825
18228
|
|
17826
18229
|
|
17827
18230
|
SWIGINTERN VALUE
|
17828
|
-
|
18231
|
+
_gdal_wrap_identify_driver(int argc, VALUE *argv, VALUE self) {
|
17829
18232
|
char *arg1 = (char *) 0 ;
|
17830
18233
|
char **arg2 = (char **) NULL ;
|
17831
18234
|
int res1 ;
|
@@ -17897,7 +18300,7 @@ fail:
|
|
17897
18300
|
|
17898
18301
|
|
17899
18302
|
SWIGINTERN VALUE
|
17900
|
-
|
18303
|
+
_gdal_wrap_general_cmd_line_processor(int argc, VALUE *argv, VALUE self) {
|
17901
18304
|
char **arg1 = (char **) 0 ;
|
17902
18305
|
int arg2 = (int) 0 ;
|
17903
18306
|
int val2 ;
|
@@ -18097,18 +18500,18 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
18097
18500
|
|
18098
18501
|
/* -----------------------------------------------------------------------------
|
18099
18502
|
* Type initialization:
|
18100
|
-
* This problem is tough by the requirement that no dynamic
|
18101
|
-
* memory is used. Also, since swig_type_info structures store pointers to
|
18503
|
+
* This problem is tough by the requirement that no dynamic
|
18504
|
+
* memory is used. Also, since swig_type_info structures store pointers to
|
18102
18505
|
* swig_cast_info structures and swig_cast_info structures store pointers back
|
18103
|
-
* to swig_type_info structures, we need some lookup code at initialization.
|
18104
|
-
* The idea is that swig generates all the structures that are needed.
|
18105
|
-
* The runtime then collects these partially filled structures.
|
18106
|
-
* The SWIG_InitializeModule function takes these initial arrays out of
|
18506
|
+
* to swig_type_info structures, we need some lookup code at initialization.
|
18507
|
+
* The idea is that swig generates all the structures that are needed.
|
18508
|
+
* The runtime then collects these partially filled structures.
|
18509
|
+
* The SWIG_InitializeModule function takes these initial arrays out of
|
18107
18510
|
* swig_module, and does all the lookup, filling in the swig_module.types
|
18108
18511
|
* array with the correct data and linking the correct swig_cast_info
|
18109
18512
|
* structures together.
|
18110
18513
|
*
|
18111
|
-
* The generated swig_type_info structures are assigned
|
18514
|
+
* The generated swig_type_info structures are assigned statically to an initial
|
18112
18515
|
* array. We just loop through that array, and handle each type individually.
|
18113
18516
|
* First we lookup if this type has been already loaded, and if so, use the
|
18114
18517
|
* loaded structure instead of the generated one. Then we have to fill in the
|
@@ -18118,17 +18521,17 @@ static swig_cast_info *swig_cast_initial[] = {
|
|
18118
18521
|
* a column is one of the swig_cast_info structures for that type.
|
18119
18522
|
* The cast_initial array is actually an array of arrays, because each row has
|
18120
18523
|
* a variable number of columns. So to actually build the cast linked list,
|
18121
|
-
* we find the array of casts associated with the type, and loop through it
|
18524
|
+
* we find the array of casts associated with the type, and loop through it
|
18122
18525
|
* adding the casts to the list. The one last trick we need to do is making
|
18123
18526
|
* sure the type pointer in the swig_cast_info struct is correct.
|
18124
18527
|
*
|
18125
|
-
* First off, we lookup the cast->type name to see if it is already loaded.
|
18528
|
+
* First off, we lookup the cast->type name to see if it is already loaded.
|
18126
18529
|
* There are three cases to handle:
|
18127
18530
|
* 1) If the cast->type has already been loaded AND the type we are adding
|
18128
18531
|
* casting info to has not been loaded (it is in this module), THEN we
|
18129
18532
|
* replace the cast->type pointer with the type pointer that has already
|
18130
18533
|
* been loaded.
|
18131
|
-
* 2) If BOTH types (the one we are adding casting info to, and the
|
18534
|
+
* 2) If BOTH types (the one we are adding casting info to, and the
|
18132
18535
|
* cast->type) are loaded, THEN the cast info has already been loaded by
|
18133
18536
|
* the previous module so we just ignore it.
|
18134
18537
|
* 3) Finally, if cast->type has not already been loaded, then we add that
|
@@ -18152,9 +18555,7 @@ SWIGRUNTIME void
|
|
18152
18555
|
SWIG_InitializeModule(void *clientdata) {
|
18153
18556
|
size_t i;
|
18154
18557
|
swig_module_info *module_head, *iter;
|
18155
|
-
int
|
18156
|
-
|
18157
|
-
clientdata = clientdata;
|
18558
|
+
int init;
|
18158
18559
|
|
18159
18560
|
/* check to see if the circular list has been setup, if not, set it up */
|
18160
18561
|
if (swig_module.next==0) {
|
@@ -18173,27 +18574,23 @@ SWIG_InitializeModule(void *clientdata) {
|
|
18173
18574
|
/* This is the first module loaded for this interpreter */
|
18174
18575
|
/* so set the swig module into the interpreter */
|
18175
18576
|
SWIG_SetModule(clientdata, &swig_module);
|
18176
|
-
module_head = &swig_module;
|
18177
18577
|
} else {
|
18178
18578
|
/* the interpreter has loaded a SWIG module, but has it loaded this one? */
|
18179
|
-
found=0;
|
18180
18579
|
iter=module_head;
|
18181
18580
|
do {
|
18182
18581
|
if (iter==&swig_module) {
|
18183
|
-
|
18184
|
-
|
18582
|
+
/* Our module is already in the list, so there's nothing more to do. */
|
18583
|
+
return;
|
18185
18584
|
}
|
18186
18585
|
iter=iter->next;
|
18187
18586
|
} while (iter!= module_head);
|
18188
18587
|
|
18189
|
-
/*
|
18190
|
-
if (found) return;
|
18191
|
-
/* otherwise we must add out module into the list */
|
18588
|
+
/* otherwise we must add our module into the list */
|
18192
18589
|
swig_module.next = module_head->next;
|
18193
18590
|
module_head->next = &swig_module;
|
18194
18591
|
}
|
18195
18592
|
|
18196
|
-
/* When multiple
|
18593
|
+
/* When multiple interpreters are used, a module could have already been initialized in
|
18197
18594
|
a different interpreter, but not yet have a pointer in this interpreter.
|
18198
18595
|
In this case, we do not want to continue adding types... everything should be
|
18199
18596
|
set up already */
|
@@ -18207,7 +18604,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
18207
18604
|
swig_type_info *type = 0;
|
18208
18605
|
swig_type_info *ret;
|
18209
18606
|
swig_cast_info *cast;
|
18210
|
-
|
18607
|
+
|
18211
18608
|
#ifdef SWIGRUNTIME_DEBUG
|
18212
18609
|
printf("SWIG_InitializeModule: type %d %s\n", i, swig_module.type_initial[i]->name);
|
18213
18610
|
#endif
|
@@ -18234,7 +18631,7 @@ SWIG_InitializeModule(void *clientdata) {
|
|
18234
18631
|
/* Insert casting types */
|
18235
18632
|
cast = swig_module.cast_initial[i];
|
18236
18633
|
while (cast->type) {
|
18237
|
-
|
18634
|
+
|
18238
18635
|
/* Don't need to add information already in the list */
|
18239
18636
|
ret = 0;
|
18240
18637
|
#ifdef SWIGRUNTIME_DEBUG
|
@@ -18357,129 +18754,134 @@ SWIGEXPORT void Init_gdal(void) {
|
|
18357
18754
|
GDALAllRegister();
|
18358
18755
|
}
|
18359
18756
|
|
18360
|
-
rb_define_module_function(mGdal, "use_exceptions", VALUEFUNC(
|
18361
|
-
rb_define_module_function(mGdal, "dont_use_exceptions", VALUEFUNC(
|
18362
|
-
rb_define_module_function(mGdal, "debug", VALUEFUNC(
|
18363
|
-
rb_define_module_function(mGdal, "
|
18364
|
-
rb_define_module_function(mGdal, "
|
18365
|
-
rb_define_module_function(mGdal, "
|
18366
|
-
rb_define_module_function(mGdal, "
|
18367
|
-
rb_define_module_function(mGdal, "
|
18368
|
-
rb_define_module_function(mGdal, "
|
18369
|
-
rb_define_module_function(mGdal, "
|
18370
|
-
rb_define_module_function(mGdal, "
|
18371
|
-
rb_define_module_function(mGdal, "
|
18372
|
-
rb_define_module_function(mGdal, "
|
18373
|
-
rb_define_module_function(mGdal, "
|
18374
|
-
rb_define_module_function(mGdal, "
|
18375
|
-
rb_define_module_function(mGdal, "
|
18376
|
-
rb_define_module_function(mGdal, "
|
18377
|
-
rb_define_module_function(mGdal, "
|
18378
|
-
rb_define_module_function(mGdal, "
|
18379
|
-
rb_define_module_function(mGdal, "
|
18757
|
+
rb_define_module_function(mGdal, "use_exceptions", VALUEFUNC(_gdal_wrap_use_exceptions), -1);
|
18758
|
+
rb_define_module_function(mGdal, "dont_use_exceptions", VALUEFUNC(_gdal_wrap_dont_use_exceptions), -1);
|
18759
|
+
rb_define_module_function(mGdal, "debug", VALUEFUNC(_gdal_wrap_debug), -1);
|
18760
|
+
rb_define_module_function(mGdal, "set_error_handler", VALUEFUNC(_gdal_wrap_set_error_handler), -1);
|
18761
|
+
rb_define_module_function(mGdal, "error", VALUEFUNC(_gdal_wrap_error), -1);
|
18762
|
+
rb_define_module_function(mGdal, "goa_2get_authorization_url", VALUEFUNC(_gdal_wrap_goa_2get_authorization_url), -1);
|
18763
|
+
rb_define_module_function(mGdal, "goa_2get_refresh_token", VALUEFUNC(_gdal_wrap_goa_2get_refresh_token), -1);
|
18764
|
+
rb_define_module_function(mGdal, "goa_2get_access_token", VALUEFUNC(_gdal_wrap_goa_2get_access_token), -1);
|
18765
|
+
rb_define_module_function(mGdal, "push_error_handler", VALUEFUNC(_gdal_wrap_push_error_handler), -1);
|
18766
|
+
rb_define_module_function(mGdal, "pop_error_handler", VALUEFUNC(_gdal_wrap_pop_error_handler), -1);
|
18767
|
+
rb_define_module_function(mGdal, "error_reset", VALUEFUNC(_gdal_wrap_error_reset), -1);
|
18768
|
+
rb_define_module_function(mGdal, "escape_string", VALUEFUNC(_gdal_wrap_escape_string), -1);
|
18769
|
+
rb_define_module_function(mGdal, "get_last_error_no", VALUEFUNC(_gdal_wrap_get_last_error_no), -1);
|
18770
|
+
rb_define_module_function(mGdal, "get_last_error_type", VALUEFUNC(_gdal_wrap_get_last_error_type), -1);
|
18771
|
+
rb_define_module_function(mGdal, "get_last_error_msg", VALUEFUNC(_gdal_wrap_get_last_error_msg), -1);
|
18772
|
+
rb_define_module_function(mGdal, "push_finder_location", VALUEFUNC(_gdal_wrap_push_finder_location), -1);
|
18773
|
+
rb_define_module_function(mGdal, "pop_finder_location", VALUEFUNC(_gdal_wrap_pop_finder_location), -1);
|
18774
|
+
rb_define_module_function(mGdal, "finder_clean", VALUEFUNC(_gdal_wrap_finder_clean), -1);
|
18775
|
+
rb_define_module_function(mGdal, "find_file", VALUEFUNC(_gdal_wrap_find_file), -1);
|
18776
|
+
rb_define_module_function(mGdal, "read_dir", VALUEFUNC(_gdal_wrap_read_dir), -1);
|
18777
|
+
rb_define_module_function(mGdal, "read_dir_recursive", VALUEFUNC(_gdal_wrap_read_dir_recursive), -1);
|
18778
|
+
rb_define_module_function(mGdal, "set_config_option", VALUEFUNC(_gdal_wrap_set_config_option), -1);
|
18779
|
+
rb_define_module_function(mGdal, "get_config_option", VALUEFUNC(_gdal_wrap_get_config_option), -1);
|
18780
|
+
rb_define_module_function(mGdal, "binary_to_hex", VALUEFUNC(_gdal_wrap_binary_to_hex), -1);
|
18781
|
+
rb_define_module_function(mGdal, "hex_to_binary", VALUEFUNC(_gdal_wrap_hex_to_binary), -1);
|
18380
18782
|
|
18381
18783
|
SwigClassMajorObject.klass = rb_define_class_under(mGdal, "MajorObject", rb_cObject);
|
18382
18784
|
SWIG_TypeClientData(SWIGTYPE_p_GDALMajorObjectShadow, (void *) &SwigClassMajorObject);
|
18383
18785
|
rb_undef_alloc_func(SwigClassMajorObject.klass);
|
18384
|
-
rb_define_method(SwigClassMajorObject.klass, "get_description", VALUEFUNC(
|
18385
|
-
rb_define_method(SwigClassMajorObject.klass, "set_description", VALUEFUNC(
|
18386
|
-
rb_define_method(SwigClassMajorObject.klass, "get_metadata_dict", VALUEFUNC(
|
18387
|
-
rb_define_method(SwigClassMajorObject.klass, "get_metadata_list", VALUEFUNC(
|
18388
|
-
rb_define_method(SwigClassMajorObject.klass, "set_metadata", VALUEFUNC(
|
18389
|
-
rb_define_method(SwigClassMajorObject.klass, "get_metadata_item", VALUEFUNC(
|
18390
|
-
rb_define_method(SwigClassMajorObject.klass, "set_metadata_item", VALUEFUNC(
|
18786
|
+
rb_define_method(SwigClassMajorObject.klass, "get_description", VALUEFUNC(_gdal_wrap_MajorObject_get_description), -1);
|
18787
|
+
rb_define_method(SwigClassMajorObject.klass, "set_description", VALUEFUNC(_gdal_wrap_MajorObject_set_description), -1);
|
18788
|
+
rb_define_method(SwigClassMajorObject.klass, "get_metadata_dict", VALUEFUNC(_gdal_wrap_MajorObject_get_metadata_dict), -1);
|
18789
|
+
rb_define_method(SwigClassMajorObject.klass, "get_metadata_list", VALUEFUNC(_gdal_wrap_MajorObject_get_metadata_list), -1);
|
18790
|
+
rb_define_method(SwigClassMajorObject.klass, "set_metadata", VALUEFUNC(_gdal_wrap_MajorObject_set_metadata), -1);
|
18791
|
+
rb_define_method(SwigClassMajorObject.klass, "get_metadata_item", VALUEFUNC(_gdal_wrap_MajorObject_get_metadata_item), -1);
|
18792
|
+
rb_define_method(SwigClassMajorObject.klass, "set_metadata_item", VALUEFUNC(_gdal_wrap_MajorObject_set_metadata_item), -1);
|
18391
18793
|
SwigClassMajorObject.mark = 0;
|
18392
18794
|
SwigClassMajorObject.trackObjects = 0;
|
18393
18795
|
|
18394
18796
|
SwigClassDriver.klass = rb_define_class_under(mGdal, "Driver", ((swig_class *) SWIGTYPE_p_GDALMajorObjectShadow->clientdata)->klass);
|
18395
18797
|
SWIG_TypeClientData(SWIGTYPE_p_GDALDriverShadow, (void *) &SwigClassDriver);
|
18396
18798
|
rb_undef_alloc_func(SwigClassDriver.klass);
|
18397
|
-
rb_define_method(SwigClassDriver.klass, "ShortName", VALUEFUNC(
|
18398
|
-
rb_define_method(SwigClassDriver.klass, "LongName", VALUEFUNC(
|
18399
|
-
rb_define_method(SwigClassDriver.klass, "HelpTopic", VALUEFUNC(
|
18400
|
-
rb_define_method(SwigClassDriver.klass, "create", VALUEFUNC(
|
18401
|
-
rb_define_method(SwigClassDriver.klass, "create_copy", VALUEFUNC(
|
18402
|
-
rb_define_method(SwigClassDriver.klass, "delete", VALUEFUNC(
|
18403
|
-
rb_define_method(SwigClassDriver.klass, "rename", VALUEFUNC(
|
18404
|
-
rb_define_method(SwigClassDriver.klass, "copy_files", VALUEFUNC(
|
18405
|
-
rb_define_method(SwigClassDriver.klass, "register", VALUEFUNC(
|
18406
|
-
rb_define_method(SwigClassDriver.klass, "deregister", VALUEFUNC(
|
18799
|
+
rb_define_method(SwigClassDriver.klass, "ShortName", VALUEFUNC(_gdal_wrap_Driver_ShortName_get), -1);
|
18800
|
+
rb_define_method(SwigClassDriver.klass, "LongName", VALUEFUNC(_gdal_wrap_Driver_LongName_get), -1);
|
18801
|
+
rb_define_method(SwigClassDriver.klass, "HelpTopic", VALUEFUNC(_gdal_wrap_Driver_HelpTopic_get), -1);
|
18802
|
+
rb_define_method(SwigClassDriver.klass, "create", VALUEFUNC(_gdal_wrap_Driver_create), -1);
|
18803
|
+
rb_define_method(SwigClassDriver.klass, "create_copy", VALUEFUNC(_gdal_wrap_Driver_create_copy), -1);
|
18804
|
+
rb_define_method(SwigClassDriver.klass, "delete", VALUEFUNC(_gdal_wrap_Driver_delete), -1);
|
18805
|
+
rb_define_method(SwigClassDriver.klass, "rename", VALUEFUNC(_gdal_wrap_Driver_rename), -1);
|
18806
|
+
rb_define_method(SwigClassDriver.klass, "copy_files", VALUEFUNC(_gdal_wrap_Driver_copy_files), -1);
|
18807
|
+
rb_define_method(SwigClassDriver.klass, "register", VALUEFUNC(_gdal_wrap_Driver_register), -1);
|
18808
|
+
rb_define_method(SwigClassDriver.klass, "deregister", VALUEFUNC(_gdal_wrap_Driver_deregister), -1);
|
18407
18809
|
SwigClassDriver.mark = 0;
|
18408
18810
|
SwigClassDriver.trackObjects = 0;
|
18409
18811
|
|
18410
18812
|
SwigClassColorEntry.klass = rb_define_class_under(mGdal, "ColorEntry", rb_cObject);
|
18411
18813
|
SWIG_TypeClientData(SWIGTYPE_p_GDALColorEntry, (void *) &SwigClassColorEntry);
|
18412
|
-
rb_define_alloc_func(SwigClassColorEntry.klass,
|
18413
|
-
rb_define_method(SwigClassColorEntry.klass, "initialize", VALUEFUNC(
|
18414
|
-
rb_define_method(SwigClassColorEntry.klass, "c1=", VALUEFUNC(
|
18415
|
-
rb_define_method(SwigClassColorEntry.klass, "c1", VALUEFUNC(
|
18416
|
-
rb_define_method(SwigClassColorEntry.klass, "c2=", VALUEFUNC(
|
18417
|
-
rb_define_method(SwigClassColorEntry.klass, "c2", VALUEFUNC(
|
18418
|
-
rb_define_method(SwigClassColorEntry.klass, "c3=", VALUEFUNC(
|
18419
|
-
rb_define_method(SwigClassColorEntry.klass, "c3", VALUEFUNC(
|
18420
|
-
rb_define_method(SwigClassColorEntry.klass, "c4=", VALUEFUNC(
|
18421
|
-
rb_define_method(SwigClassColorEntry.klass, "c4", VALUEFUNC(
|
18814
|
+
rb_define_alloc_func(SwigClassColorEntry.klass, _gdal_wrap_ColorEntry_allocate);
|
18815
|
+
rb_define_method(SwigClassColorEntry.klass, "initialize", VALUEFUNC(_gdal_wrap_new_ColorEntry), -1);
|
18816
|
+
rb_define_method(SwigClassColorEntry.klass, "c1=", VALUEFUNC(_gdal_wrap_ColorEntry_c1_set), -1);
|
18817
|
+
rb_define_method(SwigClassColorEntry.klass, "c1", VALUEFUNC(_gdal_wrap_ColorEntry_c1_get), -1);
|
18818
|
+
rb_define_method(SwigClassColorEntry.klass, "c2=", VALUEFUNC(_gdal_wrap_ColorEntry_c2_set), -1);
|
18819
|
+
rb_define_method(SwigClassColorEntry.klass, "c2", VALUEFUNC(_gdal_wrap_ColorEntry_c2_get), -1);
|
18820
|
+
rb_define_method(SwigClassColorEntry.klass, "c3=", VALUEFUNC(_gdal_wrap_ColorEntry_c3_set), -1);
|
18821
|
+
rb_define_method(SwigClassColorEntry.klass, "c3", VALUEFUNC(_gdal_wrap_ColorEntry_c3_get), -1);
|
18822
|
+
rb_define_method(SwigClassColorEntry.klass, "c4=", VALUEFUNC(_gdal_wrap_ColorEntry_c4_set), -1);
|
18823
|
+
rb_define_method(SwigClassColorEntry.klass, "c4", VALUEFUNC(_gdal_wrap_ColorEntry_c4_get), -1);
|
18422
18824
|
SwigClassColorEntry.mark = 0;
|
18423
18825
|
SwigClassColorEntry.destroy = (void (*)(void *)) free_GDALColorEntry;
|
18424
18826
|
SwigClassColorEntry.trackObjects = 0;
|
18425
18827
|
|
18426
18828
|
SwigClassGCP.klass = rb_define_class_under(mGdal, "GCP", rb_cObject);
|
18427
18829
|
SWIG_TypeClientData(SWIGTYPE_p_GDAL_GCP, (void *) &SwigClassGCP);
|
18428
|
-
rb_define_alloc_func(SwigClassGCP.klass,
|
18429
|
-
rb_define_method(SwigClassGCP.klass, "initialize", VALUEFUNC(
|
18430
|
-
rb_define_method(SwigClassGCP.klass, "GCPX=", VALUEFUNC(
|
18431
|
-
rb_define_method(SwigClassGCP.klass, "GCPX", VALUEFUNC(
|
18432
|
-
rb_define_method(SwigClassGCP.klass, "GCPY=", VALUEFUNC(
|
18433
|
-
rb_define_method(SwigClassGCP.klass, "GCPY", VALUEFUNC(
|
18434
|
-
rb_define_method(SwigClassGCP.klass, "GCPZ=", VALUEFUNC(
|
18435
|
-
rb_define_method(SwigClassGCP.klass, "GCPZ", VALUEFUNC(
|
18436
|
-
rb_define_method(SwigClassGCP.klass, "GCPPixel=", VALUEFUNC(
|
18437
|
-
rb_define_method(SwigClassGCP.klass, "GCPPixel", VALUEFUNC(
|
18438
|
-
rb_define_method(SwigClassGCP.klass, "GCPLine=", VALUEFUNC(
|
18439
|
-
rb_define_method(SwigClassGCP.klass, "GCPLine", VALUEFUNC(
|
18440
|
-
rb_define_method(SwigClassGCP.klass, "Info=", VALUEFUNC(
|
18441
|
-
rb_define_method(SwigClassGCP.klass, "Info", VALUEFUNC(
|
18442
|
-
rb_define_method(SwigClassGCP.klass, "Id=", VALUEFUNC(
|
18443
|
-
rb_define_method(SwigClassGCP.klass, "Id", VALUEFUNC(
|
18830
|
+
rb_define_alloc_func(SwigClassGCP.klass, _gdal_wrap_GCP_allocate);
|
18831
|
+
rb_define_method(SwigClassGCP.klass, "initialize", VALUEFUNC(_gdal_wrap_new_GCP), -1);
|
18832
|
+
rb_define_method(SwigClassGCP.klass, "GCPX=", VALUEFUNC(_gdal_wrap_GCP_GCPX_set), -1);
|
18833
|
+
rb_define_method(SwigClassGCP.klass, "GCPX", VALUEFUNC(_gdal_wrap_GCP_GCPX_get), -1);
|
18834
|
+
rb_define_method(SwigClassGCP.klass, "GCPY=", VALUEFUNC(_gdal_wrap_GCP_GCPY_set), -1);
|
18835
|
+
rb_define_method(SwigClassGCP.klass, "GCPY", VALUEFUNC(_gdal_wrap_GCP_GCPY_get), -1);
|
18836
|
+
rb_define_method(SwigClassGCP.klass, "GCPZ=", VALUEFUNC(_gdal_wrap_GCP_GCPZ_set), -1);
|
18837
|
+
rb_define_method(SwigClassGCP.klass, "GCPZ", VALUEFUNC(_gdal_wrap_GCP_GCPZ_get), -1);
|
18838
|
+
rb_define_method(SwigClassGCP.klass, "GCPPixel=", VALUEFUNC(_gdal_wrap_GCP_GCPPixel_set), -1);
|
18839
|
+
rb_define_method(SwigClassGCP.klass, "GCPPixel", VALUEFUNC(_gdal_wrap_GCP_GCPPixel_get), -1);
|
18840
|
+
rb_define_method(SwigClassGCP.klass, "GCPLine=", VALUEFUNC(_gdal_wrap_GCP_GCPLine_set), -1);
|
18841
|
+
rb_define_method(SwigClassGCP.klass, "GCPLine", VALUEFUNC(_gdal_wrap_GCP_GCPLine_get), -1);
|
18842
|
+
rb_define_method(SwigClassGCP.klass, "Info=", VALUEFUNC(_gdal_wrap_GCP_Info_set), -1);
|
18843
|
+
rb_define_method(SwigClassGCP.klass, "Info", VALUEFUNC(_gdal_wrap_GCP_Info_get), -1);
|
18844
|
+
rb_define_method(SwigClassGCP.klass, "Id=", VALUEFUNC(_gdal_wrap_GCP_Id_set), -1);
|
18845
|
+
rb_define_method(SwigClassGCP.klass, "Id", VALUEFUNC(_gdal_wrap_GCP_Id_get), -1);
|
18444
18846
|
SwigClassGCP.mark = 0;
|
18445
18847
|
SwigClassGCP.destroy = (void (*)(void *)) free_GDAL_GCP;
|
18446
18848
|
SwigClassGCP.trackObjects = 0;
|
18447
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpx_get", VALUEFUNC(
|
18448
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpx_set", VALUEFUNC(
|
18449
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpy_get", VALUEFUNC(
|
18450
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpy_set", VALUEFUNC(
|
18451
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpz_get", VALUEFUNC(
|
18452
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpz_set", VALUEFUNC(
|
18453
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcppixel_get", VALUEFUNC(
|
18454
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcppixel_set", VALUEFUNC(
|
18455
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpline_get", VALUEFUNC(
|
18456
|
-
rb_define_module_function(mGdal, "gdal_gcp_gcpline_set", VALUEFUNC(
|
18457
|
-
rb_define_module_function(mGdal, "gdal_gcp_info_get", VALUEFUNC(
|
18458
|
-
rb_define_module_function(mGdal, "gdal_gcp_info_set", VALUEFUNC(
|
18459
|
-
rb_define_module_function(mGdal, "gdal_gcp_id_get", VALUEFUNC(
|
18460
|
-
rb_define_module_function(mGdal, "gdal_gcp_id_set", VALUEFUNC(
|
18461
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_gcpx", VALUEFUNC(
|
18462
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_gcpx", VALUEFUNC(
|
18463
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_gcpy", VALUEFUNC(
|
18464
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_gcpy", VALUEFUNC(
|
18465
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_gcpz", VALUEFUNC(
|
18466
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_gcpz", VALUEFUNC(
|
18467
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_gcppixel", VALUEFUNC(
|
18468
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_gcppixel", VALUEFUNC(
|
18469
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_gcpline", VALUEFUNC(
|
18470
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_gcpline", VALUEFUNC(
|
18471
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_info", VALUEFUNC(
|
18472
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_info", VALUEFUNC(
|
18473
|
-
rb_define_module_function(mGdal, "gdal_gcp_get_id", VALUEFUNC(
|
18474
|
-
rb_define_module_function(mGdal, "gdal_gcp_set_id", VALUEFUNC(
|
18475
|
-
rb_define_module_function(mGdal, "gcps_to_geo_transform", VALUEFUNC(
|
18849
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpx_get", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpx_get), -1);
|
18850
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpx_set", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpx_set), -1);
|
18851
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpy_get", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpy_get), -1);
|
18852
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpy_set", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpy_set), -1);
|
18853
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpz_get", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpz_get), -1);
|
18854
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpz_set", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpz_set), -1);
|
18855
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcppixel_get", VALUEFUNC(_gdal_wrap_gdal_gcp_gcppixel_get), -1);
|
18856
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcppixel_set", VALUEFUNC(_gdal_wrap_gdal_gcp_gcppixel_set), -1);
|
18857
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpline_get", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpline_get), -1);
|
18858
|
+
rb_define_module_function(mGdal, "gdal_gcp_gcpline_set", VALUEFUNC(_gdal_wrap_gdal_gcp_gcpline_set), -1);
|
18859
|
+
rb_define_module_function(mGdal, "gdal_gcp_info_get", VALUEFUNC(_gdal_wrap_gdal_gcp_info_get), -1);
|
18860
|
+
rb_define_module_function(mGdal, "gdal_gcp_info_set", VALUEFUNC(_gdal_wrap_gdal_gcp_info_set), -1);
|
18861
|
+
rb_define_module_function(mGdal, "gdal_gcp_id_get", VALUEFUNC(_gdal_wrap_gdal_gcp_id_get), -1);
|
18862
|
+
rb_define_module_function(mGdal, "gdal_gcp_id_set", VALUEFUNC(_gdal_wrap_gdal_gcp_id_set), -1);
|
18863
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_gcpx", VALUEFUNC(_gdal_wrap_gdal_gcp_get_gcpx), -1);
|
18864
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_gcpx", VALUEFUNC(_gdal_wrap_gdal_gcp_set_gcpx), -1);
|
18865
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_gcpy", VALUEFUNC(_gdal_wrap_gdal_gcp_get_gcpy), -1);
|
18866
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_gcpy", VALUEFUNC(_gdal_wrap_gdal_gcp_set_gcpy), -1);
|
18867
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_gcpz", VALUEFUNC(_gdal_wrap_gdal_gcp_get_gcpz), -1);
|
18868
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_gcpz", VALUEFUNC(_gdal_wrap_gdal_gcp_set_gcpz), -1);
|
18869
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_gcppixel", VALUEFUNC(_gdal_wrap_gdal_gcp_get_gcppixel), -1);
|
18870
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_gcppixel", VALUEFUNC(_gdal_wrap_gdal_gcp_set_gcppixel), -1);
|
18871
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_gcpline", VALUEFUNC(_gdal_wrap_gdal_gcp_get_gcpline), -1);
|
18872
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_gcpline", VALUEFUNC(_gdal_wrap_gdal_gcp_set_gcpline), -1);
|
18873
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_info", VALUEFUNC(_gdal_wrap_gdal_gcp_get_info), -1);
|
18874
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_info", VALUEFUNC(_gdal_wrap_gdal_gcp_set_info), -1);
|
18875
|
+
rb_define_module_function(mGdal, "gdal_gcp_get_id", VALUEFUNC(_gdal_wrap_gdal_gcp_get_id), -1);
|
18876
|
+
rb_define_module_function(mGdal, "gdal_gcp_set_id", VALUEFUNC(_gdal_wrap_gdal_gcp_set_id), -1);
|
18877
|
+
rb_define_module_function(mGdal, "gcps_to_geo_transform", VALUEFUNC(_gdal_wrap_gcps_to_geo_transform), -1);
|
18476
18878
|
|
18477
18879
|
SwigClassAsyncReader.klass = rb_define_class_under(mGdal, "AsyncReader", rb_cObject);
|
18478
18880
|
SWIG_TypeClientData(SWIGTYPE_p_GDALAsyncReaderShadow, (void *) &SwigClassAsyncReader);
|
18479
18881
|
rb_undef_alloc_func(SwigClassAsyncReader.klass);
|
18480
|
-
rb_define_method(SwigClassAsyncReader.klass, "get_next_updated_region", VALUEFUNC(
|
18481
|
-
rb_define_method(SwigClassAsyncReader.klass, "lock_buffer", VALUEFUNC(
|
18482
|
-
rb_define_method(SwigClassAsyncReader.klass, "unlock_buffer", VALUEFUNC(
|
18882
|
+
rb_define_method(SwigClassAsyncReader.klass, "get_next_updated_region", VALUEFUNC(_gdal_wrap_AsyncReader_get_next_updated_region), -1);
|
18883
|
+
rb_define_method(SwigClassAsyncReader.klass, "lock_buffer", VALUEFUNC(_gdal_wrap_AsyncReader_lock_buffer), -1);
|
18884
|
+
rb_define_method(SwigClassAsyncReader.klass, "unlock_buffer", VALUEFUNC(_gdal_wrap_AsyncReader_unlock_buffer), -1);
|
18483
18885
|
SwigClassAsyncReader.mark = 0;
|
18484
18886
|
SwigClassAsyncReader.destroy = (void (*)(void *)) free_GDALAsyncReaderShadow;
|
18485
18887
|
SwigClassAsyncReader.trackObjects = 0;
|
@@ -18487,27 +18889,27 @@ SWIGEXPORT void Init_gdal(void) {
|
|
18487
18889
|
SwigClassDataset.klass = rb_define_class_under(mGdal, "Dataset", ((swig_class *) SWIGTYPE_p_GDALMajorObjectShadow->clientdata)->klass);
|
18488
18890
|
SWIG_TypeClientData(SWIGTYPE_p_GDALDatasetShadow, (void *) &SwigClassDataset);
|
18489
18891
|
rb_undef_alloc_func(SwigClassDataset.klass);
|
18490
|
-
rb_define_method(SwigClassDataset.klass, "RasterXSize", VALUEFUNC(
|
18491
|
-
rb_define_method(SwigClassDataset.klass, "RasterYSize", VALUEFUNC(
|
18492
|
-
rb_define_method(SwigClassDataset.klass, "RasterCount", VALUEFUNC(
|
18493
|
-
rb_define_method(SwigClassDataset.klass, "get_driver", VALUEFUNC(
|
18494
|
-
rb_define_method(SwigClassDataset.klass, "get_raster_band", VALUEFUNC(
|
18495
|
-
rb_define_method(SwigClassDataset.klass, "get_projection", VALUEFUNC(
|
18496
|
-
rb_define_method(SwigClassDataset.klass, "get_projection_ref", VALUEFUNC(
|
18497
|
-
rb_define_method(SwigClassDataset.klass, "set_projection", VALUEFUNC(
|
18498
|
-
rb_define_method(SwigClassDataset.klass, "get_geo_transform", VALUEFUNC(
|
18499
|
-
rb_define_method(SwigClassDataset.klass, "set_geo_transform", VALUEFUNC(
|
18500
|
-
rb_define_method(SwigClassDataset.klass, "build_overviews", VALUEFUNC(
|
18501
|
-
rb_define_method(SwigClassDataset.klass, "get_gcpcount", VALUEFUNC(
|
18502
|
-
rb_define_method(SwigClassDataset.klass, "get_gcpprojection", VALUEFUNC(
|
18503
|
-
rb_define_method(SwigClassDataset.klass, "get_gcps", VALUEFUNC(
|
18504
|
-
rb_define_method(SwigClassDataset.klass, "set_gcps", VALUEFUNC(
|
18505
|
-
rb_define_method(SwigClassDataset.klass, "flush_cache", VALUEFUNC(
|
18506
|
-
rb_define_method(SwigClassDataset.klass, "add_band", VALUEFUNC(
|
18507
|
-
rb_define_method(SwigClassDataset.klass, "create_mask_band", VALUEFUNC(
|
18508
|
-
rb_define_method(SwigClassDataset.klass, "get_file_list", VALUEFUNC(
|
18509
|
-
rb_define_method(SwigClassDataset.klass, "write_raster", VALUEFUNC(
|
18510
|
-
rb_define_method(SwigClassDataset.klass, "read_raster", VALUEFUNC(
|
18892
|
+
rb_define_method(SwigClassDataset.klass, "RasterXSize", VALUEFUNC(_gdal_wrap_Dataset_RasterXSize_get), -1);
|
18893
|
+
rb_define_method(SwigClassDataset.klass, "RasterYSize", VALUEFUNC(_gdal_wrap_Dataset_RasterYSize_get), -1);
|
18894
|
+
rb_define_method(SwigClassDataset.klass, "RasterCount", VALUEFUNC(_gdal_wrap_Dataset_RasterCount_get), -1);
|
18895
|
+
rb_define_method(SwigClassDataset.klass, "get_driver", VALUEFUNC(_gdal_wrap_Dataset_get_driver), -1);
|
18896
|
+
rb_define_method(SwigClassDataset.klass, "get_raster_band", VALUEFUNC(_gdal_wrap_Dataset_get_raster_band), -1);
|
18897
|
+
rb_define_method(SwigClassDataset.klass, "get_projection", VALUEFUNC(_gdal_wrap_Dataset_get_projection), -1);
|
18898
|
+
rb_define_method(SwigClassDataset.klass, "get_projection_ref", VALUEFUNC(_gdal_wrap_Dataset_get_projection_ref), -1);
|
18899
|
+
rb_define_method(SwigClassDataset.klass, "set_projection", VALUEFUNC(_gdal_wrap_Dataset_set_projection), -1);
|
18900
|
+
rb_define_method(SwigClassDataset.klass, "get_geo_transform", VALUEFUNC(_gdal_wrap_Dataset_get_geo_transform), -1);
|
18901
|
+
rb_define_method(SwigClassDataset.klass, "set_geo_transform", VALUEFUNC(_gdal_wrap_Dataset_set_geo_transform), -1);
|
18902
|
+
rb_define_method(SwigClassDataset.klass, "build_overviews", VALUEFUNC(_gdal_wrap_Dataset_build_overviews), -1);
|
18903
|
+
rb_define_method(SwigClassDataset.klass, "get_gcpcount", VALUEFUNC(_gdal_wrap_Dataset_get_gcpcount), -1);
|
18904
|
+
rb_define_method(SwigClassDataset.klass, "get_gcpprojection", VALUEFUNC(_gdal_wrap_Dataset_get_gcpprojection), -1);
|
18905
|
+
rb_define_method(SwigClassDataset.klass, "get_gcps", VALUEFUNC(_gdal_wrap_Dataset_get_gcps), -1);
|
18906
|
+
rb_define_method(SwigClassDataset.klass, "set_gcps", VALUEFUNC(_gdal_wrap_Dataset_set_gcps), -1);
|
18907
|
+
rb_define_method(SwigClassDataset.klass, "flush_cache", VALUEFUNC(_gdal_wrap_Dataset_flush_cache), -1);
|
18908
|
+
rb_define_method(SwigClassDataset.klass, "add_band", VALUEFUNC(_gdal_wrap_Dataset_add_band), -1);
|
18909
|
+
rb_define_method(SwigClassDataset.klass, "create_mask_band", VALUEFUNC(_gdal_wrap_Dataset_create_mask_band), -1);
|
18910
|
+
rb_define_method(SwigClassDataset.klass, "get_file_list", VALUEFUNC(_gdal_wrap_Dataset_get_file_list), -1);
|
18911
|
+
rb_define_method(SwigClassDataset.klass, "write_raster", VALUEFUNC(_gdal_wrap_Dataset_write_raster), -1);
|
18912
|
+
rb_define_method(SwigClassDataset.klass, "read_raster", VALUEFUNC(_gdal_wrap_Dataset_read_raster), -1);
|
18511
18913
|
SwigClassDataset.mark = 0;
|
18512
18914
|
SwigClassDataset.destroy = (void (*)(void *)) free_GDALDatasetShadow;
|
18513
18915
|
SwigClassDataset.trackObjects = 0;
|
@@ -18515,146 +18917,147 @@ SWIGEXPORT void Init_gdal(void) {
|
|
18515
18917
|
SwigClassBand.klass = rb_define_class_under(mGdal, "Band", ((swig_class *) SWIGTYPE_p_GDALMajorObjectShadow->clientdata)->klass);
|
18516
18918
|
SWIG_TypeClientData(SWIGTYPE_p_GDALRasterBandShadow, (void *) &SwigClassBand);
|
18517
18919
|
rb_undef_alloc_func(SwigClassBand.klass);
|
18518
|
-
rb_define_method(SwigClassBand.klass, "XSize", VALUEFUNC(
|
18519
|
-
rb_define_method(SwigClassBand.klass, "YSize", VALUEFUNC(
|
18520
|
-
rb_define_method(SwigClassBand.klass, "DataType", VALUEFUNC(
|
18521
|
-
rb_define_method(SwigClassBand.klass, "get_band", VALUEFUNC(
|
18522
|
-
rb_define_method(SwigClassBand.klass, "get_block_size", VALUEFUNC(
|
18523
|
-
rb_define_method(SwigClassBand.klass, "get_color_interpretation", VALUEFUNC(
|
18524
|
-
rb_define_method(SwigClassBand.klass, "get_raster_color_interpretation", VALUEFUNC(
|
18525
|
-
rb_define_method(SwigClassBand.klass, "set_color_interpretation", VALUEFUNC(
|
18526
|
-
rb_define_method(SwigClassBand.klass, "set_raster_color_interpretation", VALUEFUNC(
|
18527
|
-
rb_define_method(SwigClassBand.klass, "get_no_data_value", VALUEFUNC(
|
18528
|
-
rb_define_method(SwigClassBand.klass, "set_no_data_value", VALUEFUNC(
|
18529
|
-
rb_define_method(SwigClassBand.klass, "get_unit_type", VALUEFUNC(
|
18530
|
-
rb_define_method(SwigClassBand.klass, "set_unit_type", VALUEFUNC(
|
18531
|
-
rb_define_method(SwigClassBand.klass, "get_raster_category_names", VALUEFUNC(
|
18532
|
-
rb_define_method(SwigClassBand.klass, "set_raster_category_names", VALUEFUNC(
|
18533
|
-
rb_define_method(SwigClassBand.klass, "get_minimum", VALUEFUNC(
|
18534
|
-
rb_define_method(SwigClassBand.klass, "get_maximum", VALUEFUNC(
|
18535
|
-
rb_define_method(SwigClassBand.klass, "get_offset", VALUEFUNC(
|
18536
|
-
rb_define_method(SwigClassBand.klass, "get_scale", VALUEFUNC(
|
18537
|
-
rb_define_method(SwigClassBand.klass, "set_offset", VALUEFUNC(
|
18538
|
-
rb_define_method(SwigClassBand.klass, "set_scale", VALUEFUNC(
|
18539
|
-
rb_define_method(SwigClassBand.klass, "get_statistics", VALUEFUNC(
|
18540
|
-
rb_define_method(SwigClassBand.klass, "compute_statistics", VALUEFUNC(
|
18541
|
-
rb_define_method(SwigClassBand.klass, "set_statistics", VALUEFUNC(
|
18542
|
-
rb_define_method(SwigClassBand.klass, "get_overview_count", VALUEFUNC(
|
18543
|
-
rb_define_method(SwigClassBand.klass, "get_overview", VALUEFUNC(
|
18544
|
-
rb_define_method(SwigClassBand.klass, "checksum", VALUEFUNC(
|
18545
|
-
rb_define_method(SwigClassBand.klass, "compute_raster_min_max", VALUEFUNC(
|
18546
|
-
rb_define_method(SwigClassBand.klass, "compute_band_stats", VALUEFUNC(
|
18547
|
-
rb_define_method(SwigClassBand.klass, "fill", VALUEFUNC(
|
18548
|
-
rb_define_method(SwigClassBand.klass, "read_raster", VALUEFUNC(
|
18549
|
-
rb_define_method(SwigClassBand.klass, "write_raster", VALUEFUNC(
|
18550
|
-
rb_define_method(SwigClassBand.klass, "flush_cache", VALUEFUNC(
|
18551
|
-
rb_define_method(SwigClassBand.klass, "get_raster_color_table", VALUEFUNC(
|
18552
|
-
rb_define_method(SwigClassBand.klass, "get_color_table", VALUEFUNC(
|
18553
|
-
rb_define_method(SwigClassBand.klass, "set_raster_color_table", VALUEFUNC(
|
18554
|
-
rb_define_method(SwigClassBand.klass, "set_color_table", VALUEFUNC(
|
18555
|
-
rb_define_method(SwigClassBand.klass, "get_default_rat", VALUEFUNC(
|
18556
|
-
rb_define_method(SwigClassBand.klass, "set_default_rat", VALUEFUNC(
|
18557
|
-
rb_define_method(SwigClassBand.klass, "get_mask_band", VALUEFUNC(
|
18558
|
-
rb_define_method(SwigClassBand.klass, "get_mask_flags", VALUEFUNC(
|
18559
|
-
rb_define_method(SwigClassBand.klass, "create_mask_band", VALUEFUNC(
|
18560
|
-
rb_define_method(SwigClassBand.klass, "get_histogram", VALUEFUNC(
|
18561
|
-
rb_define_method(SwigClassBand.klass, "get_default_histogram", VALUEFUNC(
|
18562
|
-
rb_define_method(SwigClassBand.klass, "set_default_histogram", VALUEFUNC(
|
18563
|
-
rb_define_method(SwigClassBand.klass, "has_arbitrary_overviews", VALUEFUNC(
|
18564
|
-
rb_define_method(SwigClassBand.klass, "get_category_names", VALUEFUNC(
|
18565
|
-
rb_define_method(SwigClassBand.klass, "set_category_names", VALUEFUNC(
|
18920
|
+
rb_define_method(SwigClassBand.klass, "XSize", VALUEFUNC(_gdal_wrap_Band_XSize_get), -1);
|
18921
|
+
rb_define_method(SwigClassBand.klass, "YSize", VALUEFUNC(_gdal_wrap_Band_YSize_get), -1);
|
18922
|
+
rb_define_method(SwigClassBand.klass, "DataType", VALUEFUNC(_gdal_wrap_Band_DataType_get), -1);
|
18923
|
+
rb_define_method(SwigClassBand.klass, "get_band", VALUEFUNC(_gdal_wrap_Band_get_band), -1);
|
18924
|
+
rb_define_method(SwigClassBand.klass, "get_block_size", VALUEFUNC(_gdal_wrap_Band_get_block_size), -1);
|
18925
|
+
rb_define_method(SwigClassBand.klass, "get_color_interpretation", VALUEFUNC(_gdal_wrap_Band_get_color_interpretation), -1);
|
18926
|
+
rb_define_method(SwigClassBand.klass, "get_raster_color_interpretation", VALUEFUNC(_gdal_wrap_Band_get_raster_color_interpretation), -1);
|
18927
|
+
rb_define_method(SwigClassBand.klass, "set_color_interpretation", VALUEFUNC(_gdal_wrap_Band_set_color_interpretation), -1);
|
18928
|
+
rb_define_method(SwigClassBand.klass, "set_raster_color_interpretation", VALUEFUNC(_gdal_wrap_Band_set_raster_color_interpretation), -1);
|
18929
|
+
rb_define_method(SwigClassBand.klass, "get_no_data_value", VALUEFUNC(_gdal_wrap_Band_get_no_data_value), -1);
|
18930
|
+
rb_define_method(SwigClassBand.klass, "set_no_data_value", VALUEFUNC(_gdal_wrap_Band_set_no_data_value), -1);
|
18931
|
+
rb_define_method(SwigClassBand.klass, "get_unit_type", VALUEFUNC(_gdal_wrap_Band_get_unit_type), -1);
|
18932
|
+
rb_define_method(SwigClassBand.klass, "set_unit_type", VALUEFUNC(_gdal_wrap_Band_set_unit_type), -1);
|
18933
|
+
rb_define_method(SwigClassBand.klass, "get_raster_category_names", VALUEFUNC(_gdal_wrap_Band_get_raster_category_names), -1);
|
18934
|
+
rb_define_method(SwigClassBand.klass, "set_raster_category_names", VALUEFUNC(_gdal_wrap_Band_set_raster_category_names), -1);
|
18935
|
+
rb_define_method(SwigClassBand.klass, "get_minimum", VALUEFUNC(_gdal_wrap_Band_get_minimum), -1);
|
18936
|
+
rb_define_method(SwigClassBand.klass, "get_maximum", VALUEFUNC(_gdal_wrap_Band_get_maximum), -1);
|
18937
|
+
rb_define_method(SwigClassBand.klass, "get_offset", VALUEFUNC(_gdal_wrap_Band_get_offset), -1);
|
18938
|
+
rb_define_method(SwigClassBand.klass, "get_scale", VALUEFUNC(_gdal_wrap_Band_get_scale), -1);
|
18939
|
+
rb_define_method(SwigClassBand.klass, "set_offset", VALUEFUNC(_gdal_wrap_Band_set_offset), -1);
|
18940
|
+
rb_define_method(SwigClassBand.klass, "set_scale", VALUEFUNC(_gdal_wrap_Band_set_scale), -1);
|
18941
|
+
rb_define_method(SwigClassBand.klass, "get_statistics", VALUEFUNC(_gdal_wrap_Band_get_statistics), -1);
|
18942
|
+
rb_define_method(SwigClassBand.klass, "compute_statistics", VALUEFUNC(_gdal_wrap_Band_compute_statistics), -1);
|
18943
|
+
rb_define_method(SwigClassBand.klass, "set_statistics", VALUEFUNC(_gdal_wrap_Band_set_statistics), -1);
|
18944
|
+
rb_define_method(SwigClassBand.klass, "get_overview_count", VALUEFUNC(_gdal_wrap_Band_get_overview_count), -1);
|
18945
|
+
rb_define_method(SwigClassBand.klass, "get_overview", VALUEFUNC(_gdal_wrap_Band_get_overview), -1);
|
18946
|
+
rb_define_method(SwigClassBand.klass, "checksum", VALUEFUNC(_gdal_wrap_Band_checksum), -1);
|
18947
|
+
rb_define_method(SwigClassBand.klass, "compute_raster_min_max", VALUEFUNC(_gdal_wrap_Band_compute_raster_min_max), -1);
|
18948
|
+
rb_define_method(SwigClassBand.klass, "compute_band_stats", VALUEFUNC(_gdal_wrap_Band_compute_band_stats), -1);
|
18949
|
+
rb_define_method(SwigClassBand.klass, "fill", VALUEFUNC(_gdal_wrap_Band_fill), -1);
|
18950
|
+
rb_define_method(SwigClassBand.klass, "read_raster", VALUEFUNC(_gdal_wrap_Band_read_raster), -1);
|
18951
|
+
rb_define_method(SwigClassBand.klass, "write_raster", VALUEFUNC(_gdal_wrap_Band_write_raster), -1);
|
18952
|
+
rb_define_method(SwigClassBand.klass, "flush_cache", VALUEFUNC(_gdal_wrap_Band_flush_cache), -1);
|
18953
|
+
rb_define_method(SwigClassBand.klass, "get_raster_color_table", VALUEFUNC(_gdal_wrap_Band_get_raster_color_table), -1);
|
18954
|
+
rb_define_method(SwigClassBand.klass, "get_color_table", VALUEFUNC(_gdal_wrap_Band_get_color_table), -1);
|
18955
|
+
rb_define_method(SwigClassBand.klass, "set_raster_color_table", VALUEFUNC(_gdal_wrap_Band_set_raster_color_table), -1);
|
18956
|
+
rb_define_method(SwigClassBand.klass, "set_color_table", VALUEFUNC(_gdal_wrap_Band_set_color_table), -1);
|
18957
|
+
rb_define_method(SwigClassBand.klass, "get_default_rat", VALUEFUNC(_gdal_wrap_Band_get_default_rat), -1);
|
18958
|
+
rb_define_method(SwigClassBand.klass, "set_default_rat", VALUEFUNC(_gdal_wrap_Band_set_default_rat), -1);
|
18959
|
+
rb_define_method(SwigClassBand.klass, "get_mask_band", VALUEFUNC(_gdal_wrap_Band_get_mask_band), -1);
|
18960
|
+
rb_define_method(SwigClassBand.klass, "get_mask_flags", VALUEFUNC(_gdal_wrap_Band_get_mask_flags), -1);
|
18961
|
+
rb_define_method(SwigClassBand.klass, "create_mask_band", VALUEFUNC(_gdal_wrap_Band_create_mask_band), -1);
|
18962
|
+
rb_define_method(SwigClassBand.klass, "get_histogram", VALUEFUNC(_gdal_wrap_Band_get_histogram), -1);
|
18963
|
+
rb_define_method(SwigClassBand.klass, "get_default_histogram", VALUEFUNC(_gdal_wrap_Band_get_default_histogram), -1);
|
18964
|
+
rb_define_method(SwigClassBand.klass, "set_default_histogram", VALUEFUNC(_gdal_wrap_Band_set_default_histogram), -1);
|
18965
|
+
rb_define_method(SwigClassBand.klass, "has_arbitrary_overviews", VALUEFUNC(_gdal_wrap_Band_has_arbitrary_overviews), -1);
|
18966
|
+
rb_define_method(SwigClassBand.klass, "get_category_names", VALUEFUNC(_gdal_wrap_Band_get_category_names), -1);
|
18967
|
+
rb_define_method(SwigClassBand.klass, "set_category_names", VALUEFUNC(_gdal_wrap_Band_set_category_names), -1);
|
18566
18968
|
SwigClassBand.mark = 0;
|
18567
18969
|
SwigClassBand.trackObjects = 0;
|
18568
18970
|
|
18569
18971
|
SwigClassColorTable.klass = rb_define_class_under(mGdal, "ColorTable", rb_cObject);
|
18570
18972
|
SWIG_TypeClientData(SWIGTYPE_p_GDALColorTableShadow, (void *) &SwigClassColorTable);
|
18571
|
-
rb_define_alloc_func(SwigClassColorTable.klass,
|
18572
|
-
rb_define_method(SwigClassColorTable.klass, "initialize", VALUEFUNC(
|
18573
|
-
rb_define_method(SwigClassColorTable.klass, "clone", VALUEFUNC(
|
18574
|
-
rb_define_method(SwigClassColorTable.klass, "get_palette_interpretation", VALUEFUNC(
|
18575
|
-
rb_define_method(SwigClassColorTable.klass, "get_count", VALUEFUNC(
|
18576
|
-
rb_define_method(SwigClassColorTable.klass, "get_color_entry", VALUEFUNC(
|
18577
|
-
rb_define_method(SwigClassColorTable.klass, "get_color_entry_as_rgb", VALUEFUNC(
|
18578
|
-
rb_define_method(SwigClassColorTable.klass, "set_color_entry", VALUEFUNC(
|
18579
|
-
rb_define_method(SwigClassColorTable.klass, "create_color_ramp", VALUEFUNC(
|
18973
|
+
rb_define_alloc_func(SwigClassColorTable.klass, _gdal_wrap_ColorTable_allocate);
|
18974
|
+
rb_define_method(SwigClassColorTable.klass, "initialize", VALUEFUNC(_gdal_wrap_new_ColorTable), -1);
|
18975
|
+
rb_define_method(SwigClassColorTable.klass, "clone", VALUEFUNC(_gdal_wrap_ColorTable_clone), -1);
|
18976
|
+
rb_define_method(SwigClassColorTable.klass, "get_palette_interpretation", VALUEFUNC(_gdal_wrap_ColorTable_get_palette_interpretation), -1);
|
18977
|
+
rb_define_method(SwigClassColorTable.klass, "get_count", VALUEFUNC(_gdal_wrap_ColorTable_get_count), -1);
|
18978
|
+
rb_define_method(SwigClassColorTable.klass, "get_color_entry", VALUEFUNC(_gdal_wrap_ColorTable_get_color_entry), -1);
|
18979
|
+
rb_define_method(SwigClassColorTable.klass, "get_color_entry_as_rgb", VALUEFUNC(_gdal_wrap_ColorTable_get_color_entry_as_rgb), -1);
|
18980
|
+
rb_define_method(SwigClassColorTable.klass, "set_color_entry", VALUEFUNC(_gdal_wrap_ColorTable_set_color_entry), -1);
|
18981
|
+
rb_define_method(SwigClassColorTable.klass, "create_color_ramp", VALUEFUNC(_gdal_wrap_ColorTable_create_color_ramp), -1);
|
18580
18982
|
SwigClassColorTable.mark = 0;
|
18581
18983
|
SwigClassColorTable.destroy = (void (*)(void *)) free_GDALColorTableShadow;
|
18582
18984
|
SwigClassColorTable.trackObjects = 0;
|
18583
18985
|
|
18584
18986
|
SwigClassRasterAttributeTable.klass = rb_define_class_under(mGdal, "RasterAttributeTable", rb_cObject);
|
18585
18987
|
SWIG_TypeClientData(SWIGTYPE_p_GDALRasterAttributeTableShadow, (void *) &SwigClassRasterAttributeTable);
|
18586
|
-
rb_define_alloc_func(SwigClassRasterAttributeTable.klass,
|
18587
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "initialize", VALUEFUNC(
|
18588
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "clone", VALUEFUNC(
|
18589
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_column_count", VALUEFUNC(
|
18590
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_name_of_col", VALUEFUNC(
|
18591
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_usage_of_col", VALUEFUNC(
|
18592
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_type_of_col", VALUEFUNC(
|
18593
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_col_of_usage", VALUEFUNC(
|
18594
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_row_count", VALUEFUNC(
|
18595
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_string", VALUEFUNC(
|
18596
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_int", VALUEFUNC(
|
18597
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_double", VALUEFUNC(
|
18598
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_string", VALUEFUNC(
|
18599
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_int", VALUEFUNC(
|
18600
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_double", VALUEFUNC(
|
18601
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "set_row_count", VALUEFUNC(
|
18602
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "create_column", VALUEFUNC(
|
18603
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_linear_binning", VALUEFUNC(
|
18604
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "set_linear_binning", VALUEFUNC(
|
18605
|
-
rb_define_method(SwigClassRasterAttributeTable.klass, "get_row_of_value", VALUEFUNC(
|
18988
|
+
rb_define_alloc_func(SwigClassRasterAttributeTable.klass, _gdal_wrap_RasterAttributeTable_allocate);
|
18989
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "initialize", VALUEFUNC(_gdal_wrap_new_RasterAttributeTable), -1);
|
18990
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "clone", VALUEFUNC(_gdal_wrap_RasterAttributeTable_clone), -1);
|
18991
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_column_count", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_column_count), -1);
|
18992
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_name_of_col", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_name_of_col), -1);
|
18993
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_usage_of_col", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_usage_of_col), -1);
|
18994
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_type_of_col", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_type_of_col), -1);
|
18995
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_col_of_usage", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_col_of_usage), -1);
|
18996
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_row_count", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_row_count), -1);
|
18997
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_string", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_value_as_string), -1);
|
18998
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_int", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_value_as_int), -1);
|
18999
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_value_as_double", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_value_as_double), -1);
|
19000
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_string", VALUEFUNC(_gdal_wrap_RasterAttributeTable_set_value_as_string), -1);
|
19001
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_int", VALUEFUNC(_gdal_wrap_RasterAttributeTable_set_value_as_int), -1);
|
19002
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "set_value_as_double", VALUEFUNC(_gdal_wrap_RasterAttributeTable_set_value_as_double), -1);
|
19003
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "set_row_count", VALUEFUNC(_gdal_wrap_RasterAttributeTable_set_row_count), -1);
|
19004
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "create_column", VALUEFUNC(_gdal_wrap_RasterAttributeTable_create_column), -1);
|
19005
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_linear_binning", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_linear_binning), -1);
|
19006
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "set_linear_binning", VALUEFUNC(_gdal_wrap_RasterAttributeTable_set_linear_binning), -1);
|
19007
|
+
rb_define_method(SwigClassRasterAttributeTable.klass, "get_row_of_value", VALUEFUNC(_gdal_wrap_RasterAttributeTable_get_row_of_value), -1);
|
18606
19008
|
SwigClassRasterAttributeTable.mark = 0;
|
18607
19009
|
SwigClassRasterAttributeTable.destroy = (void (*)(void *)) free_GDALRasterAttributeTableShadow;
|
18608
19010
|
SwigClassRasterAttributeTable.trackObjects = 0;
|
18609
|
-
rb_define_module_function(mGdal, "TermProgress_nocb", VALUEFUNC(
|
19011
|
+
rb_define_module_function(mGdal, "TermProgress_nocb", VALUEFUNC(_gdal_wrap_TermProgress_nocb), -1);
|
18610
19012
|
rb_define_const(mGdal, "TermProgress", SWIG_NewFunctionPtrObj((void *)(int (*)(double,char const *,void *))(GDALTermProgress), SWIGTYPE_p_f_double_p_q_const__char_p_void__int));
|
18611
|
-
rb_define_module_function(mGdal, "compute_median_cut_pct", VALUEFUNC(
|
18612
|
-
rb_define_module_function(mGdal, "dither_rgb_2pct", VALUEFUNC(
|
18613
|
-
rb_define_module_function(mGdal, "reproject_image", VALUEFUNC(
|
18614
|
-
rb_define_module_function(mGdal, "compute_proximity", VALUEFUNC(
|
18615
|
-
rb_define_module_function(mGdal, "rasterize_layer", VALUEFUNC(
|
18616
|
-
rb_define_module_function(mGdal, "polygonize", VALUEFUNC(
|
18617
|
-
rb_define_module_function(mGdal, "fill_nodata", VALUEFUNC(
|
18618
|
-
rb_define_module_function(mGdal, "sieve_filter", VALUEFUNC(
|
18619
|
-
rb_define_module_function(mGdal, "regenerate_overviews", VALUEFUNC(
|
18620
|
-
rb_define_module_function(mGdal, "regenerate_overview", VALUEFUNC(
|
18621
|
-
rb_define_module_function(mGdal, "contour_generate", VALUEFUNC(
|
18622
|
-
rb_define_module_function(mGdal, "auto_create_warped_vrt", VALUEFUNC(
|
19013
|
+
rb_define_module_function(mGdal, "compute_median_cut_pct", VALUEFUNC(_gdal_wrap_compute_median_cut_pct), -1);
|
19014
|
+
rb_define_module_function(mGdal, "dither_rgb_2pct", VALUEFUNC(_gdal_wrap_dither_rgb_2pct), -1);
|
19015
|
+
rb_define_module_function(mGdal, "reproject_image", VALUEFUNC(_gdal_wrap_reproject_image), -1);
|
19016
|
+
rb_define_module_function(mGdal, "compute_proximity", VALUEFUNC(_gdal_wrap_compute_proximity), -1);
|
19017
|
+
rb_define_module_function(mGdal, "rasterize_layer", VALUEFUNC(_gdal_wrap_rasterize_layer), -1);
|
19018
|
+
rb_define_module_function(mGdal, "polygonize", VALUEFUNC(_gdal_wrap_polygonize), -1);
|
19019
|
+
rb_define_module_function(mGdal, "fill_nodata", VALUEFUNC(_gdal_wrap_fill_nodata), -1);
|
19020
|
+
rb_define_module_function(mGdal, "sieve_filter", VALUEFUNC(_gdal_wrap_sieve_filter), -1);
|
19021
|
+
rb_define_module_function(mGdal, "regenerate_overviews", VALUEFUNC(_gdal_wrap_regenerate_overviews), -1);
|
19022
|
+
rb_define_module_function(mGdal, "regenerate_overview", VALUEFUNC(_gdal_wrap_regenerate_overview), -1);
|
19023
|
+
rb_define_module_function(mGdal, "contour_generate", VALUEFUNC(_gdal_wrap_contour_generate), -1);
|
19024
|
+
rb_define_module_function(mGdal, "auto_create_warped_vrt", VALUEFUNC(_gdal_wrap_auto_create_warped_vrt), -1);
|
18623
19025
|
|
18624
19026
|
SwigClassTransformer.klass = rb_define_class_under(mGdal, "Transformer", rb_cObject);
|
18625
19027
|
SWIG_TypeClientData(SWIGTYPE_p_GDALTransformerInfoShadow, (void *) &SwigClassTransformer);
|
18626
|
-
rb_define_alloc_func(SwigClassTransformer.klass,
|
18627
|
-
rb_define_method(SwigClassTransformer.klass, "initialize", VALUEFUNC(
|
18628
|
-
rb_define_method(SwigClassTransformer.klass, "transform_point", VALUEFUNC(
|
18629
|
-
rb_define_method(SwigClassTransformer.klass, "transform_points", VALUEFUNC(
|
19028
|
+
rb_define_alloc_func(SwigClassTransformer.klass, _gdal_wrap_Transformer_allocate);
|
19029
|
+
rb_define_method(SwigClassTransformer.klass, "initialize", VALUEFUNC(_gdal_wrap_new_Transformer), -1);
|
19030
|
+
rb_define_method(SwigClassTransformer.klass, "transform_point", VALUEFUNC(_gdal_wrap_Transformer_transform_point), -1);
|
19031
|
+
rb_define_method(SwigClassTransformer.klass, "transform_points", VALUEFUNC(_gdal_wrap_Transformer_transform_points), -1);
|
19032
|
+
rb_define_method(SwigClassTransformer.klass, "transform_geolocations", VALUEFUNC(_gdal_wrap_Transformer_transform_geolocations), -1);
|
18630
19033
|
SwigClassTransformer.mark = 0;
|
18631
19034
|
SwigClassTransformer.destroy = (void (*)(void *)) free_GDALTransformerInfoShadow;
|
18632
19035
|
SwigClassTransformer.trackObjects = 0;
|
18633
|
-
rb_define_module_function(mGdal, "gdalapply_geo_transform", VALUEFUNC(
|
18634
|
-
rb_define_module_function(mGdal, "gdalinv_geo_transform", VALUEFUNC(
|
18635
|
-
rb_define_module_function(mGdal, "gdalversion_info", VALUEFUNC(
|
18636
|
-
rb_define_module_function(mGdal, "all_register", VALUEFUNC(
|
18637
|
-
rb_define_module_function(mGdal, "gdaldestroy_driver_manager", VALUEFUNC(
|
18638
|
-
rb_define_module_function(mGdal, "get_cache_max", VALUEFUNC(
|
18639
|
-
rb_define_module_function(mGdal, "get_cache_used", VALUEFUNC(
|
18640
|
-
rb_define_module_function(mGdal, "set_cache_max", VALUEFUNC(
|
18641
|
-
rb_define_module_function(mGdal, "get_data_type_size", VALUEFUNC(
|
18642
|
-
rb_define_module_function(mGdal, "data_type_is_complex", VALUEFUNC(
|
18643
|
-
rb_define_module_function(mGdal, "get_data_type_name", VALUEFUNC(
|
18644
|
-
rb_define_module_function(mGdal, "get_data_type_by_name", VALUEFUNC(
|
18645
|
-
rb_define_module_function(mGdal, "get_color_interpretation_name", VALUEFUNC(
|
18646
|
-
rb_define_module_function(mGdal, "get_palette_interpretation_name", VALUEFUNC(
|
18647
|
-
rb_define_module_function(mGdal, "dec_to_dms", VALUEFUNC(
|
18648
|
-
rb_define_module_function(mGdal, "packed_dms_to_dec", VALUEFUNC(
|
18649
|
-
rb_define_module_function(mGdal, "dec_to_packed_dms", VALUEFUNC(
|
18650
|
-
rb_define_module_function(mGdal, "parse_xml_string", VALUEFUNC(
|
18651
|
-
rb_define_module_function(mGdal, "serialize_xml_tree", VALUEFUNC(
|
18652
|
-
rb_define_module_function(mGdal, "get_driver_count", VALUEFUNC(
|
18653
|
-
rb_define_module_function(mGdal, "get_driver_by_name", VALUEFUNC(
|
18654
|
-
rb_define_module_function(mGdal, "get_driver", VALUEFUNC(
|
18655
|
-
rb_define_module_function(mGdal, "open", VALUEFUNC(
|
18656
|
-
rb_define_module_function(mGdal, "open_shared", VALUEFUNC(
|
18657
|
-
rb_define_module_function(mGdal, "identify_driver", VALUEFUNC(
|
18658
|
-
rb_define_module_function(mGdal, "general_cmd_line_processor", VALUEFUNC(
|
19036
|
+
rb_define_module_function(mGdal, "gdalapply_geo_transform", VALUEFUNC(_gdal_wrap_gdalapply_geo_transform), -1);
|
19037
|
+
rb_define_module_function(mGdal, "gdalinv_geo_transform", VALUEFUNC(_gdal_wrap_gdalinv_geo_transform), -1);
|
19038
|
+
rb_define_module_function(mGdal, "gdalversion_info", VALUEFUNC(_gdal_wrap_gdalversion_info), -1);
|
19039
|
+
rb_define_module_function(mGdal, "all_register", VALUEFUNC(_gdal_wrap_all_register), -1);
|
19040
|
+
rb_define_module_function(mGdal, "gdaldestroy_driver_manager", VALUEFUNC(_gdal_wrap_gdaldestroy_driver_manager), -1);
|
19041
|
+
rb_define_module_function(mGdal, "get_cache_max", VALUEFUNC(_gdal_wrap_get_cache_max), -1);
|
19042
|
+
rb_define_module_function(mGdal, "get_cache_used", VALUEFUNC(_gdal_wrap_get_cache_used), -1);
|
19043
|
+
rb_define_module_function(mGdal, "set_cache_max", VALUEFUNC(_gdal_wrap_set_cache_max), -1);
|
19044
|
+
rb_define_module_function(mGdal, "get_data_type_size", VALUEFUNC(_gdal_wrap_get_data_type_size), -1);
|
19045
|
+
rb_define_module_function(mGdal, "data_type_is_complex", VALUEFUNC(_gdal_wrap_data_type_is_complex), -1);
|
19046
|
+
rb_define_module_function(mGdal, "get_data_type_name", VALUEFUNC(_gdal_wrap_get_data_type_name), -1);
|
19047
|
+
rb_define_module_function(mGdal, "get_data_type_by_name", VALUEFUNC(_gdal_wrap_get_data_type_by_name), -1);
|
19048
|
+
rb_define_module_function(mGdal, "get_color_interpretation_name", VALUEFUNC(_gdal_wrap_get_color_interpretation_name), -1);
|
19049
|
+
rb_define_module_function(mGdal, "get_palette_interpretation_name", VALUEFUNC(_gdal_wrap_get_palette_interpretation_name), -1);
|
19050
|
+
rb_define_module_function(mGdal, "dec_to_dms", VALUEFUNC(_gdal_wrap_dec_to_dms), -1);
|
19051
|
+
rb_define_module_function(mGdal, "packed_dms_to_dec", VALUEFUNC(_gdal_wrap_packed_dms_to_dec), -1);
|
19052
|
+
rb_define_module_function(mGdal, "dec_to_packed_dms", VALUEFUNC(_gdal_wrap_dec_to_packed_dms), -1);
|
19053
|
+
rb_define_module_function(mGdal, "parse_xml_string", VALUEFUNC(_gdal_wrap_parse_xml_string), -1);
|
19054
|
+
rb_define_module_function(mGdal, "serialize_xml_tree", VALUEFUNC(_gdal_wrap_serialize_xml_tree), -1);
|
19055
|
+
rb_define_module_function(mGdal, "get_driver_count", VALUEFUNC(_gdal_wrap_get_driver_count), -1);
|
19056
|
+
rb_define_module_function(mGdal, "get_driver_by_name", VALUEFUNC(_gdal_wrap_get_driver_by_name), -1);
|
19057
|
+
rb_define_module_function(mGdal, "get_driver", VALUEFUNC(_gdal_wrap_get_driver), -1);
|
19058
|
+
rb_define_module_function(mGdal, "open", VALUEFUNC(_gdal_wrap_open), -1);
|
19059
|
+
rb_define_module_function(mGdal, "open_shared", VALUEFUNC(_gdal_wrap_open_shared), -1);
|
19060
|
+
rb_define_module_function(mGdal, "identify_driver", VALUEFUNC(_gdal_wrap_identify_driver), -1);
|
19061
|
+
rb_define_module_function(mGdal, "general_cmd_line_processor", VALUEFUNC(_gdal_wrap_general_cmd_line_processor), -1);
|
18659
19062
|
}
|
18660
19063
|
|