Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

The /data resource represents the data querying capabilities of Weave.


Info
titleFurther reading

Weave data definition



Metadata

All /data resources support a 'metadata' boolean query parameter. This parameter determines if a column definition of the queried data is returned along with the result.

1

...

. Top-level resource: services/v1/data

Provides a list of all data definitions configured and accessible to the user on Weave.

Example 1   - when When metadata=true

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data?metadata=true'

...

Code Block
languagejs
collapsetrue
[
  {
    "columns": [
      {
        "id": "_id",
        "key": true,
        "label": "Id",
        "type": "int"
      },
      {
        "id": "ogc_fid",
        "label": "Ogc Fid",
        "type": "int"
      },
      {
        "id": "postcode",
        "label": "Postcode",
        "type": "float"
      }
    ],
    "entity": "postcode",
    "id": "postcodeDetails",
    "label": "Postcode"
  },
  {
    "columns": [
      {
        "id": "_id",
        "key": true,
        "label": "Id",
        "type": "string"
      },
      {
        "id": "plannumber",
        "label": "Plannumber",
        "type": "string"
      },
      {
        "id": "sectionnum",
        "label": "Sectionnum",
        "type": "string"
      },
      {
        "id": "lotnumber",
        "label": "Lotnumber",
        "type": "string"
      },
      {
        "id": "propid",
        "label": "Propid",
        "type": "string"
      },
      {
        "id": "hasproperty",
        "label": "Hasproperty",
        "type": "string"
      },
      {
        "id": "address",
        "label": "Address",
        "type": "string"
      },
      {
        "id": "postcode_segment",
        "label": "Postcode Segment",
        "type": "string"
      },
      {
        "id": "suburb_segment",
        "label": "Suburb Segment",
        "type": "string"
      },
      {
        "id": "poi_segment",
        "label": "Poi Segment",
        "type": "string"
      },
      {
        "id": "address_segment",
        "label": "Address Segment",
        "type": "string"
      },
      {
        "id": "processdate",
        "label": "Processdate",
        "type": "string"
      },
      {
        "id": "ogc_fid",
        "label": "Ogc Fid",
        "type": "int"
      }
    ],
    "entity": "property",
    "id": "addresspoiDetails",
    "label": "Property"
  },
  {
    "columns": [
      {
        "id": "_id",
        "key": true,
        "label": "Id",
        "type": "int"
      },
      {
        "id": "ogc_fid",
        "label": "Ogc Fid",
        "type": "int"
      },
      {
        "id": "foreshore_code",
        "label": "Foreshore Code",
        "type": "string"
      },
      {
        "id": "description",
        "label": "Description",
        "type": "string"
      },
      {
        "id": "legislation_schedule_num",
        "label": "Legislation Schedule Num",
        "type": "string"
      },
      {
        "id": "schedule_part_num",
        "label": "Schedule Part Num",
        "type": "string"
      },
      {
        "id": "part_item_num",
        "label": "Part Item Num",
        "type": "string"
      },
      {
        "id": "additional_reference_desc",
        "label": "Additional Reference Desc",
        "type": "string"
      },
      {
        "id": "epi_name",
        "label": "Epi Name",
        "type": "string"
      },
      {
        "id": "epi_type",
        "label": "Epi Type",
        "type": "string"
      },
      {
        "id": "lga_code",
        "label": "Lga Code",
        "type": "int"
      },
      {
        "id": "lga_name",
        "label": "Lga Name",
        "type": "string"
      },
      {
        "id": "published_date",
        "label": "Published Date",
        "type": "date"
      },
      {
        "id": "commenced_date",
        "label": "Commenced Date",
        "type": "date"
      },
      {
        "id": "currency_date",
        "label": "Currency Date",
        "type": "date"
      },
      {
        "id": "amendment",
        "label": "Amendment",
        "type": "string"
      },
      {
        "id": "growth_area",
        "label": "Growth Area",
        "type": "string"
      },
      {
        "id": "precinct",
        "label": "Precinct",
        "type": "string"
      },
      {
        "id": "survey_area",
        "label": "Survey Area",
        "type": "float"
      },
      {
        "id": "ext_dept_reference",
        "label": "Ext Dept Reference",
        "type": "string"
      },
      {
        "id": "ext_dept_system",
        "label": "Ext Dept System",
        "type": "string"
      },
      {
        "id": "ext_dept_link",
        "label": "Ext Dept Link",
        "type": "string"
      },
      {
        "id": "planning_hierarchy",
        "label": "Planning Hierarchy",
        "type": "string"
      },
      {
        "id": "pco_ref_key",
        "label": "Pco Ref Key",
        "type": "string"
      },
      {
        "id": "pco_letter_link",
        "label": "Pco Letter Link",
        "type": "string"
      },
      {
        "id": "pco_epi_link",
        "label": "Pco Epi Link",
        "type": "string"
      },
      {
        "id": "pco_map_layer_link",
        "label": "Pco Map Layer Link",
        "type": "string"
      },
      {
        "id": "pco_details_link",
        "label": "Pco Details Link",
        "type": "string"
      },
      {
        "id": "attachment_ref_id",
        "label": "Attachment Ref Id",
        "type": "string"
      },
      {
        "id": "exception_area",
        "label": "Exception Area",
        "type": "string"
      },
      {
        "id": "exception_clause",
        "label": "Exception Clause",
        "type": "string"
      },
      {
        "id": "exception_value",
        "label": "Exception Value",
        "type": "string"
      },
      {
        "id": "exception_area_2",
        "label": "Exception Area 2",
        "type": "string"
      },
      {
        "id": "exception_clause_2",
        "label": "Exception Clause 2",
        "type": "string"
      },
      {
        "id": "exception_value_2",
        "label": "Exception Value 2",
        "type": "string"
      },
      {
        "id": "created_user",
        "label": "Created User",
        "type": "string"
      },
      {
        "id": "created_date",
        "label": "Created Date",
        "type": "date"
      },
      {
        "id": "last_edited_user",
        "label": "Last Edited User",
        "type": "string"
      },
      {
        "id": "last_edited_date",
        "label": "Last Edited Date",
        "type": "date"
      },
      {
        "id": "objectid",
        "label": "Objectid",
        "type": "int"
      }
    ],
    "entity": "front_building_line",
    "id": "front_building_lineDetails",
    "label": "Front Building Line"
  },
  {
    "columns": [
      {
        "id": "_id",
        "key": true,
        "label": "Id",
        "type": "int"
      },
      {
        "id": "name",
        "label": "Name",
        "type": "string"
      },
      {
        "id": "type",
        "label": "Type",
        "type": "string"
      },
      {
        "id": "lganame",
        "label": "Lganame",
        "type": "string"
      },
      {
        "id": "status",
        "label": "Status",
        "type": "string"
      },
      {
        "id": "lgacode",
        "label": "Lgacode",
        "type": "string"
      },
      {
        "id": "ogc_fid",
        "label": "Ogc Fid",
        "type": "int"
      }
    ],
    "entity": "areasearch",
    "id": "areasearchDetails",
    "label": "Areasearch"
  }
]


Example 2 - when When metadata=false

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data?metadata=false'

...

Code Block
languagejs
collapsetrue
[
  {
    "entity": "postcode",
    "id": "postcodeDetails",
    "label": "Postcode"
  },
  {
    "entity": "property",
    "id": "addresspoiDetails",
    "label": "Property"
  },
  {
    "entity": "front_building_line",
    "id": "front_building_lineDetails",
    "label": "Front Building Line"
  },
  {
    "entity": "areasearch",
    "id": "areasearchDetails",
    "label": "Areasearch"
  }
]


Sub-resources:

1

...

. /data/execute/ids/{dataId}

For the given feature id, queries and returns provides data matching the provided data configuration id id.

...

Parameters

GET query parameters:

ids - list of strings - feature ids (identifies individual entity items)

...

Code Block
languagejs
collapsetrue
{
  "total": 1,
  "results": [
    [
      "710247_2",
      "DP710247",
      null,
      "2",
      "710247_2",
      "0",
      "",
      "",
      "",
      null,
      "",
      "20151027",
      12
    ]
  ]
}



2

...

. /data/execute/

...

search/{dataId}

Returns data associated with the geometrical line segment along the two specified vertices. E.g. when working with  property layer this refers to properties that fall within the specified spatial operation along the specified geometrical linespecified search string.

Example 34

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/linesearch/addresspoiDetails?entitysearchId=propertyaddresspoi&x1parameters=16784645.367663plannumber%3DDP778239&y1=-4107061.3011045&x2=16784700.367663&y2=-4106561.3011045&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false'

Output

Code Block
languagejs
metadata=false'


Output

Code Block
languagejs
collapsetrue
{
  "total": 162,
  "results": [
    [
      "76365_2-4_Marsh_Place___Albion_Park2744145_87_Fiona_Crescent__9_Lake_Cathie_DP778239",
      "SP76365DP778239",
      null,
      null"9",
      "76365_2-4_Marsh_Place___Albion_Park2744145_87_Fiona_Crescent__9_Lake_Cathie_DP778239",
      "01",
      "2-487 MarshFiona PlaceCrescent, AlbionLake ParkCathie, 25272445",
      "25272445",
      "AlbionLake ParkCathie",
      null,
      "2-487 MarshFiona PlaceCrescent ",
      "20151027",
      1779513009820
    ],
    [
      "10437662744144_589_McgillFiona_CloseCrescent__3610_AlbionLake_ParkCathie_DP262341DP778239",
      "DP262341DP778239",
      null,
      "3610",
      "10437662744144_589_McgillFiona_CloseCrescent__3610_AlbionLake_ParkCathie_DP262341DP778239",
      "1",
      "589 McgillFiona CloseCrescent, AlbionLake ParkCathie, 25272445",
      "25272445",
      "AlbionLake ParkCathie",
      null,
      "589 McgillFiona CloseCrescent ",
      "20151027",
      1757803009851
    ],
  ]
 [
      "1048997_13_Smith_Avenue__107_Albion_Park_DP793040}


3. /data/execute/selection/{dataId}

Returns data associated with the selections of an entity.

Example 9

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8087/weave/services/v1/data/execute/selection/addresspoiDetails?entity=property&metadata=false'


Output

Code Block
languagejs
collapsetrue
{
  "total": 1,
  "results": [
    [
      "1933692_3_Paul_Street__A_Balmain_East_DP450005",
      "DP793040DP450005",
      null,
      "107A",
      "10489971933692_133_SmithPaul_AvenueStreet__107A_AlbionBalmain_ParkEast_DP793040DP450005",
      "1",
      "133 SmithPaul AvenueStreet, AlbionBalmain ParkEast, 25272041",
      "25272041",
      "AlbionBalmain ParkEast",
      null,
      "133 SmithPaul AvenueStreet ",
      "20151027",
      1788104333228
    ],
  ]
 [
      "76365_Unit_1_2-}

4. /data/execute/line/{dataId}

Returns data associated with the geometrical line segment along the two specified vertices. E.g. when working with  property layer this refers to properties that fall within the specified spatial operation along the specified geometrical line.

Example 3

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/line/addresspoiDetails?entity=property&x1=16784645.367663&y1=-4107061.3011045&x2=16784700.367663&y2=-4106561.3011045&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false'


Output

Code Block
languagejs
collapsetrue
{
  "total": 16,
  "results": [
    [
      "76365_2-4_Marsh_Place___Albion_Park",
      "SP76365",
      null,
      null,
      "76365_Unit_1_2-4_Marsh_Place___Albion_Park",
      "0",
      "1 2-4 Marsh Place, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "Unit 1 2-4 Marsh Place ",
      "20151027",
      176361177951
    ],
    [
      "10436351043766_65_MccoyMcgill_PlaceClose__10636_Albion_Park_DP713781DP262341",
      "DP713781DP262341",
      null,
      "10636",
      "10436351043766_65_MccoyMcgill_PlaceClose__10636_Albion_Park_DP713781DP262341",
      "1",
      "65 MccoyMcgill PlaceClose, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "65 MccoyMcgill PlaceClose ",
      "20151027",
      174975175780
    ],
    [
      "10490141048997_1013_Smith_Avenue__155107_Albion_Park_DP793040",
      "DP793040",
      null,
      "155107",
      "10490141048997_1013_Smith_Avenue__155107_Albion_Park_DP793040",
      "1",
      "1013 Smith Avenue, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "1013 Smith Avenue ",
      "20151027",
      178693178810
    ],
    [
      "103130576365_Unit_1_Aitken2-4_CloseMarsh_Place_44__Albion_Park_DP263741",
      "DP263741SP76365",
      null,
      "44"null,
      "103130576365_Unit_1_2-4_AitkenMarsh_ClosePlace__44_Albion_Park_DP263741",
      "10",
      "1 Aitken Close2-4 Marsh Place, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "Unit 1 Aitken Close2-4 Marsh Place ",
      "20151027",
      176992176361
    ],
    [
      "763651043635_Unit_2_2-4_Marsh6_Mccoy_Place__106_Albion_Park_DP713781",
      "SP76365DP713781",
      null,
      null"106",
      "763651043635_Unit_2_2-4_Marsh6_Mccoy_Place__106_Albion_Park_DP713781",
      "01",
      "2 2-4 Marsh6 Mccoy Place, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "Unit6 2 2-4 Marsh Mccoy Place ",
      "20151027",
      176243174975
    ],
    [
      "10433991049014_310_MarshSmith_PlaceAvenue__14155_Albion_Park_DP262341DP793040",
      "DP262341DP793040",
      null,
      "14155",
      "10433991049014_310_MarshSmith_PlaceAvenue__14155_Albion_Park_DP262341DP793040",
      "1",
      "310 MarshSmith PlaceAvenue, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "310 MarshSmith PlaceAvenue ",
      "20151027",
      178698178693
    ],
    [
      "10313061031305_31_Aitken_Close__4544_Albion_Park_DP263741",
      "DP263741",
      null,
      "4544",
      "10313061031305_31_Aitken_Close__4544_Albion_Park_DP263741",
      "1",
      "31 Aitken Close, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "31 Aitken Close ",
      "20151027",
      175804176992
    ],
    [
      "1031859_17_Badgery_Street__4376365_Unit_2_2-4_Marsh_Place___Albion_Park_DP263741",
      "DP263741SP76365",
      null,
      "43"null,
      "1031859_17_Badgery_Street__4376365_Unit_2_2-4_Marsh_Place___Albion_Park_DP263741",
      "10",
      "17 Badgery Street2 2-4 Marsh Place, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "17 Badgery StreetUnit 2 2-4 Marsh Place ",
      "20151027",
      176507176243
    ],
    [
      "10434001043399_13_Marsh_Place__1514_Albion_Park_DP262341",
      "DP262341",
      null,
      "1514",
      "10434001043399_13_Marsh_Place__1514_Albion_Park_DP262341",
      "1",
      "13 Marsh Place, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "13 Marsh Place ",
      "20151027",
      177996178698
    ],
    [
      "10437681031306_13_McgillAitken_Close__3845_Albion_Park_DP262341DP263741",
      "DP262341DP263741",
      null,
      "3845",
      "10437681031306_13_McgillAitken_Close__3845_Albion_Park_DP262341DP263741",
      "1",
      "13 McgillAitken Close, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "13 McgillAitken Close ",
      "20151027",
      175234175804
    ],
    [
      "10400701031859_1517_HughesBadgery_DriveStreet__1643_Albion_Park_DP262341DP263741",
      "DP262341DP263741",
      null,
      "1643",
      "10400701031859_1517_HughesBadgery_DriveStreet__1643_Albion_Park_DP262341DP263741",
      "1",
      "1517 HughesBadgery DriveStreet, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "1517 HughesBadgery DriveStreet ",
      "20151027",
      174120176507
    ],
    [
      "10437671043400_31_McgillMarsh_ClosePlace__3715_Albion_Park_DP262341",
      "DP262341",
      null,
      "3715",
      "10437671043400_31_McgillMarsh_ClosePlace__3715_Albion_Park_DP262341",
      "1",
      "31 McgillMarsh ClosePlace, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "31 McgillMarsh ClosePlace ",
      "20151027",
      177972177996
    ],
    [
      "10437651043768_71_Mcgill_Close__3538_Albion_Park_DP262341",
      "DP262341",
      null,
      "3538",
      "10437651043768_71_Mcgill_Close__3538_Albion_Park_DP262341",
      "1",
      "71 Mcgill Close, Albion Park, 2527",
      "2527",
      "Albion Park",
      null,
      "71 Mcgill Close ",
      "20151027",
      175043175234
    ],
  ] }

3 - /data/execute/search/{dataId}

Returns data associated with the specified search string.

Example 4

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/search/addresspoiDetails?searchId=addresspoi&parameters=plannumber%3DDP778240&metadata=false'

Output

Code Block
languagejs
collapsetrue
{
  "total": 2,
  "results": [
    [ [
      "1040070_15_Hughes_Drive__16_Albion_Park_DP262341",
      "DP262341",
      null,
      "16",
      "27441441040070_8915_FionaHughes_CrescentDrive__1016_LakeAlbion_CathiePark_DP778239DP262341",
      "89 Fiona Crescent1",
Lake Cathie, 2445",    "15 Hughes Drive, "13Albion SmithPark, Avenue 2527",
      "12527",
      "10Albion Park",
      178810null,
      "DP77823915 Hughes Drive ",
      null"20151027",
      "2445",174120
      "20151027"],
      null,[
      "27441441043767_893_FionaMcgill_CrescentClose__1037_LakeAlbion_CathiePark_DP778239DP262341",
      null"DP262341",
      "Lake Cathie"null,
      ]"37",
	[       "27441451043767_873_FionaMcgill_CrescentClose__937_LakeAlbion_CathiePark_DP778239DP262341",
      "1"87 Fiona Crescent,
Lake Cathie, 2445",    "3 Mcgill Close, "13Albion SmithPark, Avenue 2527",
      "12527",
      "9Albion Park",
      178810null,
      "DP7782393 Mcgill Close ",
      null"20151027",
      "2445",177972
      "20151027"],
      null,[
      "27441451043765_877_FionaMcgill_CrescentClose__935_LakeAlbion_Cathie_DP778239Park_DP262341",
      "DP262341",
      null,
      "Lake Cathie35",
    ]
  ]
}

4 - /data/execute/linearray/{dataId}

Returns data associated with the provided shape. E.g. in the property layer, this means the properties intersecting the specified linearray geometrical shape.

Example 5

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/linearray/addresspoiDetails?entity=property&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false&points=16784645.367%2C-4107061.301%2C16784642.367%2C-4107061.301%2C16784645.367%2C-4107066.301'

Output

Code Block
languagejs
collapsetrue
 {
  "total": 1,
  "results": [
    [
      "1049014_10_Smith_Avenue__155_Albion_Park_DP793040  "1043765_7_Mcgill_Close__35_Albion_Park_DP262341",
      "1",
      "7 Mcgill Close, Albion Park, 2527",
      "2527",
      "Albion Park",
      "10null,
 Smith Avenue, Albion Park, 2527",
      "107 SmithMcgill AvenueClose ",
      "120151027",
      "155",175043
    ]
 178693,       "DP793040",
      null,
      "2527",
      "20151027",
      null,
]
}


5. /data/execute/linearray/{dataId}

Returns data associated with the provided shape. E.g. in the property layer, this means the properties intersecting the specified line array geometrical shape.

Example 5

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/linearray/addresspoiDetails?entity=property&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false&points=16784645.367%2C-4107061.301%2C16784642.367%2C-4107061.301%2C16784645.367%2C-4107066.301'


Output

Code Block
languagejs
collapsetrue
 {
  "total": 1,
  "results": [
    [
      "1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      null,"10 Smith Avenue, Albion Park, 2527",
 "Albion Park"    "10 ]Smith Avenue ",
] }

5 - /data/execute/buffer/{dataId}

Returns data associated with the specified spatial operation on the map area of the point and the buffer area specified around it. E.g. in the property layer, when 'intersect ' operation is specified this refers to properties that intersect the specified point and the geometrical buffer around the point.

Example 6

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://52.62.90.95:9090/weave/services/v1/data/execute/buffer/addresspoiDetails?entity=property&x=16784645.367663&y=-4107061.3011045&radius=10&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false'

Output

Code Block
languagejs
collapsetrue
{
  "total": 2, "1",
      "results155":,
 [     [178693,
      "1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      "10 Smith Avenue, Albion Park, 2527",
      "10 Smith Avenue ",
      "1",
      "155",
DP793040",
      178693,
      "DP793040",
      null,
      "2527",
      "20151027",
      null,
      "1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      null,
      "Albion Park"
    ],
    [
      "1049015_8_Smith_Avenue__154_Albion_Park_DP793040",
      "8 Smith Avenue, Albion Park, 2527",]
}


6. /data/execute/buffer/{dataId}

Returns data associated with the specified spatial operation on the map area of the point and the buffer area specified around it. E.g. in the property layer, when an 'intersect ' operation is specified this refers to properties that intersect the specified point and the geometrical buffer around the point.

Example 6

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://52.62.90.95:9090/weave/services/v1/data/execute/buffer/addresspoiDetails?entity=property&x=16784645.367663&y=-4107061.3011045&radius=10&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false'


Output

Code Block
languagejs
collapsetrue
{
  "total": 2,
  "results": [
    [
      "8 Smith Avenue ",
      "1",
      "154",1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      "10 Smith 178340Avenue, Albion Park, 2527",
   "DP793040",   "10 Smith Avenue  null",
      "25271",
      "20151027155",
      null178693,
      "1049015_8_Smith_Avenue__154_Albion_Park_DP793040",
      null,
      "Albion Park"
    ]
  ]
}

6 - /data/execute/point/{dataId}

Returns data associated with the the specified shape. E.g. in the property layer, this means the property that encompass the geometrical point on the map.

Example 7 

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8080/weave/services/v1/data/execute/point/addresspoiDetails?entity=property&x=16784645.367663&y=-4107061.3011045&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false'

Output

Code Block
languagejs
collapsetrue
{
  "total": 1,
  "results": [
      "2527",
      "20151027",
      null,
      "1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      null,
      "Albion Park"
    ],
    [
      "10490141049015_108_Smith_Avenue__155154_Albion_Park_DP793040",
      "108 Smith Avenue, Albion Park, 2527",
      "108 Smith Avenue ",
      "1",
      "155154",
      178693178340,
      "DP793040",
      null,
      "2527",
      "20151027",
      null,
      "10490141049015_108_Smith_Avenue__155154_Albion_Park_DP793040",
      null,
      "Albion Park"
    ]
  ]
}

7

...

. /data/execute/

...

point/{dataId}

Returns data match with provided shapeExample 8associated with the the specified shape. E.g. in the property layer, this means the property that encompasses the geometrical point on the map.

Example 7 

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:80878080/weave/services/v1/data/execute/geometrypoint/addresspoiDetails?entity=property&minxx=16784645.367663&minyy=-4107061.3011045&maxx=16784700.367663&maxy=4106561.3011045&crs=EPSG%3A3857&spatialOperation=withinintersects&selectedOnly=false&metadata=false'

...

Code Block
languagejs
collapsetrue
{
  "total": 21,
  "results": [
    [
      "25887001049014_310_WitleySmith_CloseAvenue__8155_StAlbion_Marys_DP259595Park_DP793040",
      "10 Smith Avenue, Albion Park, 2527",
      "10 Smith Avenue ",
      "1",
      "155",
      "DP259595"178693,
      null"DP793040",
      "8"null,
      "2588700_3_Witley_Close__8_St_Marys_DP2595952527",
      "120151027",
      null,
 "3 Witley Close, St Marys, 2760 "1049014_10_Smith_Avenue__155_Albion_Park_DP793040",
      "2760"null,
      "StAlbion MarysPark",
    ]
 null,       "3 Witley Close ",
      "20151027",
      485103
    ],]
}

8. /data/execute/geometry/{dataId}

Returns data associated with the specified envelope on the map.

Example 8

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8087/weave/services/v1/data/execute/geometry/addresspoiDetails?entity=property&minx=16784645.367663&miny=-4107061.3011045&maxx=16784700.367663&maxy=4106561.3011045&crs=EPSG%3A3857&spatialOperation=within&selectedOnly=false&metadata=false'


Output

Code Block
languagejs
collapsetrue
{
  "total": 2,
  "results": [
    [
      "25885332588700_253_WindrushWitley_CircuitClose__46268_St_ClairMarys_DP263114DP259595",
      "DP263114DP259595",
      null,
      "46268",
      "25885332588700_253_WindrushWitley_CircuitClose__46268_St_ClairMarys_DP263114DP259595",
      "1",
      "253 WindrushWitley CircuitClose, St ClairMarys, 27592760",
      "2759",
      "St Clair2760",
      null,
      "25 Windrush Circuit ",
      "20151027",
    "St Marys",
   642052   null,
 ] ] }

8 - /data/execute/selection/{dataId}

Returns data associated with the selections of an entity

Example 9

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8087/weave/services/v1/data/execute/selection/addresspoiDetails?entity=property&metadata=false'

Output

Code Block
languagejs
collapsetrue
{"3 Witley Close ",
      "total": 1,20151027",
      485103
   "results": [ ],
    [
      "19336922588533_325_PaulWindrush_StreetCircuit__A4626_BalmainSt_EastClair_DP450005DP263114",
      "DP450005DP263114",
      null,
      "A4626",
      "19336922588533_325_PaulWindrush_StreetCircuit__A4626_BalmainSt_EastClair_DP450005DP263114",
      "1",
      "325 PaulWindrush StreetCircuit, BalmainSt EastClair, 20412759",
      "20412759",
      "BalmainSt EastClair",
      null,
      "325 PaulWindrush StreetCircuit ",
      "20151027",
      4333228642052
    ]
  ]
}

 

9

...

. /data/execute/polygonarray/{dataId}

Returns data match with provided shapeassociated with the specified spatial operation on the provided polygonarray shape on the map.

Example 10

Code Block
languagebash
themeEmacs
curl -X GET --header 'Accept: application/json' 'http://localhost:8087/weave/services/v1/data/execute/polygonarray/addresspoiDetails?entity=property&crs=EPSG%3A3857&spatialOperation=intersects&selectedOnly=false&metadata=false&points=16784645.367%2C-4107061.301%2C16784642.367%2C-4107061.301%2C16784645.367%2C-4107066.301'

...