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

Application Lifecycle Management

Search In Project

Search inClear

MISC-Geometries#48423/v4
Tags:  not added yet

MISC-Geometries[SERVICE-48423]

Tracker: Services Priority: NormalNormal Status: Deployed
Submitted by: casespNov 16 2018 12:33 Modified by: casespNov 16 2018 12:38 Type:
Data
Path: d/geometries/1.0 Context: csip-misc Version: 1.0
Endpoints: http://csip.engr.colostate.edu:8083/csip-misc/d/geometries/1.0
Maintainers:
Website: -- Apps:
--
Test Status:
Pass
Last Tested: Nov 15 2018 00:00 Test Count: --
Test Success Rate: -- Failed Tests: --
Traceability
Loading…
Description
This service takes geoJSON input and runs several validity checks against it, and also corrects the geoJSON geometry, if possible and non-valid, and returns the test results, as well as, if needed, a corrected geometry in WKT format.

The validity checks run are:

geoJSON parsing: Is the geoJSON valid geoJSON? If not a parsing exception will be thrown with an error message.

geoTools, OGC validity of geometries and geographies.

Microsoft SQL Server validity checks for the input shape as a Geometry and as a Geography to verify it will function properly in SQL Server GIS operations.

Additional checks:

Notifies the user of the point rotation method used for any geometries, ESRI or non-ESRI rotation. (If the geometries are invalid, the corrected geometry will be set to be non-ESRI, i.e. OGC compliant, rotations.)

{
  "metainfo": {
  },
  "parameter": [{
    "name": "test_geometry",
    "type": "Polygon",
    "coordinates": [[
      [
        -83.57170707283063,
        42.4381496040733
      ],
      [
        -83.57726460990949,
        42.43797540898505
      ],
      [
        -83.57713586387678,
        42.43438846611825
      ],
      [
        -83.57135302124067,
        42.434570589577675
      ],
      [
        -83.57170707283063,
        42.4381496040733
      ],
      [
        -83.57170707283063,
        42.4381496040733
      ]
    ]]
  }]
}
{
    "metainfo": {
        "status": "Finished",
        "suid": "148dae7f-e9d7-11e8-8615-c5cb07dc3871",
        "cloud_node": "10.47.128.26",
        "request_ip": "129.82.9.1",
        "service_url": "http://csip.engr.colostate.edu:8083/csip-misc/d/geometries/1.0",
        "tstamp": "2018-11-16 12:37:40",
        "cpu_time": 21,
        "expiration_date": "2018-11-16 12:38:10"
    },
    "parameter": [
        {
            "name": "test_geometry",
            "type": "Polygon",
            "coordinates": [
                [
                    [
                        -83.57170707283063,
                        42.4381496040733
                    ],
                    [
                        -83.57726460990949,
                        42.43797540898505
                    ],
                    [
                        -83.57713586387678,
                        42.43438846611825
                    ],
                    [
                        -83.57135302124067,
                        42.434570589577675
                    ],
                    [
                        -83.57170707283063,
                        42.4381496040733
                    ],
                    [
                        -83.57170707283063,
                        42.4381496040733
                    ]
                ]
            ]
        }
    ],
    "result": [
        {
            "name": "valid_sql_geometry",
            "value": false
        },
        {
            "name": "valid_sql_geography",
            "value": true
        },
        {
            "name": "esri_rotation",
            "value": false
        },
        {
            "name": "valid_geotools_geometry",
            "value": true
        },
        {
            "name": "fixed_geometry",
            "value": {
                "type": "Polygon",
                "coordinates": [
                    [
                        [
                            -83.577136,
                            42.434388
                        ],
                        [
                            -83.571353,
                            42.434571
                        ],
                        [
                            -83.571707,
                            42.43815
                        ],
                        [
                            -83.577265,
                            42.437975
                        ],
                        [
                            -83.577136,
                            42.434388
                        ]
                    ]
                ]
            }
        },
        {
            "name": "new_valid_sql_geometry",
            "value": true
        },
        {
            "name": "new_valid_sql_geography",
            "value": true
        },
        {
            "name": "new_esri_rotation",
            "value": false
        },
        {
            "name": "new_valid_geotools_geometry",
            "value": true
        }
    ]
}
Details
Comments & Attachments
Associations
Children
SCM Commits
History (4)
Baselines
All (4)

 
No data to display.