You are not logged in. Click here to log in.

Application Lifecycle Management

Search In Project

Search inClear

SOILS-01#26215/v7
Tags:  not added yet

SOILS-01[SERVICE-26215]

Tracker: Services Priority: NormalNormal Status: Deployed
Submitted by: casespSep 28 2016 14:24 Modified by: casespSep 28 2016 15:28 Type:
Data
Path: d/soils/1.3 Context: csip-soils Version: 1.3
Endpoints: http://csip.engr.colostate.edu:8083/csip-soils/d/soils/1.3
Maintainers:
Website: -- Apps:
IET, FTM, RSET
Test Status:
Pass
Last Tested: -- Test Count: --
Test Success Rate: -- Failed Tests: --
Traceability
Loading…
Description
CSIP Soils service, version 1.3

The following major changes were made to upgrade the service from version 1.2 (csip-erosion context):

Service logic changes
  • Add MULTIPOLYGON input ability. Ties to new release of IET as well, which interprets multipart shapes into GeoJSON Polygon or MultiPolygon now.
  • Fix all input polygons if they rotate incorrectly and are smaller than 10,000 acres (spec limits sizes to 10,000 acres and under…but this also gives us a point by which we can make this reorient call in MsSQL)
    • All input shapes greater than 10,000 acres are rejected with an error message
  • Moves the endpoint into the context of csip-soils, out of csip-erosion.
Internal changes
  • Use csip-core connection pooling in the DBObjects classes, and don't derive DBObjects from ModelDataServices as was previously done in 1.2
  • Improve error reporting to utilize new csip-core service-exception constructs
  • Refactor service class code to stop using deprecated ModelDataService member functions
Request Response
{
  "metainfo": {},
  "parameter": [{
    "name": "AoI",
    "value": {
      "type": "FeatureCollection",
      "crs": {
        "type": "name",
        "properties": {"name": "urn:ogc:def:crs:EPSG:7.9.8:4326"}
      },
      "features": [{
        "type": "Feature",
        "geometry": {
          "type": "Polygon",
          "coordinates": [[
            [
              -88.48064268360056,
              37.422787276160385
            ],
            [
              -88.47988997803746,
              37.42261560482577
            ],
            [
              -88.47909773582208,
              37.422445748753994
            ],
            [
              -88.47900454010293,
              37.42242577082319
            ],
            [
              -88.4780921464217,
              37.4221458566443
            ],
            [
              -88.47801183613697,
              37.421905764163306
            ],
            [
              -88.47814404119734,
              37.42158264420635
            ],
            [
              -88.47850211326286,
              37.421216510009636
            ],
            [
              -88.47898393275034,
              37.420738326644155
            ],
            [
              -88.47943997418241,
              37.42023034332166
            ],
            [
              -88.47968885692345,
              37.420076530754024
            ],
            [
              -88.4800715042002,
              37.41967995424913
            ],
            [
              -88.4802942127288,
              37.419476246205235
            ],
            [
              -88.48029373572336,
              37.419451981077664
            ],
            [
              -88.48262357031166,
              37.419693421279995
            ],
            [
              -88.48143527975213,
              37.422933403946836
            ],
            [
              -88.4807250528239,
              37.42280606401425
            ],
            [
              -88.48064268360056,
              37.422787276160385
            ]
          ]]
        },
        "properties": {}
      }]
    }
  }]
}

{
  "metainfo": {
    "status": "Finished",
    "suid": "883be0ab-85bc-11e6-8665-87a81d2820e7",
    "cloud_node": "172.1.6.25",
    "tstamp": "2016-09-28 14:45:46",
    "service_url": "http://csip.engr.colostate.edu:8083/csip-soils/d/soils/1.3",
    "request_ip": "150.120.105.123",
    "csip-soils.version": "$version: 1.0.38 df0bfd89d964 2016-09-26 Shaun Case, built at 2016-09-26 10:26 by jenkins$",
    "csip.version": "$version: 2.1.104 21a923bda09a 2016-09-20 ktraff, built at 2016-09-26 10:26 by jenkins$",
    "cpu_time": 2687,
    "expiration_date": "2016-09-28 14:50:49"
  },
  "parameter": [{
    "name": "AoI",
    "value": {
      "type": "FeatureCollection",
      "crs": {
        "type": "name",
        "properties": {"name": "urn:ogc:def:crs:EPSG:7.9.8:4326"}
      },
      "features": [{
        "type": "Feature",
        "geometry": {
          "type": "Polygon",
          "coordinates": [[
            [
              -88.48064268360056,
              37.422787276160385
            ],
            [
              -88.47988997803746,
              37.42261560482577
            ],
            [
              -88.47909773582208,
              37.422445748753994
            ],
            [
              -88.47900454010293,
              37.42242577082319
            ],
            [
              -88.4780921464217,
              37.4221458566443
            ],
            [
              -88.47801183613697,
              37.421905764163306
            ],
            [
              -88.47814404119734,
              37.42158264420635
            ],
            [
              -88.47850211326286,
              37.421216510009636
            ],
            [
              -88.47898393275034,
              37.420738326644155
            ],
            [
              -88.47943997418241,
              37.42023034332166
            ],
            [
              -88.47968885692345,
              37.420076530754024
            ],
            [
              -88.4800715042002,
              37.41967995424913
            ],
            [
              -88.4802942127288,
              37.419476246205235
            ],
            [
              -88.48029373572336,
              37.419451981077664
            ],
            [
              -88.48262357031166,
              37.419693421279995
            ],
            [
              -88.48143527975213,
              37.422933403946836
            ],
            [
              -88.4807250528239,
              37.42280606401425
            ],
            [
              -88.48064268360056,
              37.422787276160385
            ]
          ]]
        },
        "properties": {}
      }]
    }
  }],
  "result": [
    {
      "name": "AoI",
      "value": {
        "type": "FeatureCollection",
        "crs": {
          "type": "name",
          "properties": {"name": "urn:ogc:def:crs:EPSG:7.9.8:4326"}
        },
        "features": [{
          "type": "Feature",
          "geometry": {
            "type": "Polygon",
            "coordinates": [[
              [
                -88.48064268360056,
                37.422787276160385
              ],
              [
                -88.47988997803746,
                37.42261560482577
              ],
              [
                -88.47909773582208,
                37.422445748753994
              ],
              [
                -88.47900454010293,
                37.42242577082319
              ],
              [
                -88.4780921464217,
                37.4221458566443
              ],
              [
                -88.47801183613697,
                37.421905764163306
              ],
              [
                -88.47814404119734,
                37.42158264420635
              ],
              [
                -88.47850211326286,
                37.421216510009636
              ],
              [
                -88.47898393275034,
                37.420738326644155
              ],
              [
                -88.47943997418241,
                37.42023034332166
              ],
              [
                -88.47968885692345,
                37.420076530754024
              ],
              [
                -88.4800715042002,
                37.41967995424913
              ],
              [
                -88.4802942127288,
                37.419476246205235
              ],
              [
                -88.48029373572336,
                37.419451981077664
              ],
              [
                -88.48262357031166,
                37.419693421279995
              ],
              [
                -88.48143527975213,
                37.422933403946836
              ],
              [
                -88.4807250528239,
                37.42280606401425
              ],
              [
                -88.48064268360056,
                37.422787276160385
              ]
            ]]
          },
          "properties": {}
        }]
      }
    },
    [[
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737940"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607234"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 3,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 5 to 10 percent slopes, severely eroded"
        },
        {
          "name": "ssurgo_musym",
          "value": "301C3"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg severely eroded Silty clay loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301C3 Grantsburg silt loam, 5 to 10 percent slopes, severely eroded"
        },
        {
          "name": "length_r",
          "value": 130,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 8,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 8.2805526887406,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 2.013603676460255,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737940"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ],
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737920"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607233"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 4,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 5 to 10 percent slopes, eroded"
        },
        {
          "name": "ssurgo_musym",
          "value": "301C2"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg eroded Silt loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301C2 Grantsburg silt loam, 5 to 10 percent slopes, eroded"
        },
        {
          "name": "length_r",
          "value": 130,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 8,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 4.129121297868199,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 1.0040892363674212,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737920"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ],
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737939"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607231"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 4,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 2 to 5 percent slopes"
        },
        {
          "name": "ssurgo_musym",
          "value": "301B"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg  Silt loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301B Grantsburg silt loam, 2 to 5 percent slopes"
        },
        {
          "name": "length_r",
          "value": 180,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 4,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 57.705772186455576,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 14.032463700837503,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737939"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ],
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737920"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607233"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 4,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 5 to 10 percent slopes, eroded"
        },
        {
          "name": "ssurgo_musym",
          "value": "301C2"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg eroded Silt loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301C2 Grantsburg silt loam, 5 to 10 percent slopes, eroded"
        },
        {
          "name": "length_r",
          "value": 130,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 8,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 29.03275298535598,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 7.059970553483256,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737920"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ],
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737941"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607236"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 4,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 10 to 18 percent slopes, eroded"
        },
        {
          "name": "ssurgo_musym",
          "value": "301D2"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg eroded Silt loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301D2 Grantsburg silt loam, 10 to 18 percent slopes, eroded"
        },
        {
          "name": "length_r",
          "value": 80,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 14,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 0.48916786923207284,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 0.11895223144117684,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737941"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ],
      [
        {
          "name": "ssurgo_cokey",
          "value": "10737930"
        },
        {
          "name": "ssurgo_mukey",
          "value": "607237"
        },
        {
          "name": "ssurgo_areasymbol",
          "value": "IL151"
        },
        {
          "name": "ssurgo_compname",
          "value": "Grantsburg"
        },
        {
          "name": "ssurgo_kffact",
          "value": ".43"
        },
        {
          "name": "ssurgo_tfact",
          "value": 3,
          "unit": "ton/acre/year"
        },
        {
          "name": "ssurgo_muname",
          "value": "Grantsburg silt loam, 10 to 18 percent slopes, severely eroded"
        },
        {
          "name": "ssurgo_musym",
          "value": "301D3"
        },
        {
          "name": "per_water",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "per_wind",
          "value": 0,
          "unit": "ton/acre/year"
        },
        {
          "name": "r2_r2name",
          "value": "Grantsburg severely eroded Silty clay loam 90%"
        },
        {
          "name": "r2_r2path",
          "value": "soils\\Pope County, Illinois\\301D3 Grantsburg silt loam, 10 to 18 percent slopes, severely eroded"
        },
        {
          "name": "length_r",
          "value": 80,
          "unit": "feet"
        },
        {
          "name": "ssurgo_slopeR",
          "value": 14,
          "unit": "%"
        },
        {
          "name": "ssurgo_sandtotalR",
          "value": 3,
          "unit": "%"
        },
        {
          "name": "percent_of_aoi",
          "value": 0.3624499709650285,
          "unit": "percent"
        },
        {
          "name": "acres_in_aoi",
          "value": 0.08813790836214037,
          "unit": "acres"
        },
        {
          "name": "weps_name",
          "value": "10737930"
        },
        {
          "name": "weps_path",
          "value": "soils/IL"
        }
      ]
    ]]
  ]
}
}
Files to attach:
Details
Comments & Attachments
Associations
Children
SCM Commits
History (7)
Baselines
All (7)