File Format
The file should resemble the newline-delimited GeoJSON (geojsonl) format which is a text-based format based on JSON for representing geographical data. The file is made up of lines, with each line containing a single feature and is a valid JSON object. Each line can be read and processed independently, without having to parse the entire file.
This integration supports the following geometrical types: Point, Line, and Polygon. Below is an example of how a single line for a feature should be structured:
{"geometry":{"type":"<Point | LineString | Polygon>","coordinates":[]},"properties":{"GLOBALID":""},"assetClass":"","action":""}
For example: {"geometry":{"type":"Point","coordinates":[-87.624632,42.694634]},"properties": {"GLOBALID":"{02BF666D-0F66-4FC9-A56B-378E87C37D23}"},"assetClass":"Dummy","action":"W1IS"}
Key | Type | Description |
---|---|---|
geometry | JSON Object |
GeoJSON geometry object of type Point, LineString or Polygon. This is optional. |
type | String |
Case-sensitive string: "Point" / "LineString" / "Polygon" |
Coordinates | Array |
This is an array of positions where a position is an array of numbers which are longitude and latitude, or X and Y, precisely in that order and using decimal numbers.
|
properties | JSON Object |
List of fields and values to be used to map against asset and location BO elements in respective GIS to WAM Sync Mapping Extendable Lookup. Only the properties identified in the lookup are considered for sync. GLOBALID is a required key in this object. |
GLOBALID | String |
Mapped against gisId value in the sync request. This is considered as unique identifier. |
assetClass | String | Mapped against the GIS Asset Class element in GIS to WAM Sync Mapping Extendable Lookup to identify which mapping to use to create sync request for the respective feature. |
action | String |
To identify if the operation is add/update/delete. Valid values are W1IS/W1UP for insert or update, W1DL for delete.
|
- Any other keys apart from the ones mentioned above will be ignored.
- Every line in the file should be a valid JSON without any empty lines in the file.