Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue with BBOX filter - [ows:BoundingBox] must be an array #9

Open
eblondel opened this issue Dec 5, 2017 · 3 comments
Open

Issue with BBOX filter - [ows:BoundingBox] must be an array #9

eblondel opened this issue Dec 5, 2017 · 3 comments

Comments

@eblondel
Copy link

eblondel commented Dec 5, 2017

I've tried to apply a BBOX filter (paying attention to lat, lon order). With the GetRecords I get this message Argument [ows:BoundingBox] must be an array. Do you have any idea how to solve that? Thanks a lot for your reply

@HugoJBello
Copy link

I had the same problem, I think I fixed it by commenting this lines:

 /* propertyName :{
                 TYPE_NAME: "Filter_1_1_0.PropertyNameType",
                 content: "ows:BoundingBox",
 } */

in filter.js

@eblondel
Copy link
Author

@HugoJBello apologies if i didn't get back to you on this. I had put in pause this dev. Indeed your fix solves the issue. Thanks a lot for that. For the time-being i'm overwriting it on my side, but i hope this fix will be done in the ows.js library.

@alebinson
Copy link

alebinson commented Feb 1, 2021

@eblondel I also bump on this issue. Remarking the mentioned code helps not to fall on conversion JSON--> XML level.
But when you perform actual call to CSW you getting an error that ogc:PropertyNameows:BoundingBox</ogc:PropertyName> is missing.
So, think the miss-behavior is on schema definition level in most schemas boundingBox defined as collection (for example OWS_1_0_0 )
file name: node_modules\ogc-schemas\lib\OWS_1_0_0.js

{
 n: 'boundingBox',
 mno: 0,
 col: true,
 mx: false,
 dom: false,
 en: 'BoundingBox',
 ti: '.BoundingBoxType',
 t: 'er'
}

Regards,
Alex

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants