[Fiware-tech-help] [Technical question about FIWARE-Orion]Support about GeometryCollection

Hiroki Ishikawa hiro.ishikawa at ntt.com
Fri Dec 2 12:36:16 CET 2022


Dear FIWARE Tech Help Team,

I have a question about geojson support in FIWARE-Orion.
I want to use GeometryCollection data in our FIWARE-Orion project.
Please let me know whether the statement that GeometryCollection is not supported is correct.

The following URL states that FIWARE-Orion does not support GeoJSON type GeometryCollection.
https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md#geojson
>The only GeoJSON type not supported at all is GeometryCollection. You will get a "Database Error" if you try to use them.

However, I confirmed with FIWARE-Orion(3.7.0) that GeometryCollection can be registered.
And I checked the article on which the support was based and found that the test data was incorrect.
https://github.com/telefonicaid/fiware-orion/issues/3586#issuecomment-574092707
"type":"Feature" in value is wrong as GeometryCollection.
I removed this and confirmed that I can successfully register with FIWARE-Orion.

Also, in the above article, it is described as follows.
>NGSIv2 intentionally doesn't provide extra info regarding which GeoJSON are supported in each particular implementation because that is something up to the implementation. In the case of Orion, the GeoJson capabilities are at the end the onese in the underlaying MongoDB database.
MongoDB supports GeometryCollection, so I believe FIWARE-Orion supports it as well.

I want your answer on this issue.
If you need more information, please let me know.

Best Regards,
Hiroki Ishikawa


More information about the Fiware-tech-help mailing list

You can get more information about our cookies and privacy policies clicking on the following links: Privacy policy   Cookies policy