rem stringlengths 1 322k | add stringlengths 0 2.05M | context stringlengths 4 228k | meta stringlengths 156 215 |
|---|---|---|---|
>>> int(bool(it.next())) 1 | >>> bool(it.next()) True | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> bool(it.next()) True | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 0 | >>> bool(it.next()) False | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 >>> int(bool(it.next())) 1 >>> int(bool(it.next())) 1 >>> int(bool(it.next())) 0 | >>> bool(it.next()) True >>> bool(it.next()) True >>> bool(it.next()) True >>> bool(it.next()) False | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 0 | >>> bool(it.next()) False | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 0 | >>> bool(it.next()) False | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
return 0 | return False | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
self._done = 1 self._last = 1 | self._done = True self._last = True | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
return 1 | return True | def next(self): """Advance the iterator, if possible. | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 >>> int(bool(it.even())) 0 >>> int(bool(it.next())) 1 >>> int(bool(it.even())) 1 >>> int(bool(it.next())) 1 >>> int(bool(it.even())) 0 | >>> it.next() True >>> it.even() False >>> it.next() True >>> it.even() True >>> it.next() True >>> it.even() False | def even(self): """Test whether the position is even | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 >>> int(bool(it.odd())) 1 >>> int(bool(it.next())) 1 >>> int(bool(it.odd())) 0 >>> int(bool(it.next())) 1 >>> int(bool(it.odd())) 1 """ return self._nextIndex % 2 | >>> it.next() True >>> it.odd() True >>> it.next() True >>> it.odd() False >>> it.next() True >>> it.odd() True """ return bool(self._nextIndex % 2) | def odd(self): """Test whether the position is odd | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def parity(self): """Return 'odd' or 'even' depending on the position's parity | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def parity(self): """Return 'odd' or 'even' depending on the position's parity | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def parity(self): """Return 'odd' or 'even' depending on the position's parity | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def letter(self, base=ord('a'), radix=26): """Get the iterator position as a lower-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def letter(self, base=ord('a'), radix=26): """Get the iterator position as a lower-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def letter(self, base=ord('a'), radix=26): """Get the iterator position as a lower-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Letter(self): """Get the iterator position as an upper-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Letter(self): """Get the iterator position as an upper-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Letter(self): """Get the iterator position as an upper-case letter | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Roman(self, rnvalues=( (1000,'M'),(900,'CM'),(500,'D'),(400,'CD'), (100,'C'),(90,'XC'),(50,'L'),(40,'XL'), (10,'X'),(9,'IX'),(5,'V'),(4,'IV'),(1,'I')) ): """Get the iterator position as an upper-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Roman(self, rnvalues=( (1000,'M'),(900,'CM'),(500,'D'),(400,'CD'), (100,'C'),(90,'XC'),(50,'L'),(40,'XL'), (10,'X'),(9,'IX'),(5,'V'),(4,'IV'),(1,'I')) ): """Get the iterator position as an upper-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def Roman(self, rnvalues=( (1000,'M'),(900,'CM'),(500,'D'),(400,'CD'), (100,'C'),(90,'XC'),(50,'L'),(40,'XL'), (10,'X'),(9,'IX'),(5,'V'),(4,'IV'),(1,'I')) ): """Get the iterator position as an upper-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def roman(self): """Get the iterator position as a lower-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def roman(self): """Get the iterator position as a lower-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def roman(self): """Get the iterator position as a lower-case roman numeral | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 >>> int(bool(it.start())) 1 >>> int(bool(it.next())) 1 >>> int(bool(it.start())) 0 >>> int(bool(it.next())) 1 >>> int(bool(it.start())) 0 | >>> it.next() True >>> it.start() True >>> it.next() True >>> it.start() False >>> it.next() True >>> it.start() False | def start(self): """Test whether the position is the first position | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.start())) 0 >>> int(bool(it.next())) 0 >>> int(bool(it.start())) 0 | >>> it.start() False >>> it.next() False >>> it.start() False | def start(self): """Test whether the position is the first position | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 >>> int(bool(it.end())) 0 >>> int(bool(it.next())) 1 >>> int(bool(it.end())) 0 >>> int(bool(it.next())) 1 >>> int(bool(it.end())) 1 | >>> it.next() True >>> it.end() False >>> it.next() True >>> it.end() False >>> it.next() True >>> it.end() True | def end(self): """Test whether the position is the last position | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.end())) 0 >>> int(bool(it.next())) 0 >>> int(bool(it.end())) 0 | >>> it.end() False >>> it.next() False >>> it.end() False | def end(self): """Test whether the position is the last position | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def item(self): """Get the iterator value | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def item(self): """Get the iterator value | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def item(self): """Get the iterator value | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
>>> int(bool(it.next())) 1 | >>> it.next() True | def item(self): """Get the iterator value | c2450cd2db47fce45ceeda283ccc45145d72ec81 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/c2450cd2db47fce45ceeda283ccc45145d72ec81/tales.py |
if text is _default or text is None: | if text is self.getDefault() or text is None: | def evaluateText(self, expr): text = self.evaluate(expr) if text is _default or text is None: return text return unicode(text) | bd50bc90e6497429e4d65bd6d1f36cb6f24bd02f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/bd50bc90e6497429e4d65bd6d1f36cb6f24bd02f/tales.py |
self.engine.registerFunctionNamespace('namespace',self.TestNameSpace) | self.engine.registerFunctionNamespace('namespace', self.TestNameSpace) | def __getitem__(self,key): if key=='jump': return self.context._d raise KeyError,key | d692531a62cd0219b1ceabeca3204154aff1f8de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/d692531a62cd0219b1ceabeca3204154aff1f8de/test_expressions.py |
self.assertEqual(expr(self.context), self.engine) | self.assertEqual(expr(self.context), self.context) | def testSetEngine(self): expr = self.engine.compile('adapterTest/namespace:engine') self.assertEqual(expr(self.context), self.engine) | d692531a62cd0219b1ceabeca3204154aff1f8de /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/9778/d692531a62cd0219b1ceabeca3204154aff1f8de/test_expressions.py |
return _gdal.OGR_G_Transform( self._o, srs_out._o ) | return _gdal.OGR_G_TransformTo( self._o, srs_out._o ) | def TransformTo( self, srs_out ): return _gdal.OGR_G_Transform( self._o, srs_out._o ) | 970a0703a7daab2be1072e7288595f4bcad9ece4 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/970a0703a7daab2be1072e7288595f4bcad9ece4/ogr.py |
outfile = 'graticule.shp' | outfile = None | def Usage(): print 'Usage: mkgraticule [-connected] [-s stepsize] [-substep substepsize]' print ' [-t_srs srs] [-range xmin ymin xmax ymax] outfile' print sys.exit(1) | d8243139a8d0becaa8218bda27d2282b6c2d4915 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/d8243139a8d0becaa8218bda27d2282b6c2d4915/mkgraticule.py |
Usage() | outfile = "graticule.shp" | def Usage(): print 'Usage: mkgraticule [-connected] [-s stepsize] [-substep substepsize]' print ' [-t_srs srs] [-range xmin ymin xmax ymax] outfile' print sys.exit(1) | d8243139a8d0becaa8218bda27d2282b6c2d4915 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/d8243139a8d0becaa8218bda27d2282b6c2d4915/mkgraticule.py |
geo_x = gt[0] + x * gt[1] + y * gt[2] geo_y = gt[3] + x * gt[4] + y * gt[5] | geo_x = gt[0] + (x+0.5) * gt[1] + (y+0.5) * gt[2] geo_y = gt[3] + (x+0.5) * gt[4] + (y+0.5) * gt[5] | def Usage(): print 'Usage: gdal2xyz.py [-skip factor] [-srcwin xoff yoff width height]' print ' [-band b] srcfile [dstfile]' print sys.exit( 1 ) | bcfa0f7d4968a4273cac1740555b297e2b3bb912 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/bcfa0f7d4968a4273cac1740555b297e2b3bb912/gdal2xyz.py |
ogr_module],debug=0 ) | ogr_module] ) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | fdc607d12431c24645162f032e32b67339c795d3 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/fdc607d12431c24645162f032e32b67339c795d3/setup.py |
xsize = int((lrx - ulx) / geotransform[1]) ysize = int((lry - uly) / geotransform[5]) | xsize = int((lrx - ulx) / geotransform[1] + 0.5) ysize = int((lry - uly) / geotransform[5] + 0.5) | def Usage(): print 'Usage: gdal_merge.py [-o out_filename] [-of out_format] [-co NAME=VALUE]*' print ' [-ps pixelsize_x pixelsize_y] [-separate] [-v] [-pct]' print ' [-ul_lr ulx uly lrx lry] [-n nodata_value] [-init value]' print ' [-ot datatype] [-createonly]... | b00dee5d2f1e88163e2359e795d6a610a6429260 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b00dee5d2f1e88163e2359e795d6a610a6429260/gdal_merge.py |
if o is None: | if o is None or o == 'NULL': | def CloneGeogCS(self): o = _gdal.OSRCloneGeogCS( self._o ) if o is None: return None else: return SpatialReference(obj=o) | ef52cf23ec8861eeaa41e26cf6e7f2d5107d7342 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/ef52cf23ec8861eeaa41e26cf6e7f2d5107d7342/osr.py |
if o is None: | if o is None or o == 'NULL': | def Clone(self): o = SpatialReference(obj=_gdal.OSRClone( self._o )) if o is None: return None else: return SpatialReference(obj=o) | ef52cf23ec8861eeaa41e26cf6e7f2d5107d7342 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/ef52cf23ec8861eeaa41e26cf6e7f2d5107d7342/osr.py |
proj_parms --- tuple of 16 coordinate system parameters (double | proj_parms --- tuple of 17 coordinate system parameters (double | def ImportFromPCI( self, proj, units = "METRE", proj_parms = None ): | 2e70134620ddc070cc43a2ac18c1d6c5a1a5e482 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2e70134620ddc070cc43a2ac18c1d6c5a1a5e482/osr.py |
is a tuple of 16 double precition floating point values with | is a tuple of 17 double precition floating point values with | def ExportToPCI(self): | 2e70134620ddc070cc43a2ac18c1d6c5a1a5e482 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2e70134620ddc070cc43a2ac18c1d6c5a1a5e482/osr.py |
srs_o = srs._o | srs_o = srs._o | def CreateLayer(self, name, srs = None, geom_type = wkbUnknown, options = [] ): if srs is None: srs_o = 'NULL' else: srs_o = srs._o md_c = _gdal.ListToStringList( options ) obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs_o, geom_type, md_c) _gdal.CSLDestroy(md_c) if obj is None or obj == 'NULL': raise ValueError, gd... | b6dce1fab7c1155e8de91e51628dc47434d77495 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b6dce1fab7c1155e8de91e51628dc47434d77495/ogr.py |
print ' [-list filename] [start_code [end_code]]' | print ' [-skip] [-list filename] [start_code [end_code]]' | def Usage(): print 'Usage: epsg_tr.py [-wkt] [-pretty_wkt] [-proj4] [-xml] [-postgis]' print ' [-list filename] [start_code [end_code]]' sys.exit(1) | 8409f97a1cc83675aaaec53f5be210030b1712fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/8409f97a1cc83675aaaec53f5be210030b1712fb/epsg_tr.py |
elif report_error: | else: | def trHandleCode(code, gen_dict_line, report_error, output_format): import time try: err = prj_srs.ImportFromEPSG( code ) except: err = 1 if err != 0 and report_error: print 'Unable to lookup ',code,', either not a valid EPSG' print 'code, or it the EPSG csv files are not accessable.' sys.exit(2) else: if output_for... | 8409f97a1cc83675aaaec53f5be210030b1712fb /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/8409f97a1cc83675aaaec53f5be210030b1712fb/epsg_tr.py |
srs_o = srs._o | srs_o = srs._o | def CreateLayer(self, name, srs = None, geom_type = wkbUnknown, options = [] ): if srs is None: srs_o = 'NULL' else: srs_o = srs._o md_c = _gdal.ListToStringList( options ) obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs_o, geom_type, md_c) _gdal.CSLDestroy(md_c) if obj is None or obj == 'NULL': raise ValueError, gd... | 1cfc5e2b37b86e3879f8f55398c058997e5e0d09 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/1cfc5e2b37b86e3879f8f55398c058997e5e0d09/ogr.py |
return _gdal.GDALColorTable( _ct ) | return ColorTable( _ct ) | def GetRasterColorTable(self): _ct = _gdal.GDALGetRasterColorTable( self._o ) if _ct is None: return None else: return _gdal.GDALColorTable( _ct ) | be57bde2efb135728e45d98f97e920a322b9679e /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/be57bde2efb135728e45d98f97e920a322b9679e/gdal.py |
tgw_uly = min(t_uly,self.uly) | def copy_into( self, t_fh, s_band = 1, t_band = 1, nodata_arg=None ): """ Copy this files image into target file. | 30aa108a592296b22280cd49c4941d9cc435649a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/30aa108a592296b22280cd49c4941d9cc435649a/gdal_merge.py | |
tgw_lry = max(t_lry,self.lry) | if t_geotransform[5] < 0: tgw_uly = min(t_uly,self.uly) tgw_lry = max(t_lry,self.lry) else: tgw_uly = max(t_uly,self.uly) tgw_lry = min(t_lry,self.lry) | def copy_into( self, t_fh, s_band = 1, t_band = 1, nodata_arg=None ): """ Copy this files image into target file. | 30aa108a592296b22280cd49c4941d9cc435649a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/30aa108a592296b22280cd49c4941d9cc435649a/gdal_merge.py |
if tgw_ulx >= tgw_lrx or tgw_uly <= tgw_lry: return 1 | if tgw_ulx >= tgw_lrx: return 1 if t_geotransform[5] < 0 and tgw_uly <= tgw_lry: return 1 if t_geotransform[5] > 0 and tgw_uly >= tgw_lry: return 1 | def copy_into( self, t_fh, s_band = 1, t_band = 1, nodata_arg=None ): """ Copy this files image into target file. | 30aa108a592296b22280cd49c4941d9cc435649a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/30aa108a592296b22280cd49c4941d9cc435649a/gdal_merge.py |
library_dirs = library_dirs) | library_dirs = library_dirs, extra_link_args = extra_link_args) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | cea2bfcbcc5b48f50112082906be6a20e420b298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/cea2bfcbcc5b48f50112082906be6a20e420b298/setup.py |
library_dirs = library_dirs) | library_dirs = library_dirs, extra_link_args = extra_link_args) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | cea2bfcbcc5b48f50112082906be6a20e420b298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/cea2bfcbcc5b48f50112082906be6a20e420b298/setup.py |
library_dirs = library_dirs) | library_dirs = library_dirs, extra_link_args = extra_link_args) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | cea2bfcbcc5b48f50112082906be6a20e420b298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/cea2bfcbcc5b48f50112082906be6a20e420b298/setup.py |
library_dirs = library_dirs) | library_dirs = library_dirs, extra_link_args = extra_link_args) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | cea2bfcbcc5b48f50112082906be6a20e420b298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/cea2bfcbcc5b48f50112082906be6a20e420b298/setup.py |
ogr_module] ) | ogr_module],debug=1 ) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | cea2bfcbcc5b48f50112082906be6a20e420b298 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/cea2bfcbcc5b48f50112082906be6a20e420b298/setup.py |
def Empty( self, other_geom ): return _gdal.OGR_G_Empty( self._o, other_geom._o ) | def Empty( self ): return _gdal.OGR_G_Empty( self._o ) | def Empty( self, other_geom ): return _gdal.OGR_G_Empty( self._o, other_geom._o ) | 2d645583352f81b75cac9e47f47da541fac9af27 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2d645583352f81b75cac9e47f47da541fac9af27/ogr.py |
_gdal.OGR_F_DumpReadable( self._o, None ) | _gdal.OGR_F_DumpReadable( self._o, 'NULL' ) | def DumpReadable(self): _gdal.OGR_F_DumpReadable( self._o, None ) | a175de67c37a255246b6f2f38e7bfb3baf7c7482 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/a175de67c37a255246b6f2f38e7bfb3baf7c7482/ogr.py |
if src_ds is None: | if src_ds is None or src_ds == 'NULL': | def RGBFile2PCTFile( src_filename, dst_filename ): src_ds = Open(src_filename) if src_ds is None: return 1 ct = ColorTable() err = ComputeMedianCutPCT( src_ds.GetRasterBand(1), src_ds.GetRasterBand(2), src_ds.GetRasterBand(3), 256, ct ) if err <> 0: return err gtiff_driver = GetDriverByName('GTiff') if gtiff_driver i... | 13acf88a0abb83d2ea2d7f24356ae1f003ca5bde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/13acf88a0abb83d2ea2d7f24356ae1f003ca5bde/gdal.py |
if target_ds is None: | if target_ds is None or target_ds == 'NULL': | def Create(self, filename, xsize, ysize, bands=1, datatype=GDT_Byte, options = []): target_ds = _gdal.GDALCreate( self._o, filename, xsize, ysize, bands, datatype, options ) | 13acf88a0abb83d2ea2d7f24356ae1f003ca5bde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/13acf88a0abb83d2ea2d7f24356ae1f003ca5bde/gdal.py |
if target_ds is None: | if target_ds is None or target_ds == 'NULL': | def CreateCopy(self, filename, source_ds, strict=1, options=[], callback = None, callback_data = None ): target_ds = _gdal.GDALCreateCopy( self._o, filename, source_ds._o, strict, options, callback, callback_data ) if target_ds is None: return None else: _gdal.GDALDereferenceDataset( target_ds ) return Dataset(target_d... | 13acf88a0abb83d2ea2d7f24356ae1f003ca5bde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/13acf88a0abb83d2ea2d7f24356ae1f003ca5bde/gdal.py |
if _ct is None: | if _ct is None or _ct == 'NULL': | def GetRasterColorTable(self): _ct = _gdal.GDALGetRasterColorTable( self._o ) if _ct is None: return None else: return ColorTable( _ct ) | 13acf88a0abb83d2ea2d7f24356ae1f003ca5bde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/13acf88a0abb83d2ea2d7f24356ae1f003ca5bde/gdal.py |
if _o is None: | if _o is None or _o == 'NULL': | def GetOverview(self, ov_index ): _o = _gdal.GDALGetOverview( self._o, ov_index ) if _o is None: return None else: return Band( _obj = _o ) | 13acf88a0abb83d2ea2d7f24356ae1f003ca5bde /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/13acf88a0abb83d2ea2d7f24356ae1f003ca5bde/gdal.py |
def AddPoint( self, x, y, z ): | def AddPoint( self, x, y, z=0 ): | def AddPoint( self, x, y, z ): return _gdal.OGR_G_AddPoint( self._o, x, y, z ) | b44daaa0bf060abb005aeac2c91150b435a88408 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b44daaa0bf060abb005aeac2c91150b435a88408/ogr.py |
ogr_module],debug=1 ) | ogr_module],debug=0 ) | def unique(list): """Stolen from MapScript setup script""" dict = {} for item in list: dict[item] = '' return dict.keys() | dd798babed855c832ea60e507e94cb6975b168ed /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/dd798babed855c832ea60e507e94cb6975b168ed/setup.py |
srs = 'NULL' | srs_o = 'NULL' else: srs_o = srs._o | def CreateLayer(self, name, srs = None, geom_type = wkbUnknown, options = [] ): if srs is None: srs = 'NULL' md_c = _gdal.ListToStringList( options ) obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs, geom_type, md_c) _gdal.CSLDestroy(md_c) if obj is None and obj != 'NULL': raise ValueError, gdal.GetLastErrorMsg() els... | 2a74fa4351219cbac5dad0fc8c547a043e240a1f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2a74fa4351219cbac5dad0fc8c547a043e240a1f/ogr.py |
obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs, geom_type, md_c) | obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs_o, geom_type, md_c) | def CreateLayer(self, name, srs = None, geom_type = wkbUnknown, options = [] ): if srs is None: srs = 'NULL' md_c = _gdal.ListToStringList( options ) obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs, geom_type, md_c) _gdal.CSLDestroy(md_c) if obj is None and obj != 'NULL': raise ValueError, gdal.GetLastErrorMsg() els... | 2a74fa4351219cbac5dad0fc8c547a043e240a1f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2a74fa4351219cbac5dad0fc8c547a043e240a1f/ogr.py |
if srs_o is not None: | if srs_o is not None and srs_o != 'NULL': | def GetSpatialReference( self ): srs_o = _gdal.OGR_G_GetSpatialReference( self._o ) if srs_o is not None: return osr.SpatialReference( srs_o ) else: return None | 2a74fa4351219cbac5dad0fc8c547a043e240a1f /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2a74fa4351219cbac5dad0fc8c547a043e240a1f/ogr.py |
ds_o = _gdal.OGROpen( filename, update, None ) if ds_o is None: | ds_o = _gdal.OGROpen( filename, update, 'NULL' ) if ds_o is None or ds_o == 'NULL': | def Open( filename, update = 0 ): ds_o = _gdal.OGROpen( filename, update, None ) if ds_o is None: raise ValueError, 'Unable to open: ' + filename else: return DataSource( ds_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if dr_o is None: | if dr_o is None or dr_o == 'NULL': | def GetDriver( driver_index ): dr_o = _gdal.OGRGetDriver( driver_index ) if dr_o is None: raise IndexError else: return Driver( dr_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if ds_o is None: | if ds_o is None or ds_o == 'NULL': | def Open( self, filename, update = 0 ): ds_o = _gdal.OGR_Dr_Open( self._o, filename, update ) if ds_o is None: return None else: return DataSource( ds_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if ds_o is None: return None | if ds_o is None or ds_o == 'NULL': raise ValueError, CPLGetLastErrorMsg() | def CreateDataSource( self, filename, options = None ): ds_o = _gdal.OGR_Dr_CreateDataSource( self._o, filename, "NULL" ) if ds_o is None: return None else: return DataSource( ds_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == iLayer: return self.GetLayer(i) return None | return self.GetLayerByName( iLayer ) | def GetLayer(self,iLayer=0): # If given a layer name, scan for it. if type(iLayer).__name__ == 'str': layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == iLayer: return self.GetLayer(i) return None l_obj = _gdal.OGR_DS_GetLayer( self._o, iLayer) if l_obj is not None: return... | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if l_obj is not None: | if l_obj is not None and l_obj != 'NULL': | def GetLayer(self,iLayer=0): # If given a layer name, scan for it. if type(iLayer).__name__ == 'str': layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == iLayer: return self.GetLayer(i) return None l_obj = _gdal.OGR_DS_GetLayer( self._o, iLayer) if l_obj is not None: return... | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
return None | raise IndexError, 'No layer %d on datasource' % iLayer def GetLayerByName(self,name): l_obj = _gdal.OGR_DS_GetLayerByName( self._o, name) if l_obj is not None and l_obj != 'NULL': return Layer( l_obj ) else: raise IndexError, 'No layer %s on datasource' % name | def GetLayer(self,iLayer=0): # If given a layer name, scan for it. if type(iLayer).__name__ == 'str': layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == iLayer: return self.GetLayer(i) return None l_obj = _gdal.OGR_DS_GetLayer( self._o, iLayer) if l_obj is not None: return... | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
def GetLayerByName(self,name): layer_count = self.GetLayerCount() for i in range(layer_count): if self.GetLayer(i).GetName() == name: return self.GetLayer(i) return None | def DeleteLayer( self, iLayer ): return _gdal.OGR_DS_DeleteLayer( self._o, iLayer ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py | |
if obj is None: return None | if obj is None and obj != 'NULL': raise ValueError, gdal.GetLastErrorMsg() | def CreateLayer(self, name, srs = None, geom_type = wkbUnknown, options = [] ): obj = _gdal.OGR_DS_CreateLayer( self._o, name, srs, geom_type, options) if obj is None: return None else: return Layer( obj = obj ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
def ExecuteSQL( self, statement, region = None, dialect = "" ): | def ExecuteSQL( self, statement, region = 'NULL', dialect = "" ): | def ExecuteSQL( self, statement, region = None, dialect = "" ): l_obj = _gdal.OGR_DS_ExecuteSQL( self._o, statement, region, dialect ) if l_obj is not None: return Layer( l_obj ) else: return None | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if l_obj is not None: | if l_obj is not None and l_obj != 'NULL': | def ExecuteSQL( self, statement, region = None, dialect = "" ): l_obj = _gdal.OGR_DS_ExecuteSQL( self._o, statement, region, dialect ) if l_obj is not None: return Layer( l_obj ) else: return None | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
def ReleaseResultsSet( self, layer ): _gdal.OGR_DS_ReleaseResultsSet( self._o, layer._o ) | def ReleaseResultSet( self, layer ): _gdal.OGR_DS_ReleaseResultSet( self._o, layer._o ) | def ReleaseResultsSet( self, layer ): _gdal.OGR_DS_ReleaseResultsSet( self._o, layer._o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
geom_o = None | geom_o = 'NULL' | def SetSpatialFilter( self, geom ): if geom is None: geom_o = None else: geom_o = geom._o _gdal.OGR_L_SetSpatialFilter( self._o, geom_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if geom_o is None: | if geom_o is None or geom_o == 'NULL': | def GetSpatialFilter( self ): geom_o = _gdal.OGR_L_GetSpatialGeometry( self._o ) if geom_o is None: return None else: return Geometry( _obj = geom_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if f_o is None: | if f_o is None or f_o == 'NULL': | def GetFeature( self, fid ): f_o = _gdal.OGR_L_GetFeature( self._o, fid ) if f_o is None: return None else: return Feature( obj = f_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
if f_o is None: | if f_o is None or f_o == 'NULL': | def GetNextFeature( self ): f_o = _gdal.OGR_L_GetNextFeature( self._o ) if f_o is None: return None else: return Feature( obj = f_o ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
raise ValueError, 'No implemented yet' | raise ValueError, 'Not implemented yet' | def GetExtent( self, force = 1 ): raise ValueError, 'No implemented yet' | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
def SetPoint( self, i, x, y, z ): | def SetPoint( self, i, x, y, z = 0): | def SetPoint( self, i, x, y, z ): return _gdal.OGR_G_SetPoint( self._o, i, x, y, z ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
def AddPoint( self, x, y, z ): | def AddPoint( self, x, y, z = 0 ): | def AddPoint( self, x, y, z ): return _gdal.OGR_G_AddPoint( self._o, x, y, z ) | b7d449ee48f4c53c685bdaab9372c0c76d37109c /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/b7d449ee48f4c53c685bdaab9372c0c76d37109c/ogr.py |
print cb_data, complete | print '%s %3d%%' % (cb_data, int(complete*100.0)) | def progress_cb( complete, message, cb_data ): print cb_data, complete | 2cfdc8aad409b42c37320dc086e3f14eac2f9470 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2cfdc8aad409b42c37320dc086e3f14eac2f9470/rgb2pct.py |
256, ct, | color_count, ct, | def Usage(): print 'Usage: rgb2pct.py [-n colors] [-of format] source_file dest_file' sys.exit(1) | 2cfdc8aad409b42c37320dc086e3f14eac2f9470 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2cfdc8aad409b42c37320dc086e3f14eac2f9470/rgb2pct.py |
gtiff_driver.Delete( tif_filename ) | def Usage(): print 'Usage: rgb2pct.py [-n colors] [-of format] source_file dest_file' sys.exit(1) | 2cfdc8aad409b42c37320dc086e3f14eac2f9470 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2cfdc8aad409b42c37320dc086e3f14eac2f9470/rgb2pct.py | |
if i > 0 & i <= self.RasterCount: | if i > 0 and i <= self.RasterCount: | def GetRasterBand(self, i): if i > 0 & i <= self.RasterCount: return self._band[i-1] else: return None | 0fc2f396f7df6b9ef0fa40b15453aaf77e9ac823 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/0fc2f396f7df6b9ef0fa40b15453aaf77e9ac823/gdal.py |
if geom_o is None: | if geom_o is None or geom_o == 'NULL': | def GetGeometryRef( self ): geom_o = _gdal.OGR_F_GetGeometryRef( self._o ) | d8e55dda26898d443f24fc895f23769a8cb89ab7 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/d8e55dda26898d443f24fc895f23769a8cb89ab7/ogr.py |
_obj = _gdal.OGR_G_CreateFromWkb( bin_string, srs ) | if srs is not None: srs_o = srs._o else: srs_o = '' _obj = _gdal.OGR_G_CreateFromWkb( bin_string, srs_o ) | def CreateGeometryFromWkb( bin_string, srs = None ): _obj = _gdal.OGR_G_CreateFromWkb( bin_string, srs ) return Geometry( obj = _obj ) | 2aad2d558de44aff16e65df7a15187b12ce9076a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2aad2d558de44aff16e65df7a15187b12ce9076a/ogr.py |
_obj = _Gdal.OGR_G_CreateFromWkt( string, srs ) | if srs is not None: srs_o = srs._o else: srs_o = '' _obj = _gdal.OGR_G_CreateFromWkt( string, srs_o ) | def CreateGeometryFromWkt( string, srs = None ): _obj = _Gdal.OGR_G_CreateFromWkt( string, srs ) return Geometry( obj = _obj ) | 2aad2d558de44aff16e65df7a15187b12ce9076a /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/2aad2d558de44aff16e65df7a15187b12ce9076a/ogr.py |
bands = 1 | bands = file_infos[0].bands | def Usage(): print 'Usage: gdal_merge.py [-o out_filename] [-f out_format] [-v] [-pct]' print ' [-ps pixelsize_x pixelsize_y] [-separate]' print ' [-ul_lr ulx uly lrx lry] [-n nodata_value]' print ' input_files' print | fc1eaf970c5e8dad440efcc0dbe06b3683311a02 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/fc1eaf970c5e8dad440efcc0dbe06b3683311a02/gdal_merge.py |
fi.copy_into( t_fh, 1, 1, nodata ) | for band in range(1, bands+1): fi.copy_into( t_fh, band, band, nodata ) | def Usage(): print 'Usage: gdal_merge.py [-o out_filename] [-f out_format] [-v] [-pct]' print ' [-ps pixelsize_x pixelsize_y] [-separate]' print ' [-ul_lr ulx uly lrx lry] [-n nodata_value]' print ' input_files' print | fc1eaf970c5e8dad440efcc0dbe06b3683311a02 /local1/tlutelli/issta_data/temp/all_python//python/2006_temp/2006/10289/fc1eaf970c5e8dad440efcc0dbe06b3683311a02/gdal_merge.py |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.