Skip to content

Commit

Permalink
Remove PC export options and raster export from v0 docs.
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexMountain committed Oct 23, 2015
1 parent d4224ac commit 3dbcecb
Showing 1 changed file with 1 addition and 55 deletions.
56 changes: 1 addition & 55 deletions endpoints.md
Original file line number Diff line number Diff line change
Expand Up @@ -421,16 +421,6 @@ GET http://gridte.rsgis.erdc.dren.mil/te_ba/api/v0/aoi/{pk}/generate/pointcloud
Query parameter Value
----------------------- ---------------------------------------------------------------------------------------------------------------------------------
collects *Required*. A list of collection primary keys to include in the export, separated by `+` or `,`.
hsrs *Optional*. Accepts an EPSG code. Defaults to AOI SRS.
intensity *Optional*. Whether or not to export intensity. Default: True.
dim\_classification *Optional*. Whether or not to export classification. Default: True.
file\_export\_options *Optional*. Determine file merging strategy. Accepts `individual`, `collect`, and `super`. Default: `individual`.
compressed *Optional*. Whether or not to export compressed data. Default: True.
send\_email *Optional*. Whether or not to notify user via email upon completion. Default: False.
generate\_dem *Optional*. Whether or not to generate a DEM from the export. Default: False.
cell\_spacing *Optional*. Used together with `generate_dem`. Default: 1.0.
pcl\_terrain *Optional*. Used to trigger a PMF Bare Earth export. Accepts `urban`, `suburban`, `mountainous`, and `foliated`. Default: None.
sri\_hres *Optional* Used to trigger a Sarnoff Bare Earth export. Accepts the horizontal resolutions. Default: None.

#### Response Format

Expand All @@ -441,51 +431,7 @@ object](#generate-export-object) in JSON format.
#### Example

~~~~ {.bash}
curl -u <username> http://gridte.rsgis.erdc.dren.mil/api/v0/aoi/2389/generate/pointcloud/?collects=100+102&send_email=True&file_export_options=collect
~~~~

~~~~ {.json}
{
"started" : true,
"task_id" : "774b4666-5706-4237-8661-df0f96cd7b9c"
}
~~~~

### Generate Raster Export

Generate raster export for the given AOI primary key and collect primary
keys.

#### Endpoint

~~~~ {.bash}
GET http://gridte.rsgis.erdc.dren.mil/te_ba/api/v1/aoi/{pk}/generate/raster
~~~~

#### Request Parameters

Path parameter Value
---------------- -----------------------------
pk The primary key of the AOI.

Query parameter Value
----------------------- ---------------------------------------------------------------------------------------------------------
collects *Required*. A list of collection primary keys to include in the export, separated by `+` or `,`.
hsrs *Optional*. Accepts an EPSG code. Defaults to AOI SRS.
file\_export\_options *Optional*. Determine file merging strategy. Accepts `individual` and `collect`. Default: `individual`.
compressed *Optional*. Whether or not to export compressed data. Default: True.
send\_email *Optional*. Whether or not to notify user via email upon completion. Default: False.

#### Response Format

On success, the HTTP status code in the header response is `200` OK and
the response body contains a [Generate export
object](#generate-export-object) in JSON format.

#### Example

~~~~ {.bash}
curl -u <username> http://gridte.rsgis.erdc.dren.mil/api/v1/aoi/2389/generate/raster/?collects=100+102&send_email=True&file_export_options=collect
curl -u <username> http://gridte.rsgis.erdc.dren.mil/api/v0/aoi/2389/generate/pointcloud/?collects=100+102
~~~~

~~~~ {.json}
Expand Down

0 comments on commit 3dbcecb

Please sign in to comment.