Skip to content

gw_fct_anl_arc_inverted

Edgar Fuste edited this page Nov 2, 2021 · 1 revision

Description

Network analysis to check arcs that have the slope in a oposite sense that the direction

Input example

SELECT gw_fct_anl_arc_inverted($${
"client":{"device":4, "infoType":1, "lang":"ES"}, 
"form":{}, 
"feature":{"tableName":"v_edit_arc", "featureType":"ARC", "id":[]}, 
"data":{"filterFields":{}, "pageInfo":{}, "selectionMode":"wholeSelection",
"parameters":{}}}$$);

Output example

{
  "status": "Accepted",
  "message": {
    "level": 1,
    "text": "Analysis done successfully"
  },
  "version": "3.5.002",
  "body": {
    "form": {},
    "data": {
      "info": {
        "geometryType": "",
        "values": {}
      },
      "line": {
        "geometryType": "LineString",
        "features": [
          {
            "type": "Feature",
            "geometry": {
              "type": "LineString",
              "coordinates": [
                [
                  419618.156905267,
                  4576467.08684429
                ],
                [
                  419595.90798011,
                  4576474.37907755
                ],
                [
                  419551.269990135,
                  4576503.64989065
                ],
                [
                  419506.485646094,
                  4576533.50612001
                ],
                [
                  419456.578909762,
                  4576566.43578475
                ],
                [
                  419442.382565409,
                  4576576.3878612
                ],
                [
                  419400.671656744,
                  4576612.83002351
                ],
                [
                  419364.083140371,
                  4576645.17427198
                ],
                [
                  419306.126930436,
                  4576695.95913271
                ],
                [
                  419292.955064542,
                  4576707.08204168
                ],
                [
                  419260.757170134,
                  4576729.32785964
                ],
                [
                  419177.774415,
                  4576785.08875859
                ],
                [
                  419225.833431256,
                  4576823.59817206
                ]
              ]
            },
            "properties": {
              "id": 5,
              "fid": 110,
              "state": 1,
              "arc_id": "245",
              "expl_id": 1,
              "descript": null,
              "arccat_id": "PP020"
            }
          },
          {
            "type": "Feature",
            "geometry": {
              "type": "LineString",
              "coordinates": [
                [
                  418717.966224535,
                  4577602.21274887
                ],
                [
                  418722.208497495,
                  4577606.80895876
                ],
                [
                  418689.850707364,
                  4577799.67601293
                ],
                [
                  418681.410869448,
                  4577802.1744487
                ]
              ]
            },
            "properties": {
              "id": 6,
              "fid": 110,
              "state": 1,
              "arc_id": "18966",
              "expl_id": 2,
              "descript": null,
              "arccat_id": "PP020"
            }
          }
        ]
      }
    },
    "returnManager": {
      "style": {
        "point": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        },
        "line": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        },
        "polygon": {
          "style": "unique",
          "values": {
            "width": 3,
            "color": [
              255,
              1,
              1
            ],
            "transparency": 0.5
          }
        }
      },
      "functionId": 2204
    }
  }
}
Clone this wiki locally