Did I find the right examples for you? yes no      Crawl my project      Python Jobs

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

src/g/e/geonode-HEAD/geonode/contrib/services/views.py   geonode(Download)
from owslib.csw import CatalogueServiceWeb
 
from arcrest import Folder as ArcFolder, MapService as ArcMapService
 
from geoserver.catalog import Catalog, FailedRequestError
    if re.search("\/MapServer\/*(f=json)*", baseurl):
        #This is a MapService
        arcserver = ArcMapService(baseurl)
        return_json = [_process_arcgis_service(arcserver, owner=owner, parent=parent)]
 
def _register_arcgis_layers(service, arc=None):
    """
    Register layers from an ArcGIS REST service
    """
    arc = arc or ArcMapService(service.base_url)