Skip to content

Commit

Permalink
Merge pull request #142 from koopjs/feature/117
Browse files Browse the repository at this point in the history
Added new layer for testing aggregates
  • Loading branch information
jkerr5 authored Dec 13, 2018
2 parents 1fccea2 + 1db6dc6 commit 56b9d95
Showing 1 changed file with 46 additions and 0 deletions.
46 changes: 46 additions & 0 deletions config/test/services/DataSourceArray.json
Original file line number Diff line number Diff line change
Expand Up @@ -409,6 +409,52 @@
}
],
"readOnly": true
},
{
"id": 11,
"name" : "GKG level 4 Stats testing",
"decription": "GDelt GKG article data at geores 4 (city/landmark)",
"geometryType": "Polygon",
"idField": "OBJECTID",
"displayField": "name",
"geometryPath": "/geometry",
"extent" : {
"xmin" : -180,
"ymin" : -90,
"xmax" : 180,
"ymax" : 90,
"spatialReference" : {
"wkid" : 4326,
"latestWkid" : 4326
}
},
"dataSources" : [
{
"source" : "sparql",
"query" : "select ?OBJECT_ID ?sparql_url ?DocId WHERE { ?OBJECT_ID <http://marklogic.com/objectid> ?sparql_url . ?OBJECT_ID <http://marklogic.com/uri> ?DocId }",
"fields" : {
"OBJECT_ID" : { "scalarType" : "long" },
"sparql_url" : { "scalarType" : "string" },
"DocId" : { "scalarType" : "string" }
}
},
{
"source" : "view",
"schema": "GDeltGKG",
"view" : "Article",
"joinOn" : {
"left" : "OBJECT_ID",
"right" : "OBJECTID"
}
}
],
"boundingQuery" : {
"jsonPropertyValueQuery" : {
"property" : ["geores"], "value" : [ 4 ],
"options" : ["lang=en"], "weight" : 0
}
},
"readOnly": true
}
]
}

0 comments on commit 56b9d95

Please sign in to comment.