Did I find the right examples for you? yes no

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/h/i/Hillup-0.8.1/Hillup/data/__init__.py   Hillup(Download)
from sys import modules
 
import NED10m, NED100m, NED1km, SRTM1, SRTM3, VFP, Worldwide
 
from ModestMaps.Core import Coordinate
    """
    if zoom <= SRTM3.ideal_zoom:
        return [(SRTM3, 1)]
 
    elif SRTM3.ideal_zoom < zoom and zoom < SRTM1.ideal_zoom:
        #bottom, top = SRTM3, SRTM1 # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m
    elif zoom == SRTM1.ideal_zoom:
        #return [(SRTM1, 1)] # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m
 
    elif SRTM1.ideal_zoom < zoom and zoom < NED10m.ideal_zoom:
        #bottom, top = SRTM1, NED10m # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m

src/d/e/DEM-Tools-HEAD/Hillup/data/__init__.py   DEM-Tools(Download)
from sys import modules
 
import NED10m, NED100m, NED1km, SRTM1, SRTM3, VFP, Worldwide
 
from ModestMaps.Core import Coordinate
    """
    if zoom <= SRTM3.ideal_zoom:
        return [(SRTM3, 1)]
 
    elif SRTM3.ideal_zoom < zoom and zoom < SRTM1.ideal_zoom:
        #bottom, top = SRTM3, SRTM1 # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m
    elif zoom == SRTM1.ideal_zoom:
        #return [(SRTM1, 1)] # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m
 
    elif SRTM1.ideal_zoom < zoom and zoom < NED10m.ideal_zoom:
        #bottom, top = SRTM1, NED10m # SRTM1 looks terrible
        bottom, top = SRTM3, NED10m