diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9adbce0..de6dde4 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -15,13 +15,12 @@ concurrency: cancel-in-progress: true jobs: + # Tests for GRASS 8.4 tests: runs-on: ubuntu-latest steps: - name: Checkout uses: actions/checkout@v4 - # with: - # path: "." - name: Set up Docker Buildx uses: docker/setup-buildx-action@v3 - name: Tests of actinia-module-plugin @@ -34,3 +33,25 @@ jobs: file: docker/actinia-module-plugin-test/Dockerfile no-cache: true # pull: true + + # Tests for GRASS 8.3 + tests-G83: + runs-on: ubuntu-latest + steps: + - name: Checkout + uses: actions/checkout@v4 + - name: Set up Docker Buildx + uses: docker/setup-buildx-action@v3 + - name: Replace run integration test command + run: | + sed -i "s+mundialis/actinia:latest+mundialis/actinia:2.9.2_G83+g" docker/actinia-module-plugin-test/Dockerfile + - name: Tests of actinia-module-plugin + id: docker_build + uses: docker/build-push-action@v6 + with: + push: false + tags: actinia-module-plugin-test:alpine + context: . + file: docker/actinia-module-plugin-test/Dockerfile + no-cache: true + # pull: true diff --git a/.gitignore b/.gitignore index eb65e97..00723a4 100644 --- a/.gitignore +++ b/.gitignore @@ -53,3 +53,7 @@ resp.json # docker !docker/actinia-module-plugin-test/actinia-module-plugin-test.cfg + +# linting with shared config file +ruff-github-workflows.toml +ruff-merged.toml diff --git a/actinia-module.md b/actinia-module.md index 8518384..ef47a3c 100644 --- a/actinia-module.md +++ b/actinia-module.md @@ -499,8 +499,8 @@ List / Describe combined Execute module -* POST /locations/{location_name}/processing_export -* POST /locations/{location_name}/mapsets/{mapset_name}/processing (TODO) +* POST /projects/{project_name}/processing_export +* POST /projects/{project_name}/mapsets/{mapset_name}/processing (TODO) Full API docs diff --git a/src/actinia_module_plugin/api/processing.py b/src/actinia_module_plugin/api/processing.py index 793cc87..521583e 100644 --- a/src/actinia_module_plugin/api/processing.py +++ b/src/actinia_module_plugin/api/processing.py @@ -208,15 +208,15 @@ def __init__(self): ResourceBase.__init__(self) @swagger.doc(deepcopy(SCHEMA_DOC_EPHEMERAL_PROCESSING_WITH_EXPORT)) - def post(self, location_name): + def post(self, project_name): """ - Execute a user defined process chain in an ephemeral location/mapset + Execute a user defined process chain in an ephemeral project/mapset and store the processing results for download. """ preprocess_kwargs = {} preprocess_kwargs["has_json"] = True - preprocess_kwargs["location_name"] = location_name + preprocess_kwargs["project_name"] = project_name start_job = start_job_ephemeral_processing_with_export @@ -236,7 +236,7 @@ def __init__(self): ResourceBase.__init__(self) @swagger.doc(deepcopy(SCHEMA_DOC_PERSISTENT_PROCESSING)) - def post(self, location_name, mapset_name): + def post(self, project_name, mapset_name): """ Execute a user defined process chain that creates a new mapset or runs in an existing one. @@ -244,7 +244,7 @@ def post(self, location_name, mapset_name): preprocess_kwargs = {} preprocess_kwargs["has_json"] = True - preprocess_kwargs["location_name"] = location_name + preprocess_kwargs["project_name"] = project_name preprocess_kwargs["mapset_name"] = mapset_name start_job = start_job_persistent_processing diff --git a/src/actinia_module_plugin/core/modules/processor.py b/src/actinia_module_plugin/core/modules/processor.py index 8dd47e2..aaccfd3 100644 --- a/src/actinia_module_plugin/core/modules/processor.py +++ b/src/actinia_module_plugin/core/modules/processor.py @@ -66,41 +66,41 @@ def initGrass(self): """ * not using enqueue_job to get always a response - * the function creates a new location cause not all users can access - a location + * the function creates a new project cause not all users can access + a project """ - # check if location exists - location_name = "location_for_listing_modules_" + str(uuid.uuid4()) - # '/actinia_core/grassdb/location_for_listing_modules' - location = os.path.join(global_config.GRASS_DATABASE, location_name) - # Check the location path - if os.path.isdir(location): + # check if project exists + project_name = "project_for_listing_modules_" + str(uuid.uuid4()) + # '/actinia_core/grassdb/project_for_listing_modules' + project = os.path.join(global_config.GRASS_DATABASE, project_name) + # Check the project path + if os.path.isdir(project): msg = ( - "Unable to create location. " - "Location <%s> exists in global database." % location_name + "Unable to create project. " + "Project <%s> exists in global database." % project_name ) return self.get_error_response(message=msg) # Check also for the user database - # '/actinia_core/userdata/superadmin/location_for_listing_modules' - location = os.path.join( - self.grass_user_data_base, self.user_group, location_name + # '/actinia_core/userdata/superadmin/project_for_listing_modules' + project = os.path.join( + self.grass_user_data_base, self.user_group, project_name ) - # Check the location path - if os.path.isdir(location): + # Check the project path + if os.path.isdir(project): msg = ( - "Unable to create location. " - "Location <%s> exists in user database." % location_name + "Unable to create project. " + "Project <%s> exists in user database." % project_name ) return self.get_error_response(message=msg) - # create new location cause not each user can access a location + # create new project cause not each user can access a project if not os.path.isdir( os.path.join(self.grass_user_data_base, self.user_group) ): os.mkdir(os.path.join(self.grass_user_data_base, self.user_group)) - os.mkdir(location) - mapset = os.path.join(location, "PERMANENT") + os.mkdir(project) + mapset = os.path.join(project, "PERMANENT") os.mkdir(mapset) with open(os.path.join(mapset, "DEFAULT_WIND"), "w") as out: wind = ( @@ -134,30 +134,30 @@ def initGrass(self): ) out.write(wind) - return location_name + return project_name -def deinitGrass(self, location_name): +def deinitGrass(self, project_name): """ - * the function deletes above location + * the function deletes above project """ - # remove location - location = os.path.join(global_config.GRASS_DATABASE, location_name) - if os.path.isdir(location): - shutil.rmtree(location) - location = os.path.join( - self.grass_user_data_base, self.user_group, location_name + # remove project + project = os.path.join(global_config.GRASS_DATABASE, project_name) + if os.path.isdir(project): + shutil.rmtree(project) + project = os.path.join( + self.grass_user_data_base, self.user_group, project_name ) - if os.path.isdir(location): - shutil.rmtree(location) + if os.path.isdir(project): + shutil.rmtree(project) # del - # self.user_credentials["permissions"]['accessible_datasets'][location_name] + # self.user_credentials["permissions"]['accessible_datasets'][project_name] class EphemeralModuleLister(EphemeralProcessing): """ Overwrites EphemeralProcessing from actinia_core to bypass permission - check for modules and temporary location, needed for self-description + check for modules and temporary project, needed for self-description """ def __init__(self, *args, pc): @@ -188,20 +188,20 @@ def run_process_chain(self, process_chain): """ Used to list all GRASS modules, to describe a certain GRASS module and to generate actinia module description out of containing GRASS modules. - ATTENTION! This call skips permission checks, so temporary location can be + ATTENTION! This call skips permission checks, so temporary project can be used. If user is not allowed to use GRASS modules used here, this will be allowed in these cases. """ - location_name = initGrass(self) + project_name = initGrass(self) - # self.user_credentials["permissions"]['accessible_datasets'][location_name] + # self.user_credentials["permissions"]['accessible_datasets'][project_name] # = ['PERMANENT'] rdc = self.preprocess( has_json=False, has_xml=False, - location_name=location_name, + project_name=project_name, mapset_name="PERMANENT", ) @@ -215,6 +215,6 @@ def list_modules(*args, process_chain=process_chain): else: http_code, response_model = pickle.loads(self.response_data) - deinitGrass(self, location_name) + deinitGrass(self, project_name) return response_model diff --git a/src/actinia_module_plugin/endpoints.py b/src/actinia_module_plugin/endpoints.py index 660bf33..c31595a 100644 --- a/src/actinia_module_plugin/endpoints.py +++ b/src/actinia_module_plugin/endpoints.py @@ -19,8 +19,8 @@ Add endpoints to flask app with endpoint definitions and routes """ -__author__ = "Carmen Tawalika" -__copyright__ = "2018-2021 mundialis GmbH & Co. KG" +__author__ = "Carmen Tawalika, Anika Weinmann" +__copyright__ = "2018-2024 mundialis GmbH & Co. KG" __license__ = "Apache-2.0" @@ -45,6 +45,36 @@ from actinia_module_plugin.api.actinia_templates import ActiniaTemplate from actinia_module_plugin.api.actinia_templates import ActiniaTemplateId +from actinia_core.endpoints import get_endpoint_class_name + + +def create_project_endpoints(apidoc, projects_url_part="projects"): + """ + Function to add resources with "projects" inside the endpoint url. + + Args: + apidoc (flask_restful_swagger_2.Api): Flask api + projects_url_part (str): The name of the projects inside the endpoint + URL; to add deprecated location endpoints set + it to "locations" + """ + + apidoc.add_resource( + GdiAsyncEphemeralExportResource, + f"/{projects_url_part}//processing_export", + endpoint=get_endpoint_class_name( + GdiAsyncEphemeralExportResource, projects_url_part + ), + ) + apidoc.add_resource( + GdiAsyncPersistentResource, + f"/{projects_url_part}//mapsets/" + "/processing", + endpoint=get_endpoint_class_name( + GdiAsyncPersistentResource, projects_url_part + ), + ) + def create_endpoints(flask_api): # app = flask_api.app @@ -76,15 +106,9 @@ def create_endpoints(flask_api): apidoc.add_resource(ListVirtualModules, "/modules") apidoc.add_resource(DescribeVirtualModule, "/modules/") - apidoc.add_resource( - GdiAsyncEphemeralExportResource, - "/locations//processing_export", - ) - - apidoc.add_resource( - GdiAsyncPersistentResource, - "/locations//mapsets//processing", - ) + # add deprecated location and project endpoints + create_project_endpoints(apidoc) + create_project_endpoints(apidoc, projects_url_part="locations") apidoc.add_resource(ActiniaTemplate, "/actinia_templates") apidoc.add_resource(ActiniaTemplateId, "/actinia_templates/") diff --git a/src/actinia_module_plugin/static/index.html b/src/actinia_module_plugin/static/index.html index ca25bd2..9735f31 100644 --- a/src/actinia_module_plugin/static/index.html +++ b/src/actinia_module_plugin/static/index.html @@ -113,10 +113,10 @@
Operations
Query the Google Landsat archives using time interval, lat/lon coordinates, scene id, spacecraft id and cloud cover.
  • - Download and import Landsat scenes into a new mapset and create a space time dataset for each imported band. + Download and import Landsat scenes into a new mapset and create a space time dataset for each imported band.
  • - Download and import Sentinel2A scenes into a new mapset and create a space-time raster dataset for each imported band. + Download and import Sentinel2A scenes into a new mapset and create a space-time raster dataset for each imported band.
  • NDVI computation of an arbitrary Sentinel-2 scene. @@ -133,19 +133,19 @@
    Operations
    - Location Management + Project Management
    @@ -153,25 +153,25 @@
    Operations
    Mapset Management @@ -179,28 +179,28 @@
    Operations
    Processing @@ -208,46 +208,46 @@
    Operations
    Raster Management @@ -255,16 +255,16 @@
    Operations
    Raster Statistics @@ -272,28 +272,28 @@
    Operations
    STRDS Management @@ -301,16 +301,16 @@
    Operations
    STRDS Sampling @@ -318,16 +318,16 @@
    Operations
    STRDS Statistics @@ -335,25 +335,25 @@
    Operations
    Vector Management @@ -444,7 +444,7 @@
    Operations
    Schema Definitions
    - LocationListResponseModel + ProjectListResponseModel SimpleResponseModel MapsetInfoResponseModel ProcessLogModel @@ -550,16 +550,16 @@

    Examples:

    • -

      List all locations that are available in the actinia persistent database:

        curl -X GET "https://actinia.mundialis.de/api/v3/locations" -H  "authorization: Basic ..."
      +                    

      List all projects that are available in the actinia persistent database:

        curl -X GET "https://actinia.mundialis.de/api/v3/projects" -H  "authorization: Basic ..."
       
    • -

      List all mapsets in the location latlong_wgs84:

        curl -X GET "https://actinia.mundialis.de/api/v3/locations/latlong_wgs84/mapsets" -H  "authorization: Basic ..."
      +                    

      List all mapsets in the project latlong_wgs84:

        curl -X GET "https://actinia.mundialis.de/api/v3/projects/latlong_wgs84/mapsets" -H  "authorization: Basic ..."
       
    • -

      List all space-time raster datasets (STRDS) in location latlong_wgs84 and mapset Sentinel_timeseries:

        curl -X GET "https://actinia.mundialis.de/api/v3/locations/latlong_wgs84/mapsets/Sentinel_timeseries/strds" -H  "authorization: Basic ..."
      +                    

      List all space-time raster datasets (STRDS) in project latlong_wgs84 and mapset Sentinel_timeseries:

        curl -X GET "https://actinia.mundialis.de/api/v3/projects/latlong_wgs84/mapsets/Sentinel_timeseries/strds" -H  "authorization: Basic ..."
       
    • -

      List all raster map layers of the STRDS:

        curl -X GET "https://actinia.mundialis.de/api/v3/locations/latlong_wgs84/mapsets/Sentinel_timeseries/strds/S2A_B04/raster_layers" -H  "authorization: Basic ..."
      +                    

      List all raster map layers of the STRDS:

        curl -X GET "https://actinia.mundialis.de/api/v3/projects/latlong_wgs84/mapsets/Sentinel_timeseries/strds/S2A_B04/raster_layers" -H  "authorization: Basic ..."
       

    @@ -2867,8 +2867,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -3027,8 +3027,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -3534,7 +3534,7 @@
    Response Example "run_time": 0.15161657333374023, "stderr": [ "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found", - "Creating new GRASS GIS location/mapset...", + "Creating new GRASS GIS project/mapset...", "Cleaning up temporary files...", "" ], @@ -3876,8 +3876,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -4165,7 +4165,7 @@
    Response Example -
    +
    @@ -4181,14 +4181,14 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/landsat_import + /projects/{project_name}/mapsets/{mapset_name}/landsat_import

    -

    Download and import Landsat scenes into a new mapset and create a space-time raster dataset for each imported band. The resulting data will be located in a persistent user database. The location name is part of the path and must exist. The mapset will be created while importing and should not already exist in the location. The names of theLandsat scenes that should be downloaded must be specified in the HTTP body as application/json content. In addition, the basename of the STRDS that should manage the Landsat scenes must be provided in the application/json content. For each band a separate strds will be cerated and the STRDS base name will be extended with the band number.This call is performed asynchronously. The provided resource URL must be pulled to receive the status of the import. The data is available in the provided location/mapset, after the download and import finished. Minimum required user role: user.

    +

    Download and import Landsat scenes into a new mapset and create a space-time raster dataset for each imported band. The resulting data will be located in a persistent user database. The project name is part of the path and must exist. The mapset will be created while importing and should not already exist in the project. The names of theLandsat scenes that should be downloaded must be specified in the HTTP body as application/json content. In addition, the basename of the STRDS that should manage the Landsat scenes must be provided in the application/json content. For each band a separate strds will be cerated and the STRDS base name will be extended with the band number.This call is performed asynchronously. The provided resource URL must be pulled to receive the status of the import. The data is available in the provided project/mapset, after the download and import finished. Minimum required user role: user.

    @@ -4213,7 +4213,7 @@

    -
    location_name: +
    project_name: string @@ -4223,7 +4223,7 @@

    in path

    -

    The location name to import the Landsat scenes in

    +

    The project name to import the Landsat scenes in

    @@ -4315,8 +4315,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -4348,8 +4348,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -4409,7 +4409,7 @@
    Response Example
    -
    +
    @@ -4425,14 +4425,14 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/sentinel2_import + /projects/{project_name}/mapsets/{mapset_name}/sentinel2_import

    -

    Download and import Sentinel2A scenes into a new mapset and create a space-time raster dataset for each imported band. The resulting data will be located in a persistent user database. The location name is part of the path and must exist. The mapset will be created while importing and should not already exist in the location. The names of theSentinel-2 scenes and the band names that should be downloaded must be specified in the HTTP body as application/json content. In addition, the names of the STRDS that should manage the sentinel scenes must be provided in the application/json content. For each band a separate STRDS name must be provided.This call is performed asynchronously. The provided resource URL must be pulled to receive the status of the import. The data is available in the provided location/mapset, after the download and import finished. Minimum required user role: user.

    +

    Download and import Sentinel2A scenes into a new mapset and create a space-time raster dataset for each imported band. The resulting data will be located in a persistent user database. The project name is part of the path and must exist. The mapset will be created while importing and should not already exist in the project. The names of theSentinel-2 scenes and the band names that should be downloaded must be specified in the HTTP body as application/json content. In addition, the names of the STRDS that should manage the sentinel scenes must be provided in the application/json content. For each band a separate STRDS name must be provided.This call is performed asynchronously. The provided resource URL must be pulled to receive the status of the import. The data is available in the provided project/mapset, after the download and import finished. Minimum required user role: user.

    @@ -4457,7 +4457,7 @@

    -
    location_name: +
    project_name: string @@ -4467,7 +4467,7 @@

    in path

    -

    The location name to import the Sentinel2A scenes in

    +

    The project name to import the Sentinel2A scenes in

    @@ -4560,8 +4560,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -4593,8 +4593,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -4879,7 +4879,7 @@
    Response Example "run_time": 0.36118006706237793, "stderr": [ "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found", - "Creating new GRASS GIS location/mapset...", + "Creating new GRASS GIS project/mapset...", "Cleaning up temporary files...", "" ], @@ -4895,9 +4895,9 @@
    Response Example "return_code": 0, "run_time": 0.3551313877105713, "stderr": [ - "WARNING: Projection of dataset does not appear to match current location.", + "WARNING: Projection of dataset does not appear to match current project.", "", - "Location PROJ_INFO is:", + "Project PROJ_INFO is:", "name: WGS 84 / UTM zone 50N", "datum: wgs84", "ellps: wgs84", @@ -5351,8 +5351,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -5637,7 +5637,7 @@
    Response Example "run_time": 0.36118006706237793, "stderr": [ "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found", - "Creating new GRASS GIS location/mapset...", + "Creating new GRASS GIS project/mapset...", "Cleaning up temporary files...", "" ], @@ -5653,9 +5653,9 @@
    Response Example "return_code": 0, "run_time": 0.3551313877105713, "stderr": [ - "WARNING: Projection of dataset does not appear to match current location.", + "WARNING: Projection of dataset does not appear to match current project.", "", - "Location PROJ_INFO is:", + "Project PROJ_INFO is:", "name: WGS 84 / UTM zone 50N", "datum: wgs84", "ellps: wgs84", @@ -6109,8 +6109,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -6537,31 +6537,31 @@
    Response Example
    -

    Location Management

    -
    +

    Project Management

    +

    - Get a list of all available locations + Get a list of all available projects

    GET - /locations + /projects
    -

    Get a list of all available locations that are located in the GRASS database and the user has access to. Minimum required user role: user.

    +

    Get a list of all available projects that are located in the GRASS database and the user has access to. Minimum required user role: user.

    @@ -6577,13 +6577,13 @@

    200 OK

    -

    This response returns a list of location names

    +

    This response returns a list of project names

    @@ -6611,7 +6611,7 @@
    Response Example
    {
    -  "locations": [
    +  "projects": [
         "nc_spm_08",
         "latlong_wgs84",
         "ECAD"
    @@ -6640,30 +6640,30 @@ 
    Response Example

    -
    +

    - Delete an existing location and everything inside from the user database. + Delete an existing project and everything inside from the user database.

    DELETE - /locations/{location_name} + /projects/{project_name}
    -

    Delete an existing location and everything inside from the user database. Minimum required user role: admin.

    +

    Delete an existing project and everything inside from the user database. Minimum required user role: admin.

    @@ -6672,7 +6672,7 @@

    -
    location_name: +
    project_name: string @@ -6682,7 +6682,7 @@

    in path

    -

    The name of the location to be deleted

    +

    The name of the project to be deleted

    @@ -6703,7 +6703,7 @@

    -

    Success message for location deletion

    +

    Success message for project deletion

    @@ -6756,30 +6756,30 @@
    Response Example

    -
    +

    - Create a new location based on EPSG code in the user database. + Create a new project based on EPSG code in the user database.

    POST - /locations/{location_name} + /projects/{project_name}
    -

    Create a new location based on EPSG code in the user database. Minimum required user role: admin.

    +

    Create a new project based on EPSG code in the user database. Minimum required user role: admin.

    @@ -6804,7 +6804,7 @@

    -
    location_name: +
    project_name: string @@ -6814,7 +6814,7 @@

    in path

    -

    The name of the location to be created

    +

    The name of the project to be created

    @@ -6851,7 +6851,7 @@

    Request Example
    -

    Create a new location based on EPSG code

    +

    Create a new project based on EPSG code

    @@ -6884,8 +6884,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -6917,8 +6917,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -6940,30 +6940,30 @@
    Response Example
    -
    +

    - Get the location projection and current computational region of the PERMANENT mapset + Get the project projection and current computational region of the PERMANENT mapset

    GET - /locations/{location_name}/info + /projects/{project_name}/info
    -

    Get the location projection and current computational region of the PERMANENT mapset. Minimum required user role: user.

    +

    Get the project projection and current computational region of the PERMANENT mapset. Minimum required user role: user.

    @@ -6972,7 +6972,7 @@

    -
    location_name: +
    project_name: string @@ -6983,7 +6983,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -7004,7 +7004,7 @@

    -

    The location projection and current computational region of the PERMANENT mapset

    +

    The project projection and current computational region of the PERMANENT mapset

    @@ -7037,8 +7037,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/info", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/info" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/info", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/info" }, "datetime": "2018-05-02 10:53:20.392509", "http_code": 200, @@ -7137,8 +7137,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -7161,7 +7161,7 @@
    Response Example

    Mapset Management

    -
    +
    @@ -7171,20 +7171,20 @@

    -->

    - Get a list of all mapsets that are located in a specific location. + Get a list of all mapsets that are located in a specific project.

    GET - /locations/{location_name}/mapsets + /projects/{project_name}/mapsets
    -

    Get a list of all mapsets that are located in a specific location. Minimum required user role: user.

    +

    Get a list of all mapsets that are located in a specific project. Minimum required user role: user.

    @@ -7193,7 +7193,7 @@

    -
    location_name: +
    project_name: string @@ -7204,7 +7204,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -7258,8 +7258,8 @@

    Response Example "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -7331,8 +7331,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -7392,7 +7392,7 @@
    Response Example
    -
    +
    @@ -7408,7 +7408,7 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name} + /projects/{project_name}/mapsets/{mapset_name}

    @@ -7424,7 +7424,7 @@

    -
    location_name: +
    project_name: string @@ -7434,7 +7434,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -7503,8 +7503,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -7536,8 +7536,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -7597,7 +7597,7 @@
    Response Example
    -
    +
    @@ -7607,20 +7607,20 @@
    Response Example

    - Create a new mapset in an existing location. + Create a new mapset in an existing project.

    POST - /locations/{location_name}/mapsets/{mapset_name} + /projects/{project_name}/mapsets/{mapset_name}
    -

    Create a new mapset in an existing location. Minimum required user role: admin.

    +

    Create a new mapset in an existing project. Minimum required user role: admin.

    @@ -7629,7 +7629,7 @@

    -
    location_name: +
    project_name: string @@ -7639,7 +7639,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -7708,8 +7708,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -7741,8 +7741,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -7802,7 +7802,7 @@
    Response Example
    -
    +
    @@ -7818,14 +7818,14 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/info + /projects/{project_name}/mapsets/{mapset_name}/info

    -

    Get the current computational region of the mapset and the projection of the location as WKT string. Minimum required user role: user.

    +

    Get the current computational region of the mapset and the projection of the project as WKT string. Minimum required user role: user.

    @@ -7834,7 +7834,7 @@

    -
    location_name: +
    project_name: string @@ -7845,7 +7845,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -7882,7 +7882,7 @@

    -

    The current computational region of the mapset and the projection of the location

    +

    The current computational region of the mapset and the projection of the project

    @@ -7915,8 +7915,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/info", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/info" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/info", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/info" }, "datetime": "2018-05-02 10:53:20.392509", "http_code": 200, @@ -8015,8 +8015,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -8076,7 +8076,7 @@
    Response Example

    -
    +
    @@ -8086,20 +8086,20 @@
    Response Example

    - Delete a location/mapset lock. + Delete a project/mapset lock.

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/lock + /projects/{project_name}/mapsets/{mapset_name}/lock
    -

    Delete a location/mapset lock. A location/mapset lock can be deleted so that operation can be performed on it until it is locked. Minimum required user role: admin.

    +

    Delete a project/mapset lock. A project/mapset lock can be deleted so that operation can be performed on it until it is locked. Minimum required user role: admin.

    @@ -8108,7 +8108,7 @@

    -
    location_name: +
    project_name: string @@ -8119,7 +8119,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -8156,7 +8156,7 @@

    -

    Success message if the location/mapset was unlocked successfully

    +

    Success message if the project/mapset was unlocked successfully

    @@ -8189,8 +8189,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8222,8 +8222,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8245,7 +8245,7 @@
    Response Example

    -
    +
    @@ -8255,20 +8255,20 @@
    Response Example

    - Create a location/mapset lock. + Create a project/mapset lock.

    POST - /locations/{location_name}/mapsets/{mapset_name}/lock + /projects/{project_name}/mapsets/{mapset_name}/lock
    -

    Create a location/mapset lock. A location/mapset lock can be created so that no operation can be performed on it until it is unlocked. Minimum required user role: admin.

    +

    Create a project/mapset lock. A project/mapset lock can be created so that no operation can be performed on it until it is unlocked. Minimum required user role: admin.

    @@ -8277,7 +8277,7 @@

    -
    location_name: +
    project_name: string @@ -8288,7 +8288,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -8325,7 +8325,7 @@

    -

    Success message if the location/mapset was locked successfully

    +

    Success message if the project/mapset was locked successfully

    @@ -8358,8 +8358,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8391,8 +8391,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8414,7 +8414,7 @@
    Response Example

    -
    +
    @@ -8424,20 +8424,20 @@
    Response Example

    - Get the location/mapset lock status. + Get the project/mapset lock status.

    GET - /locations/{location_name}/mapsets/{mapset_name}/lock + /projects/{project_name}/mapsets/{mapset_name}/lock
    -

    Get the location/mapset lock status. Minimum required user role: admin.

    +

    Get the project/mapset lock status. Minimum required user role: admin.

    @@ -8446,7 +8446,7 @@

    -
    location_name: +
    project_name: string @@ -8457,7 +8457,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -8494,7 +8494,7 @@

    -

    Get the location/mapset lock status, either "True" or "None"

    +

    Get the project/mapset lock status, either "True" or "None"

    @@ -8527,8 +8527,8 @@
    Response Example "api_info": { "endpoint": "mapsetlockmanagementresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/lock", - "request_url": "http://localhost:8080/locations/nc_spm_08/mapsets/PERMANENT/lock" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/lock", + "request_url": "http://localhost:8080/projects/nc_spm_08/mapsets/PERMANENT/lock" }, "datetime": "2018-05-02 11:03:26.586348", "http_code": 200, @@ -8567,8 +8567,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8591,7 +8591,7 @@
    Response Example

    Processing

    -
    +
    @@ -8607,7 +8607,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/processing + /projects/{project_name}/mapsets/{mapset_name}/processing

    @@ -8628,7 +8628,7 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space time datasets correctly with name and mapset: name@mapset.
    -                  
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted into the ephemeral database that is used for processing.
    @@ -8656,7 +8656,7 @@ 

    -
    location_name: +
    project_name: string @@ -8667,7 +8667,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -8913,8 +8913,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8946,8 +8946,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -8969,7 +8969,7 @@
    Response Example
    -
    +
    @@ -8985,7 +8985,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/processing_async + /projects/{project_name}/mapsets/{mapset_name}/processing_async

    @@ -9006,7 +9006,7 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space time datasets correctly with name and mapset: name@mapset.
    -                  
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted into the ephemeral database that is used for processing.
    @@ -9034,7 +9034,7 @@ 

    -
    location_name: +
    project_name: string @@ -9045,7 +9045,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -9291,8 +9291,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -9324,8 +9324,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -9347,7 +9347,7 @@
    Response Example
    -
    +
    @@ -9363,7 +9363,7 @@

    POST - /locations/{location_name}/process_chain_validation_async + /projects/{project_name}/process_chain_validation_async

    @@ -9395,7 +9395,7 @@

    -
    location_name: +
    project_name: string @@ -9406,7 +9406,7 @@

    in path

    -

    The location name that contains the data that should be used in the process chain

    +

    The project name that contains the data that should be used in the process chain

    @@ -9637,8 +9637,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -9670,8 +9670,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -9731,7 +9731,7 @@
    Response Example

    -
    +
    @@ -9747,7 +9747,7 @@

    POST - /locations/{location_name}/process_chain_validation_sync + /projects/{project_name}/process_chain_validation_sync

    @@ -9779,7 +9779,7 @@

    -
    location_name: +
    project_name: string @@ -9790,7 +9790,7 @@

    in path

    -

    The location name that contains the data that should be used in the process chain

    +

    The project name that contains the data that should be used in the process chain

    @@ -10021,8 +10021,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -10054,8 +10054,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -10115,7 +10115,7 @@
    Response Example
    -
    +
    @@ -10125,13 +10125,13 @@
    Response Example

    - Execute a user defined process chain in an ephemeral location/mapset + Execute a user defined process chain in an ephemeral project/mapset

    POST - /locations/{location_name}/processing_async_export + /projects/{project_name}/processing_async_export
    @@ -10144,8 +10144,8 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space-time datasets correctly with name and mapset: name@mapset if you use
    -                  data from other mapsets in the specified location.
    -                  
    +                  data from other mapsets in the specified project.
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted read-only into the ephemeral database that is used for processing.
    @@ -10175,7 +10175,7 @@ 

    -
    location_name: +
    project_name: string @@ -10186,7 +10186,7 @@

    in path

    -

    The location name that contains the data that should be processed

    +

    The project name that contains the data that should be processed

    @@ -10417,8 +10417,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -10450,8 +10450,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -10511,7 +10511,7 @@
    Response Example

    -
    +
    @@ -10521,13 +10521,13 @@
    Response Example

    - Execute a user defined process chain in an ephemeral location/mapset + Execute a user defined process chain in an ephemeral project/mapset

    POST - /locations/{location_name}/processing_async_export_gcs + /projects/{project_name}/processing_async_export_gcs
    @@ -10540,8 +10540,8 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space-time datasets correctly with name and mapset: name@mapset if you use
    -                  data from other mapsets in the specified location.
    -                  
    +                  data from other mapsets in the specified project.
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted read-only into the ephemeral database that is used for processing.
    @@ -10571,7 +10571,7 @@ 

    -
    location_name: +
    project_name: string @@ -10582,7 +10582,7 @@

    in path

    -

    The location name that contains the data that should be processed

    +

    The project name that contains the data that should be processed

    @@ -10813,8 +10813,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -10846,8 +10846,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -10907,7 +10907,7 @@
    Response Example

    -
    +
    @@ -10917,13 +10917,13 @@
    Response Example

    - Execute a user defined process chain in an ephemeral location/mapset and + Execute a user defined process chain in an ephemeral project/mapset and

    POST - /locations/{location_name}/processing_async_export_s3 + /projects/{project_name}/processing_async_export_s3
    @@ -10936,8 +10936,8 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space-time datasets correctly with name and mapset: name@mapset if you use
    -                  data from other mapsets in the specified location.
    -                  
    +                  data from other mapsets in the specified project.
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted read-only into the ephemeral database that is used for processing.
    @@ -10967,7 +10967,7 @@ 

    -
    location_name: +
    project_name: string @@ -10978,7 +10978,7 @@

    in path

    -

    The location name that contains the data that should be processed

    +

    The project name that contains the data that should be processed

    @@ -11209,8 +11209,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -11242,8 +11242,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -11303,7 +11303,7 @@
    Response Example

    -
    +
    @@ -11313,13 +11313,13 @@
    Response Example

    - Execute a user defined process chain in an ephemeral location/mapset + Execute a user defined process chain in an ephemeral project/mapset

    POST - /locations/{location_name}/processing_export + /projects/{project_name}/processing_export
    @@ -11332,8 +11332,8 @@

    Note

    Make sure that the process chain definition identifies all raster, vector or
                       space-time datasets correctly with name and mapset: name@mapset if you use
    -                  data from other mapsets in the specified location.
    -                  
    +                  data from other mapsets in the specified project.
    +
                       All required mapsets will be identified by analysing the input parameter
                       of all module descriptions in the provided process chain
                       and mounted read-only into the ephemeral database that is used for processing.
    @@ -11363,7 +11363,7 @@ 

    -
    location_name: +
    project_name: string @@ -11374,7 +11374,7 @@

    in path

    -

    The location name that contains the data that should be processed

    +

    The project name that contains the data that should be processed

    @@ -11605,8 +11605,8 @@

    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -11638,8 +11638,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -11700,7 +11700,7 @@
    Response Example

    Raster Management

    -
    +
    @@ -11716,14 +11716,14 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/raster_layers

    -

    Delete a single raster map layer or a list of raster map layer names that are located in a specific location/mapset. Minimum required user role: user.

    +

    Delete a single raster map layer or a list of raster map layer names that are located in a specific project/mapset. Minimum required user role: user.

    @@ -11732,7 +11732,7 @@

    -
    location_name: +
    project_name: string @@ -11742,7 +11742,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -11826,8 +11826,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -11859,8 +11859,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -11882,7 +11882,7 @@
    Response Example
    -
    +
    @@ -11898,14 +11898,14 @@

    PUT - /locations/{location_name}/mapsets/{mapset_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/raster_layers

    -

    Rename a single raster map layer or a list of raster map layers that are located in a specific location/mapset. Minimum required user role: user.

    +

    Rename a single raster map layer or a list of raster map layers that are located in a specific project/mapset. Minimum required user role: user.

    @@ -11917,7 +11917,7 @@

    -
    location_name: +
    project_name: string @@ -11927,7 +11927,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -12007,8 +12007,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -12040,8 +12040,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -12063,7 +12063,7 @@
    Response Example
    -
    +
    @@ -12079,14 +12079,14 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/raster_layers

    -

    Get a list of raster map layer names that are located in a specific location/mapset. Minimum required user role: user.

    +

    Get a list of raster map layer names that are located in a specific project/mapset. Minimum required user role: user.

    @@ -12095,7 +12095,7 @@

    -
    location_name: +
    project_name: string @@ -12106,7 +12106,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -12191,8 +12191,8 @@
    Response Example "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -12264,8 +12264,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -12287,7 +12287,7 @@
    Response Example
    -
    +
    @@ -12303,7 +12303,7 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name} + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}

    @@ -12319,7 +12319,7 @@

    -
    location_name: +
    project_name: string @@ -12329,7 +12329,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -12416,8 +12416,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -12449,8 +12449,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -12510,7 +12510,7 @@
    Response Example
    -
    +
    @@ -12526,7 +12526,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name} + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}

    @@ -12558,7 +12558,7 @@

    -
    location_name: +
    project_name: string @@ -12568,7 +12568,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -12689,8 +12689,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -12722,8 +12722,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -12783,7 +12783,7 @@
    Response Example
    -
    +
    @@ -12799,7 +12799,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name} + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}

    @@ -12815,7 +12815,7 @@

    -
    location_name: +
    project_name: string @@ -12826,7 +12826,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -12915,8 +12915,8 @@
    Response Example "api_info": { "endpoint": "rasterlayerresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation", - "request_url": "http://localhost:8080/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation", + "request_url": "http://localhost:8080/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation" }, "datetime": "2018-05-02 10:44:11.897704", "http_code": 200, @@ -12950,7 +12950,7 @@
    Response Example "process_results": { "cells": "2025000", "cols": "1500", - "comments": "\"r.proj input=\"ned03arcsec\" location=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"", + "comments": "\"r.proj input=\"ned03arcsec\" project=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"", "creator": "\"helena\"", "database": "/actinia/workspace/temp_db/gisdbase_5f1a5262c8bf4d4789348ffa2406ec3e", "datatype": "FCELL", @@ -12958,7 +12958,7 @@
    Response Example "description": "\"generated by r.proj\"", "east": "645000", "ewres": "10", - "location": "nc_spm_08", + "project": "nc_spm_08", "map": "elevation", "mapset": "PERMANENT", "max": "156.3299", @@ -13007,8 +13007,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -13068,7 +13068,7 @@
    Response Example
    -
    +
    @@ -13084,7 +13084,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/colors + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/colors

    @@ -13116,7 +13116,7 @@

    -
    location_name: +
    project_name: string @@ -13126,7 +13126,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -13234,8 +13234,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -13267,8 +13267,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -13328,7 +13328,7 @@
    Response Example
    -
    +
    @@ -13344,7 +13344,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/colors + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/colors

    @@ -13360,7 +13360,7 @@

    -
    location_name: +
    project_name: string @@ -13370,7 +13370,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -13457,8 +13457,8 @@
    Response Example "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -13530,8 +13530,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -13591,7 +13591,7 @@
    Response Example
    -
    +
    @@ -13607,7 +13607,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/geotiff_async + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/geotiff_async

    @@ -13623,7 +13623,7 @@

    -
    location_name: +
    project_name: string @@ -13634,7 +13634,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -13723,8 +13723,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -13756,8 +13756,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -13817,7 +13817,7 @@
    Response Example
    -
    +
    @@ -13833,7 +13833,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/geotiff_async_orig + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/geotiff_async_orig

    @@ -13849,7 +13849,7 @@

    -
    location_name: +
    project_name: string @@ -13860,7 +13860,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -13949,8 +13949,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -13982,8 +13982,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -14043,7 +14043,7 @@
    Response Example
    -
    +
    @@ -14059,7 +14059,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/legend + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/legend

    @@ -14075,7 +14075,7 @@

    -
    location_name: +
    project_name: string @@ -14086,7 +14086,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -14169,8 +14169,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -14230,7 +14230,7 @@
    Response Example
    -
    +
    @@ -14246,7 +14246,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/render + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/render

    @@ -14262,7 +14262,7 @@

    -
    location_name: +
    project_name: string @@ -14273,7 +14273,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -14448,8 +14448,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -14509,7 +14509,7 @@
    Response Example
    -
    +
    @@ -14525,7 +14525,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/render_rgb + /projects/{project_name}/mapsets/{mapset_name}/render_rgb

    @@ -14541,7 +14541,7 @@

    -
    location_name: +
    project_name: string @@ -14552,7 +14552,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -14759,8 +14759,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -14820,7 +14820,7 @@
    Response Example
    -
    +
    @@ -14836,7 +14836,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/render_shade + /projects/{project_name}/mapsets/{mapset_name}/render_shade

    @@ -14852,7 +14852,7 @@

    -
    location_name: +
    project_name: string @@ -14863,7 +14863,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -15054,8 +15054,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -15116,7 +15116,7 @@
    Response Example

    Raster Statistics

    -
    +
    @@ -15132,7 +15132,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_async + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_async

    @@ -15151,7 +15151,7 @@

    -
    location_name: +
    project_name: string @@ -15161,7 +15161,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -15259,8 +15259,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" }, "datetime": "2018-05-04 22:02:43.014544", "http_code": 200, @@ -15517,8 +15517,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -15578,7 +15578,7 @@
    Response Example
    -
    +
    @@ -15594,7 +15594,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_sync + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_sync

    @@ -15613,7 +15613,7 @@

    -
    location_name: +
    project_name: string @@ -15623,7 +15623,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -15721,8 +15721,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" }, "datetime": "2018-05-04 22:02:43.014544", "http_code": 200, @@ -15979,8 +15979,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -16040,7 +16040,7 @@
    Response Example
    -
    +
    @@ -16056,7 +16056,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_univar_async + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_univar_async

    @@ -16075,7 +16075,7 @@

    -
    location_name: +
    project_name: string @@ -16085,7 +16085,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -16183,8 +16183,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsunivarresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" }, "datetime": "2018-05-04 22:07:15.793146", "http_code": 200, @@ -16341,8 +16341,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -16402,7 +16402,7 @@
    Response Example
    -
    +
    @@ -16418,7 +16418,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_univar_sync + /projects/{project_name}/mapsets/{mapset_name}/raster_layers/{raster_name}/area_stats_univar_sync

    @@ -16437,7 +16437,7 @@

    -
    location_name: +
    project_name: string @@ -16447,7 +16447,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -16545,8 +16545,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsunivarresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" }, "datetime": "2018-05-04 22:07:15.793146", "http_code": 200, @@ -16703,8 +16703,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -16765,7 +16765,7 @@
    Response Example

    STRDS Management

    -
    +
    @@ -16775,20 +16775,20 @@

    - Get a list of all STRDS that are located in a specific location/mapset. + Get a list of all STRDS that are located in a specific project/mapset.

    GET - /locations/{location_name}/mapsets/{mapset_name}/strds + /projects/{project_name}/mapsets/{mapset_name}/strds
    -

    Get a list of all STRDS that are located in a specific location/mapset. Minimum required user role: user.

    +

    Get a list of all STRDS that are located in a specific project/mapset. Minimum required user role: user.

    @@ -16797,7 +16797,7 @@

    -
    location_name: +
    project_name: string @@ -16807,7 +16807,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -16890,8 +16890,8 @@
    Response Example "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -16963,8 +16963,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -17024,7 +17024,7 @@
    Response Example
    -
    +
    @@ -17034,20 +17034,20 @@
    Response Example

    - Delete a STRDS that is located in a specific location/mapset. + Delete a STRDS that is located in a specific project/mapset.

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name} + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}
    -

    Delete a STRDS that is located in a specific location/mapset. Minimum required user role: user.

    +

    Delete a STRDS that is located in a specific project/mapset. Minimum required user role: user.

    @@ -17056,7 +17056,7 @@

    -
    location_name: +
    project_name: string @@ -17066,7 +17066,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -17164,8 +17164,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -17197,8 +17197,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -17258,7 +17258,7 @@
    Response Example
    -
    +
    @@ -17268,20 +17268,20 @@
    Response Example

    - Create a new STRDS in a specific location/mapset. + Create a new STRDS in a specific project/mapset.

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name} + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}
    -

    Create a new STRDS in a specific location/mapset. Minimum required user role: user.

    +

    Create a new STRDS in a specific project/mapset. Minimum required user role: user.

    @@ -17306,7 +17306,7 @@

    -
    location_name: +
    project_name: string @@ -17316,7 +17316,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -17415,8 +17415,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -17448,8 +17448,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -17509,7 +17509,7 @@
    Response Example
    -
    +
    @@ -17519,20 +17519,20 @@
    Response Example

    - Get information about a STRDS that is located in a specific location/mapset. + Get information about a STRDS that is located in a specific project/mapset.

    GET - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name} + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}
    -

    Get information about a STRDS that is located in a specific location/mapset. Minimum required user role: user.

    +

    Get information about a STRDS that is located in a specific project/mapset. Minimum required user role: user.

    @@ -17541,7 +17541,7 @@

    -
    location_name: +
    project_name: string @@ -17551,7 +17551,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -17635,8 +17635,8 @@
    Response Example "api_info": { "endpoint": "strdsmanagementresource", "method": "GET", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm", - "request_url": "http://localhost:8080/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm", + "request_url": "http://localhost:8080/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm" }, "datetime": "2018-05-02 10:36:43.677867", "http_code": 200, @@ -17733,8 +17733,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -17794,7 +17794,7 @@
    Response Example
    -
    +
    @@ -17810,14 +17810,14 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers

    -

    Unregister raster map layers from a STRDS located in a specific location/mapset. Minimum required user role: user.

    +

    Unregister raster map layers from a STRDS located in a specific project/mapset. Minimum required user role: user.

    @@ -17834,7 +17834,7 @@

    -
    location_name: +
    project_name: string @@ -17844,7 +17844,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -17941,8 +17941,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -17974,8 +17974,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -18035,7 +18035,7 @@
    Response Example
    -
    +
    @@ -18051,14 +18051,14 @@

    PUT - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers

    -

    Register raster map layers in a STRDS located in a specific location/mapset. Minimum required user role: user.

    +

    Register raster map layers in a STRDS located in a specific project/mapset. Minimum required user role: user.

    @@ -18083,7 +18083,7 @@

    -
    location_name: +
    project_name: string @@ -18093,7 +18093,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -18199,8 +18199,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -18232,8 +18232,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -18293,7 +18293,7 @@
    Response Example
    -
    +
    @@ -18309,14 +18309,14 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/raster_layers

    -

    Get a list of all raster map layers that are registered in a STRDS that is located in a specific location/mapset. Minimum required user role: user.

    +

    Get a list of all raster map layers that are registered in a STRDS that is located in a specific project/mapset. Minimum required user role: user.

    @@ -18325,7 +18325,7 @@

    -
    location_name: +
    project_name: string @@ -18335,7 +18335,7 @@

    in path

    -

    The name of the location

    +

    The name of the project

    @@ -18433,8 +18433,8 @@
    Response Example "api_info": { "endpoint": "strdsrastermanagement", "method": "GET", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers", - "request_url": "http://localhost:5000/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers?where=start_time>'2010-01-01'" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers", + "request_url": "http://localhost:5000/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers?where=start_time>'2010-01-01'" }, "datetime": "2018-05-06 21:28:19.187395", "http_code": 200, @@ -18549,8 +18549,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -18610,7 +18610,7 @@
    Response Example
    -
    +
    @@ -18626,7 +18626,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/render + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/render

    @@ -18642,7 +18642,7 @@

    -
    location_name: +
    project_name: string @@ -18653,7 +18653,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -18856,8 +18856,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -18918,7 +18918,7 @@
    Response Example

    STRDS Sampling

    -
    +
    @@ -18934,14 +18934,14 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_async + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_async

    -

    Spatial sampling of a space-time raster dataset with vector points. The vector points must be in the same coordinate reference system as the location that contains the space-time raster dataset. The result of the sampling is located in the resource responseJSON docuement after the processing was finished, as a list of timestamped values for each vector point. Minimum required user role: user.

    +

    Spatial sampling of a space-time raster dataset with vector points. The vector points must be in the same coordinate reference system as the project that contains the space-time raster dataset. The result of the sampling is located in the resource responseJSON docuement after the processing was finished, as a list of timestamped values for each vector point. Minimum required user role: user.

    @@ -18958,7 +18958,7 @@

    -

    The sampling point array [[id, x, y],[id, x, y]] and an optional where statement. The coordinates of the sampling points must be the same as of the location that contains the space-time raster dataset.

    +

    The sampling point array [[id, x, y],[id, x, y]] and an optional where statement. The coordinates of the sampling points must be the same as of the project that contains the space-time raster dataset.

    @@ -18966,7 +18966,7 @@

    -
    location_name: +
    project_name: string @@ -18976,7 +18976,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -19093,8 +19093,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralstrdssamplingresource", "method": "POST", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", - "request_url": "http://localhost/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", + "request_url": "http://localhost/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" }, "datetime": "2017-05-11 10:09:48.376521", "http_code": 200, @@ -19224,8 +19224,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -19285,7 +19285,7 @@
    Response Example
    -
    +
    @@ -19301,7 +19301,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_async_geojson + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_async_geojson

    @@ -19318,7 +19318,7 @@

    -
    location_name: +
    project_name: string @@ -19329,7 +19329,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -19424,8 +19424,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralstrdssamplinggeojsonresource", "method": "POST", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" }, "datetime": "2017-09-04 19:41:42.622865", "http_code": 200, @@ -19486,7 +19486,7 @@
    Response Example "stderr": [ "Default TGIS driver / database set to:", "driver: sqlite", - "database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db", + "database: $GISDBASE/$PROJECT_NAME/$MAPSET/tgis/sqlite.db", "WARNING: Temporal database connection defined as:", "/tmp/gisdbase_3e090bec1a744be78743668a573cbf5b/ECAD/mapset_3e090bec1a744be78743668a573cbf5b/tgis/sqlite.db", "But database file does not exist.", @@ -19552,8 +19552,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -19613,7 +19613,7 @@
    Response Example
    -
    +
    @@ -19629,14 +19629,14 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_sync + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_sync

    -

    Spatial sampling of a space-time raster dataset with vector points. The vector points must be in the same coordinate reference system as the location that contains the space-time raster dataset. The result of the sampling is located in the resource responseJSON docuement after the processing was finished, as a list of timestamped values for each vector point. Minimum required user role: user.

    +

    Spatial sampling of a space-time raster dataset with vector points. The vector points must be in the same coordinate reference system as the project that contains the space-time raster dataset. The result of the sampling is located in the resource responseJSON docuement after the processing was finished, as a list of timestamped values for each vector point. Minimum required user role: user.

    @@ -19653,7 +19653,7 @@

    -

    The sampling point array [[id, x, y],[id, x, y]] and an optional where statement. The coordinates of the sampling points must be the same as of the location that contains the space-time raster dataset.

    +

    The sampling point array [[id, x, y],[id, x, y]] and an optional where statement. The coordinates of the sampling points must be the same as of the project that contains the space-time raster dataset.

    @@ -19661,7 +19661,7 @@

    -
    location_name: +
    project_name: string @@ -19671,7 +19671,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -19788,8 +19788,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralstrdssamplingresource", "method": "POST", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", - "request_url": "http://localhost/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", + "request_url": "http://localhost/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" }, "datetime": "2017-05-11 10:09:48.376521", "http_code": 200, @@ -19919,8 +19919,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -19980,7 +19980,7 @@
    Response Example
    -
    +
    @@ -19996,7 +19996,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_sync_geojson + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/sampling_sync_geojson

    @@ -20013,7 +20013,7 @@

    -
    location_name: +
    project_name: string @@ -20024,7 +20024,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -20119,8 +20119,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralstrdssamplinggeojsonresource", "method": "POST", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" }, "datetime": "2017-09-04 19:41:42.622865", "http_code": 200, @@ -20181,7 +20181,7 @@
    Response Example "stderr": [ "Default TGIS driver / database set to:", "driver: sqlite", - "database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db", + "database: $GISDBASE/$PROJECT_NAME/$MAPSET/tgis/sqlite.db", "WARNING: Temporal database connection defined as:", "/tmp/gisdbase_3e090bec1a744be78743668a573cbf5b/ECAD/mapset_3e090bec1a744be78743668a573cbf5b/tgis/sqlite.db", "But database file does not exist.", @@ -20247,8 +20247,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -20309,7 +20309,7 @@
    Response Example

    STRDS Statistics

    -
    +
    @@ -20325,7 +20325,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_async + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_async

    @@ -20344,7 +20344,7 @@

    -
    location_name: +
    project_name: string @@ -20354,7 +20354,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -20468,8 +20468,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" }, "datetime": "2018-05-04 22:02:43.014544", "http_code": 200, @@ -20726,8 +20726,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -20787,7 +20787,7 @@
    Response Example
    -
    +
    @@ -20803,7 +20803,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_sync + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_sync

    @@ -20822,7 +20822,7 @@

    -
    location_name: +
    project_name: string @@ -20832,7 +20832,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -20946,8 +20946,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" }, "datetime": "2018-05-04 22:02:43.014544", "http_code": 200, @@ -21204,8 +21204,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -21265,7 +21265,7 @@
    Response Example
    -
    +
    @@ -21281,7 +21281,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_univar_async + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_univar_async

    @@ -21300,7 +21300,7 @@

    -
    location_name: +
    project_name: string @@ -21310,7 +21310,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -21424,8 +21424,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsunivarresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" }, "datetime": "2018-05-04 22:07:15.793146", "http_code": 200, @@ -21582,8 +21582,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -21643,7 +21643,7 @@
    Response Example
    -
    +
    @@ -21659,7 +21659,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_univar_sync + /projects/{project_name}/mapsets/{mapset_name}/strds/{strds_name}/timestamp/{timestamp}/area_stats_univar_sync

    @@ -21678,7 +21678,7 @@

    -
    location_name: +
    project_name: string @@ -21688,7 +21688,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -21802,8 +21802,8 @@
    Response Example "api_info": { "endpoint": "syncephemeralrasterareastatsunivarresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" }, "datetime": "2018-05-04 22:07:15.793146", "http_code": 200, @@ -21960,8 +21960,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -22022,7 +22022,7 @@
    Response Example

    Vector Management

    -
    +
    @@ -22038,14 +22038,14 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/vector_layers + /projects/{project_name}/mapsets/{mapset_name}/vector_layers

    -

    Delete a single vector map layer or a list of vector map layer names that are located in a specific location/mapset. Minimum required user role: user.

    +

    Delete a single vector map layer or a list of vector map layer names that are located in a specific project/mapset. Minimum required user role: user.

    @@ -22054,7 +22054,7 @@

    -
    location_name: +
    project_name: string @@ -22064,7 +22064,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -22148,8 +22148,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22181,8 +22181,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22204,7 +22204,7 @@
    Response Example
    -
    +
    @@ -22220,14 +22220,14 @@

    PUT - /locations/{location_name}/mapsets/{mapset_name}/vector_layers + /projects/{project_name}/mapsets/{mapset_name}/vector_layers

    -

    Rename a single vector map layer or a list of vector map layers that are located in a specific location/mapset. Minimum required user role: user.

    +

    Rename a single vector map layer or a list of vector map layers that are located in a specific project/mapset. Minimum required user role: user.

    @@ -22239,7 +22239,7 @@

    -
    location_name: +
    project_name: string @@ -22249,7 +22249,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -22329,8 +22329,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22362,8 +22362,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22385,7 +22385,7 @@
    Response Example
    -
    +
    @@ -22401,14 +22401,14 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/vector_layers + /projects/{project_name}/mapsets/{mapset_name}/vector_layers

    -

    Get a list of vector map layer names that are located in a specific location/mapset. Minimum required user role: user.

    +

    Get a list of vector map layer names that are located in a specific project/mapset. Minimum required user role: user.

    @@ -22417,7 +22417,7 @@

    -
    location_name: +
    project_name: string @@ -22428,7 +22428,7 @@

    in path

    -

    The name of the location that should be accessed

    +

    The name of the project that should be accessed

    @@ -22513,8 +22513,8 @@
    Response Example "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -22586,8 +22586,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22609,7 +22609,7 @@
    Response Example
    -
    +
    @@ -22625,7 +22625,7 @@

    DELETE - /locations/{location_name}/mapsets/{mapset_name}/vector_layers/{vector_name} + /projects/{project_name}/mapsets/{mapset_name}/vector_layers/{vector_name}

    @@ -22641,7 +22641,7 @@

    -
    location_name: +
    project_name: string @@ -22651,7 +22651,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -22738,8 +22738,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -22771,8 +22771,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -22832,7 +22832,7 @@
    Response Example
    -
    +
    @@ -22848,7 +22848,7 @@

    POST - /locations/{location_name}/mapsets/{mapset_name}/vector_layers/{vector_name} + /projects/{project_name}/mapsets/{mapset_name}/vector_layers/{vector_name}

    @@ -22880,7 +22880,7 @@

    -
    location_name: +
    project_name: string @@ -22890,7 +22890,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -23004,8 +23004,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -23037,8 +23037,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -23098,7 +23098,7 @@
    Response Example
    -
    +
    @@ -23114,7 +23114,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/vector_layers/{vector_name} + /projects/{project_name}/mapsets/{mapset_name}/vector_layers/{vector_name}

    @@ -23130,7 +23130,7 @@

    -
    location_name: +
    project_name: string @@ -23141,7 +23141,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -23230,8 +23230,8 @@
    Response Example "api_info": { "endpoint": "vectorlayerresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/vector_layers/geology", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets/PERMANENT/vector_layers/geology" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/vector_layers/geology", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets/PERMANENT/vector_layers/geology" }, "datetime": "2018-05-06 21:36:54.032325", "http_code": 200, @@ -23338,7 +23338,7 @@
    Response Example "type": "DOUBLE PRECISION" } ], - "COMMAND": " v.db.connect -o map=\"geology@PERMANENT\" driver=\"sqlite\" database=\"$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\" table=\"geology\" key=\"cat\" layer=\"1\" separator=\"|\"", + "COMMAND": " v.db.connect -o map=\"geology@PERMANENT\" driver=\"sqlite\" database=\"$GISDBASE/$PROJECT_NAME/$MAPSET/sqlite/sqlite.db\" table=\"geology\" key=\"cat\" layer=\"1\" separator=\"|\"", "areas": "1832", "attribute_database": "/home/soeren/actinia/workspace/temp_db/gisdbase_d98fc0548fc44fac8fe43abd575e98cc/nc_spm_08/PERMANENT/sqlite/sqlite.db", "attribute_database_driver": "sqlite", @@ -23358,7 +23358,7 @@
    Response Example "islands": "907", "level": "2", "lines": "0", - "location": "nc_spm_08", + "project": "nc_spm_08", "map3d": "0", "mapset": "PERMANENT", "name": "geology", @@ -23408,8 +23408,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -23469,7 +23469,7 @@
    Response Example
    -
    +
    @@ -23485,7 +23485,7 @@

    GET - /locations/{location_name}/mapsets/{mapset_name}/vector_layers/{vector_name}/render + /projects/{project_name}/mapsets/{mapset_name}/vector_layers/{vector_name}/render

    @@ -23501,7 +23501,7 @@

    -
    location_name: +
    project_name: string @@ -23512,7 +23512,7 @@

    in path

    -

    The location name

    +

    The project name

    @@ -23687,8 +23687,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -24013,7 +24013,7 @@
    Response Example "csw:GetRecordsResponse": { "@xmlns:csw": "http://www.opengis.net/cat/csw/2.0.2", "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", - "@xsi:schemaLocation": "http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd", + "@xsi:schemaProject": "http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd", "csw:SearchStatus": { "@timestamp": "2018-03-28T13:46:43" }, @@ -24209,7 +24209,7 @@
    Response Example "csw:GetRecordsResponse": { "@xmlns:csw": "http://www.opengis.net/cat/csw/2.0.2", "@xmlns:xsi": "http://www.w3.org/2001/XMLSchema-instance", - "@xsi:schemaLocation": "http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd", + "@xsi:schemaProject": "http://www.opengis.net/cat/csw/2.0.2 http://schemas.opengis.net/csw/2.0.2/CSW-discovery.xsd", "csw:SearchStatus": { "@timestamp": "2018-03-28T13:42:41" }, @@ -24691,8 +24691,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -24724,8 +24724,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -24922,8 +24922,8 @@
    Response Example "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -25225,8 +25225,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -25507,8 +25507,8 @@
    Response Example "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -26644,19 +26644,19 @@
    Response Example

    Schema Definitions

    -
    +

    - LocationListResponseModel: object + ProjectListResponseModel: object

    -

    Response schema for location lists

    +

    Response schema for project lists

    @@ -26669,14 +26669,14 @@

    The status of the resource, values: accepted, running, finished, terminated, error

    -
    - locations: +
    + projects: string[]
    -

    The list of locations in the GRASS database

    +

    The list of projects in the GRASS database

    @@ -26695,7 +26695,7 @@
    Example
    {
    -  "locations": [
    +  "projects": [
         "nc_spm_08",
         "latlong_wgs84",
         "ECAD"
    @@ -26714,8 +26714,8 @@ 

    SimpleResponseModel: object

    @@ -26768,8 +26768,8 @@

    MapsetInfoResponseModel: object

    @@ -26977,8 +26977,8 @@
    Example
    "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/info", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/info" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/info", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/info" }, "datetime": "2018-05-02 10:53:20.392509", "http_code": 200, @@ -27072,8 +27072,8 @@

    ProcessLogModel: object

    @@ -27195,14 +27195,14 @@

    GrassModule: object

    -

    The definition of a single GRASS GIS module and its inputs, outputs and flags. This module will be run in a location/mapset environment and is part of a process chain. The stdout and stderr output of modules that were run before this module in the process chain can be used as stdin for this module. The stdout of a module can be automatically transformed in list, table or key/value JSON representations in the HTTP response.

    +

    The definition of a single GRASS GIS module and its inputs, outputs and flags. This module will be run in a project/mapset environment and is part of a process chain. The stdout and stderr output of modules that were run before this module in the process chain can be used as stdin for this module. The stdout of a module can be automatically transformed in list, table or key/value JSON representations in the HTTP response.

    @@ -27375,8 +27375,8 @@

    InputParameter:

    @@ -27443,7 +27443,7 @@

    The type of the input that should be downloaded and imported. In case of raster or vector types a download URL must be provided as source using http, https or ftp protocols. In case of sentinel2 scenes the scene name and the band must be provided. The Landsat approach is different.
    -
    In case a Landsat scene is requested, all bands will be download, in the target location imported and an atmospheric correction is applied. The atmospheric correction must be specified. The resulting raster map layers have a specific name scheme, that is independent from the provided map name in the process description. The name scheme is always: +
    In case a Landsat scene is requested, all bands will be download, in the target project imported and an atmospheric correction is applied. The atmospheric correction must be specified. The resulting raster map layers have a specific name scheme, that is independent from the provided map name in the process description. The name scheme is always:

    <landsat scene id>_<atcor>.<band>

    For example, if the scene

    LT52170762005240COA00

    was requested, the resulting name for the DOS1 atmospheric corrected band 1 would be:

    LT52170762005240COA00_dos1.1

    .For the DOS1 atmospheric corrected band 2 it would be: @@ -27545,8 +27545,8 @@

    OutputParameter: object

    @@ -27685,8 +27685,8 @@

    StdoutParser: object

    @@ -27758,8 +27758,8 @@

    MapsetInfoModel: object

    @@ -27776,7 +27776,7 @@

    -

    The location projection WKT string

    +

    The project projection WKT string

    region: @@ -27834,8 +27834,8 @@

    RegionModel: object

    @@ -28008,8 +28008,8 @@

    ProgressInfoModel: object

    @@ -28082,8 +28082,8 @@

    ExceptionTracebackModel: object

    @@ -28153,8 +28153,8 @@

    UrlModel: object

    @@ -28216,8 +28216,8 @@

    ApiInfoModel: object

    @@ -28275,8 +28275,8 @@
    Example
    {
       "endpoint": "asyncephemeralresource",
       "method": "POST",
    -  "path": "/api/v3//locations/nc_spm_08/processing_async",
    -  "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async"
    +  "path": "/api/v3//projects/nc_spm_08/processing_async",
    +  "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async"
     }
     
    @@ -28290,8 +28290,8 @@

    ProcessingResponseModel: object

    @@ -28498,8 +28498,8 @@
    Example
    "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -28526,8 +28526,8 @@

    ProjectionInfoModel: object

    @@ -28544,7 +28544,7 @@

    -

    The EPSG code of the projection that should be used to create a location

    +

    The EPSG code of the projection that should be used to create a project

    @@ -28570,8 +28570,8 @@

    StringListProcessingResultResponseModel: object

    @@ -28782,8 +28782,8 @@
    Example
    "api_info": { "endpoint": "listmapsetsresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets" + "path": "/projects/nc_spm_08/mapsets", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets" }, "datetime": "2018-05-02 12:02:20.861017", "http_code": 200, @@ -28850,8 +28850,8 @@

    ProcessingErrorResponseModel: object

    @@ -29058,8 +29058,8 @@
    Example
    "api_info": { "endpoint": "mapsetmanagementresourceuser", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANE/info", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/info" + "path": "/projects/nc_spm_08/mapsets/PERMANE/info", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/info" }, "datetime": "2018-05-06 22:02:14.398927", "exception": { @@ -29124,8 +29124,8 @@

    MapsetLockManagementResponseModel: object

    @@ -29329,8 +29329,8 @@
    Example
    "api_info": { "endpoint": "mapsetlockmanagementresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/lock", - "request_url": "http://localhost:8080/locations/nc_spm_08/mapsets/PERMANENT/lock" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/lock", + "request_url": "http://localhost:8080/projects/nc_spm_08/mapsets/PERMANENT/lock" }, "datetime": "2018-05-02 11:03:26.586348", "http_code": 200, @@ -29364,8 +29364,8 @@

    RasterRegionCreationModel: object

    @@ -29435,8 +29435,8 @@

    SetRegionModel: object

    @@ -29624,8 +29624,8 @@

    RasterInfoResponseModel: object

    @@ -29833,8 +29833,8 @@
    Example
    "api_info": { "endpoint": "rasterlayerresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation", - "request_url": "http://localhost:8080/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation", + "request_url": "http://localhost:8080/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/elevation" }, "datetime": "2018-05-02 10:44:11.897704", "http_code": 200, @@ -29868,7 +29868,7 @@
    Example
    "process_results": { "cells": "2025000", "cols": "1500", - "comments": "\"r.proj input=\"ned03arcsec\" location=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"", + "comments": "\"r.proj input=\"ned03arcsec\" project=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"", "creator": "\"helena\"", "database": "/actinia/workspace/temp_db/gisdbase_5f1a5262c8bf4d4789348ffa2406ec3e", "datatype": "FCELL", @@ -29876,7 +29876,7 @@
    Example
    "description": "\"generated by r.proj\"", "east": "645000", "ewres": "10", - "location": "nc_spm_08", + "project": "nc_spm_08", "map": "elevation", "mapset": "PERMANENT", "max": "156.3299", @@ -29920,8 +29920,8 @@

    RasterInfoModel: object

    @@ -30006,8 +30006,8 @@

    string -
    - location: +
    + project: string
    @@ -30083,7 +30083,7 @@

    Example
    {
       "cells": "2025000",
       "cols": "1500",
    -  "comments": "\"r.proj input=\"ned03arcsec\" location=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"",
    +  "comments": "\"r.proj input=\"ned03arcsec\" project=\"northcarolina_latlong\" mapset=\"\\helena\" output=\"elev_ned10m\" method=\"cubic\" resolution=10\"",
       "creator": "\"helena\"",
       "database": "/tmp/gisdbase_75bc0828",
       "datatype": "FCELL",
    @@ -30091,7 +30091,7 @@ 
    Example
    "description": "\"generated by r.proj\"", "east": "645000", "ewres": "10", - "location": "nc_spm_08", + "project": "nc_spm_08", "map": "elevation", "mapset": "PERMANENT", "max": "156.3299", @@ -30121,8 +30121,8 @@

    RasterColorModel: object

    @@ -30192,8 +30192,8 @@

    STRDSCreationModel: object

    @@ -30256,8 +30256,8 @@

    STRDSInfoResponseModel: object

    @@ -30465,8 +30465,8 @@
    Example
    "api_info": { "endpoint": "strdsmanagementresource", "method": "GET", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm", - "request_url": "http://localhost:8080/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm", + "request_url": "http://localhost:8080/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm" }, "datetime": "2018-05-02 10:36:43.677867", "http_code": 200, @@ -30558,8 +30558,8 @@

    STRDSInfoModel: object

    @@ -30781,8 +30781,8 @@

    - - + + -->

    @@ -30827,8 +30827,8 @@

    RasterListEntryModel: object

    @@ -30876,8 +30876,8 @@

    STRDSRasterListResponseModel: object

    @@ -31096,8 +31096,8 @@
    Example
    "api_info": { "endpoint": "strdsrastermanagement", "method": "GET", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers", - "request_url": "http://localhost:5000/locations/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers?where=start_time>'2010-01-01'" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers", + "request_url": "http://localhost:5000/projects/ECAD/mapsets/PERMANENT/strds/precipitation_1950_2013_yearly_mm/raster_layers?where=start_time>'2010-01-01'" }, "datetime": "2018-05-06 21:28:19.187395", "http_code": 200, @@ -31207,8 +31207,8 @@

    STRDSRasterListEntryModel: object

    @@ -31307,8 +31307,8 @@

    VectorRegionCreationModel: object

    @@ -31371,8 +31371,8 @@

    VectorCreationModel: object

    @@ -31449,8 +31449,8 @@

    VectorInfoResponseModel: object

    @@ -31658,8 +31658,8 @@
    Example
    "api_info": { "endpoint": "vectorlayerresource", "method": "GET", - "path": "/locations/nc_spm_08/mapsets/PERMANENT/vector_layers/geology", - "request_url": "http://localhost:5000/locations/nc_spm_08/mapsets/PERMANENT/vector_layers/geology" + "path": "/projects/nc_spm_08/mapsets/PERMANENT/vector_layers/geology", + "request_url": "http://localhost:5000/projects/nc_spm_08/mapsets/PERMANENT/vector_layers/geology" }, "datetime": "2018-05-06 21:36:54.032325", "http_code": 200, @@ -31766,7 +31766,7 @@
    Example
    "type": "DOUBLE PRECISION" } ], - "COMMAND": " v.db.connect -o map=\"geology@PERMANENT\" driver=\"sqlite\" database=\"$GISDBASE/$LOCATION_NAME/$MAPSET/sqlite/sqlite.db\" table=\"geology\" key=\"cat\" layer=\"1\" separator=\"|\"", + "COMMAND": " v.db.connect -o map=\"geology@PERMANENT\" driver=\"sqlite\" database=\"$GISDBASE/$PROJECT_NAME/$MAPSET/sqlite/sqlite.db\" table=\"geology\" key=\"cat\" layer=\"1\" separator=\"|\"", "areas": "1832", "attribute_database": "/home/soeren/actinia/workspace/temp_db/gisdbase_d98fc0548fc44fac8fe43abd575e98cc/nc_spm_08/PERMANENT/sqlite/sqlite.db", "attribute_database_driver": "sqlite", @@ -31786,7 +31786,7 @@
    Example
    "islands": "907", "level": "2", "lines": "0", - "location": "nc_spm_08", + "project": "nc_spm_08", "map3d": "0", "mapset": "PERMANENT", "name": "geology", @@ -31831,8 +31831,8 @@

    VectorInfoModel: object

    @@ -31947,8 +31947,8 @@

    string -
    - location: +
    + project: string
    @@ -32114,7 +32114,7 @@

    Example
    "kernels": "0", "level": "2", "lines": "0", - "location": "nc_spm_08", + "project": "nc_spm_08", "map3d": "1", "mapset": "user1", "name": "test_layer", @@ -32152,8 +32152,8 @@

    VectorAttributeModel: object

    @@ -32198,8 +32198,8 @@

    ProcessChainModel: object

    @@ -32437,8 +32437,8 @@

    Webhooks: object

    @@ -32490,8 +32490,8 @@

    UserListResponseModel: object

    @@ -32553,8 +32553,8 @@

    UserInfoResponseModel: object

    @@ -32614,7 +32614,7 @@

    -

    The persistent GRASS GIS databases the user is allowed to use. Contains one object for each location name with an array of strings containing all allowed mapset names. See example for more information.

    +

    The persistent GRASS GIS databases the user is allowed to use. Contains one object for each project name with an array of strings containing all allowed mapset names. See example for more information.

    @@ -32710,8 +32710,8 @@

    TokenResponseModel: object

    @@ -32773,8 +32773,8 @@

    ApiLogListModel: object

    @@ -32842,8 +32842,8 @@

    ApiLogEntryModel: object

    @@ -32946,8 +32946,8 @@

    ProcessingResponseListModel: object

    @@ -32998,8 +32998,8 @@
    Example
    "api_info": { "endpoint": "asyncephemeralresource", "method": "POST", - "path": "/locations/nc_spm_08/processing_async", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/processing_async" + "path": "/projects/nc_spm_08/processing_async", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/processing_async" }, "datetime": "2017-05-24 22:37:21.608717", "http_code": 200, @@ -33028,8 +33028,8 @@

    StorageResponseModel: object

    @@ -33291,8 +33291,8 @@

    StorageModel: object

    @@ -33369,8 +33369,8 @@

    MapsetSizeResponseModel: object

    @@ -33433,8 +33433,8 @@

    MaxMapsetSizeResponseModel: object

    @@ -33487,8 +33487,8 @@

    RasterAreaUnivarStatsResponseModel: object

    @@ -33707,8 +33707,8 @@
    Example
    "api_info": { "endpoint": "syncephemeralrasterareastatsunivarresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/towns/area_stats_univar_sync" }, "datetime": "2018-05-04 22:07:15.793146", "http_code": 200, @@ -33860,8 +33860,8 @@

    AreaUnivarResultModel: object

    @@ -33982,8 +33982,8 @@

    RasterAreaStatsResponseModel: object

    @@ -34202,8 +34202,8 @@
    Example
    "api_info": { "endpoint": "syncephemeralrasterareastatsresource", "method": "POST", - "path": "/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", - "request_url": "http://localhost/api/v3/locations/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" + "path": "/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync", + "request_url": "http://localhost/api/v3/projects/nc_spm_08/mapsets/PERMANENT/raster_layers/landuse96_28m/area_stats_sync" }, "datetime": "2018-05-04 22:02:43.014544", "http_code": 200, @@ -34455,8 +34455,8 @@

    CategoricalStatisticsResultModel: object

    @@ -34542,8 +34542,8 @@

    PointListModel: object

    @@ -34624,8 +34624,8 @@

    STRDSSampleResponseModel: object

    @@ -34842,8 +34842,8 @@
    Example
    "api_info": { "endpoint": "syncephemeralstrdssamplingresource", "method": "POST", - "path": "/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", - "request_url": "http://localhost/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" + "path": "/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync", + "request_url": "http://localhost/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync" }, "datetime": "2017-05-11 10:09:48.376521", "http_code": 200, @@ -34968,8 +34968,8 @@

    STRDSSampleGeoJSONResponseModel: object

    @@ -35186,8 +35186,8 @@
    Example
    "api_info": { "endpoint": "syncephemeralstrdssamplinggeojsonresource", "method": "POST", - "path": "/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", - "request_url": "http://localhost/api/v3/locations/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" + "path": "/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson", + "request_url": "http://localhost/api/v3/projects/ECAD/mapsets/PERMANENT/strds/temperature_mean_1950_2013_yearly_celsius/sampling_sync_geojson" }, "datetime": "2017-09-04 19:41:42.622865", "http_code": 200, @@ -35248,7 +35248,7 @@
    Example
    "stderr": [ "Default TGIS driver / database set to:", "driver: sqlite", - "database: $GISDBASE/$LOCATION_NAME/$MAPSET/tgis/sqlite.db", + "database: $GISDBASE/$PROJECT_NAME/$MAPSET/tgis/sqlite.db", "WARNING: Temporal database connection defined as:", "/tmp/gisdbase_3e090bec1a744be78743668a573cbf5b/ECAD/mapset_3e090bec1a744be78743668a573cbf5b/tgis/sqlite.db", "But database file does not exist.", @@ -35309,8 +35309,8 @@

    SatelliteSceneList: object

    @@ -35384,8 +35384,8 @@

    SatelliteSceneEntry: object

    @@ -35495,8 +35495,8 @@

    LandsatNDVIResponseModel: object

    @@ -35978,7 +35978,7 @@
    Example
    "run_time": 0.15161657333374023, "stderr": [ "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found", - "Creating new GRASS GIS location/mapset...", + "Creating new GRASS GIS project/mapset...", "Cleaning up temporary files...", "" ], @@ -36315,8 +36315,8 @@

    UnivarResultModel: object

    @@ -36442,8 +36442,8 @@

    SentinelNDVIResponseModel: object

    @@ -36790,7 +36790,7 @@
    Example
    "run_time": 0.36118006706237793, "stderr": [ "Default locale settings are missing. GRASS running with C locale.WARNING: Searched for a web browser, but none found", - "Creating new GRASS GIS location/mapset...", + "Creating new GRASS GIS project/mapset...", "Cleaning up temporary files...", "" ], @@ -36806,9 +36806,9 @@
    Example
    "return_code": 0, "run_time": 0.3551313877105713, "stderr": [ - "WARNING: Projection of dataset does not appear to match current location.", + "WARNING: Projection of dataset does not appear to match current project.", "", - "Location PROJ_INFO is:", + "Project PROJ_INFO is:", "name: WGS 84 / UTM zone 50N", "datum: wgs84", "ellps: wgs84", @@ -37257,8 +37257,8 @@

    LandsatSceneListModel: object

    @@ -37338,8 +37338,8 @@

    Sentinel2ASceneListModel: object

    @@ -37413,8 +37413,8 @@

    Sentinel2ASceneList: object

    @@ -37489,8 +37489,8 @@

    Sentinel2ASceneEntry: object

    @@ -37573,8 +37573,8 @@

    Sentinel2ATileEntry: object

    @@ -37773,8 +37773,8 @@

    BandInformationEntry: object

    @@ -37834,8 +37834,8 @@

    SimpleStatusCodeResponseModel: object

    @@ -37888,8 +37888,8 @@

    GeodataResponseModel: object

    @@ -37972,8 +37972,8 @@

    ModuleList: object

    @@ -38055,8 +38055,8 @@

    Module: object

    @@ -38320,8 +38320,8 @@

    ModuleParameter: object

    @@ -38409,8 +38409,8 @@

    ModuleParameterSchema: object

    @@ -38470,8 +38470,8 @@

    ModuleReturns: object

    @@ -38559,8 +38559,8 @@

    ModuleImportDescription: object

    @@ -38648,8 +38648,8 @@

    ModuleExportDescription: object

    @@ -38737,8 +38737,8 @@

    ProcessChainTemplate: object

    diff --git a/tests/test_env_values.py b/tests/test_env_values.py index d51d0cb..25b7327 100644 --- a/tests/test_env_values.py +++ b/tests/test_env_values.py @@ -47,25 +47,30 @@ def test_env_values_get(self): msg = "Default value exist for this installation." resp = self.app.get( - URL_PREFIX + "/actinia_modules/use_env_value", + f"{URL_PREFIX}/actinia_modules/use_env_value", headers=self.user_auth_header, ) assert isinstance(resp, Response) - assert resp.status_code == respStatusCode + assert ( + resp.status_code == respStatusCode + ), f"Status code is {resp.status_code} insted of {respStatusCode}" params = { p["name"]: [p["optional"], p["description"]] for p in resp.json["parameters"] } - assert "env_raster" in params - assert params["env_raster"][0] is True - assert msg in params["env_raster"][1] + assert "env_raster" in params, "'env_raster' not in params" + assert params["env_raster"][ + 0 + ], f"{params['env_raster'][0]} is not True" + + assert msg in params["env_raster"][1], "'msg' not in env_raster" def test_env_values_processing(self): """Test usage of envrionment values in processing procedure""" respStatusCode = 200 - json_path = "tests/resources/processing/" "env_var.json" - url_path = "/locations/nc_spm_08/processing_export" + json_path = "tests/resources/processing/env_var.json" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) @@ -77,9 +82,11 @@ def test_env_values_processing(self): content_type="application/json", ) - assert isinstance(resp, Response) - assert resp.status_code == respStatusCode - assert hasattr(resp, "json") + assert isinstance(resp, Response), "'resp' is not of class Response" + assert ( + resp.status_code == respStatusCode + ), f"Status code is {resp.status_code} insted of {respStatusCode}" + assert hasattr(resp, "json"), "'resp' has no attribute 'json'" check_started_process(self, resp) @@ -110,8 +117,8 @@ def test_env_values_processing_overwrite(self): """ respStatusCode = 200 - json_path = "tests/resources/processing/" "env_var_overwrite.json" - url_path = "/locations/nc_spm_08/processing_export" + json_path = "tests/resources/processing/env_var_overwrite.json" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) diff --git a/tests/test_processing_global.py b/tests/test_processing_global.py index 9a06b6f..3c92d56 100644 --- a/tests/test_processing_global.py +++ b/tests/test_processing_global.py @@ -44,7 +44,9 @@ def test_processing(self): respStatusCode = 200 json_path = "tests/resources/processing/global_default_value.json" - url_path = "/locations/nc_spm_08/mapsets/test/processing" + url_path = ( + f"/{self.project_url_part}/nc_spm_08/mapsets/test/processing" + ) with open(json_path) as file: pc_template = json.load(file) @@ -63,7 +65,7 @@ def test_processing(self): check_started_process(self, resp) resp = self.app.delete( - URL_PREFIX + "locations/nc_spm_08/mapsets/test", + f"{URL_PREFIX}/{self.project_url_part}/nc_spm_08/mapsets/test", headers=self.user_auth_header, ) @@ -71,7 +73,7 @@ def test_processing_export(self): """Test Usage of global templates ephemeral processing""" respStatusCode = 200 json_path = "tests/resources/processing/global_point_in_polygon.json" - url_path = "/locations/nc_spm_08/processing_export" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) @@ -95,9 +97,9 @@ def test_processing_if_statement_1(self): statement where all variables are set""" respStatusCode = 200 json_path = ( - "tests/resources/processing/" "global_if_statement_filled_all.json" + "tests/resources/processing/global_if_statement_filled_all.json" ) - url_path = "/locations/nc_spm_08/processing_export" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) @@ -140,9 +142,9 @@ def test_processing_if_statement_2(self): statement where the variable in the if statement is not set""" respStatusCode = 200 json_path = ( - "tests/resources/processing/" "global_if_statement_not_all.json" + "tests/resources/processing/global_if_statement_not_all.json" ) - url_path = "/locations/nc_spm_08/processing_export" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) diff --git a/tests/test_processing_user.py b/tests/test_processing_user.py index 3c1609c..1913f70 100644 --- a/tests/test_processing_user.py +++ b/tests/test_processing_user.py @@ -48,7 +48,9 @@ def test_processing(self): respStatusCode = 200 json_path = "tests/resources/processing/user_default_value.json" - url_path = "/locations/nc_spm_08/mapsets/test/processing" + url_path = ( + f"/{self.project_url_part}/nc_spm_08/mapsets/test/processing" + ) with open(json_path) as file: pc_template = json.load(file) @@ -67,7 +69,7 @@ def test_processing(self): check_started_process(self, resp) resp = self.app.delete( - URL_PREFIX + "locations/nc_spm_08/mapsets/test", + f"{URL_PREFIX}/{self.project_url_part}/nc_spm_08/mapsets/test", headers=self.user_auth_header, ) @@ -79,7 +81,7 @@ def test_processing_export(self): respStatusCode = 200 json_path = "tests/resources/processing/user_point_in_polygon.json" - url_path = "/locations/nc_spm_08/processing_export" + url_path = f"/{self.project_url_part}/nc_spm_08/processing_export" with open(json_path) as file: pc_template = json.load(file) diff --git a/tests/testsuite.py b/tests/testsuite.py index 4196d4b..dd6d034 100644 --- a/tests/testsuite.py +++ b/tests/testsuite.py @@ -62,7 +62,7 @@ from actinia_core.core.common.process_queue import create_process_queue from actinia_core.models.response_models import ProcessingResponseModel from actinia_core.core.common.user import ActiniaUser - +from actinia_core.version import init_versions, G_VERSION # actinia-module-plugin endpoints are included as defined in actinia_core # config @@ -76,6 +76,14 @@ class ActiniaTestCase(unittest.TestCase): user = None auth_header = {} users_list = [] + project_url_part = "projects" + + # set project_url_part to "locations" if GRASS GIS version < 8.4 + init_versions() + grass_version_s = G_VERSION["version"] + grass_version = [int(item) for item in grass_version_s.split(".")[:2]] + if grass_version < [8, 4]: + project_url_part = "locations" def setUp(self): """Overwrites method setUp from unittest.TestCase class"""