Get wells in polygon | Spatial Search
Hello Everyone ,
Get wells in polygon has permission issues
{ "code": 401, "reason": "Access denied", "message": "The user is not authorized to perform this action" }
I get the following both in GCP , Azure haven't tried in AWS
Post parameters used :
{ "kind": "opendes:osdu:seismictracedata-wpc:0.2.0", "spatialFilter": { "field": "data.Data.ExtensionProperties.locationWGS84", "byGeoPolygon": { "points": [ { "longitude": 1.813767236, "latitude": 58.42946998 }, { "longitude": 1.949673713, "latitude": 58.4041567 }, { "longitude": 1.978324105, "latitude": 58.45614207 }, { "longitude": 1.84227351, "latitude": 58.48147214 }, { "longitude": 1.813767236, "latitude": 58.42946998 } ] } }, "offset": 0, "limit": 30 }
{ "kind": "opendes:osdu:*:0.2.1",
"spatialFilter": {
"field": "data.GeoLocation",
"byGeoPolygon": {
"points": [
{
"longitude": 5.1580810546875,
"latitude": 52.859180945520826
},
{
"longitude": 4.9493408203125,
"latitude": 52.75956761546834
},
{
"longitude": 5.064697265625,
"latitude": 52.579688026538726
},
{
"longitude": 5.372314453125,
"latitude": 52.68970242806752
},
{
"longitude": 5.1580810546875,
"latitude": 52.859180945520826
}
]
}
},
"offset": 0,
"limit": 30
} (borrowed the example from https://community.opengroup.org/osdu/documentation/-/wikis/Releases/R2.0/OSDU-Query-Syntax#spatial-queries , please use points and not coordinates)