Closed FerrariAndrea closed 2 years ago
Hi! Here we have some fixes for the GeoFilter.
2 examples of use cases, that you can test.
This should give you a result:
npm start -- 0x000000000000000000000000000000000000000000000000000000000000000b '{__!_prefixList__!_:[{__!_abbreviation__!_:__!_desmo__!_,__!_completeURI__!_:__!_https://desmo.vaimee.it/__!_},{__!_abbreviation__!_:__!_qudt__!_,__!_completeURI__!_:__!_http://qudt.org/schema/qudt/__!_},{__!_abbreviation__!_:__!_xsd__!_,__!_completeURI__!_:__!_http://www.w3.org/2001/XMLSchema/__!_},{__!_abbreviation__!_:__!_monas__!_,__!_completeURI__!_:__!_https://pod.dasibreaker.vaimee.it/monas/__!_}],__!_property__!_:{__!_identifier__!_:__!_value__!_,__!_unit__!_:__!_qudt:DEG_C__!_,__!_datatype__!_:1},__!_geoFilter__!_:{__!_region__!_:{__!_center__!_:{__!_latitude__!_:41.9109,__!_longitude__!_:12.4818},__!_radius__!_:{__!_value__!_:50.0,__!_unit__!_:__!_qudt:KiloM__!_}}},__!_staticFilter__!_:__!_$[?(@[--#-type--#-]==--#-Sensor--#-)]__!_}'
This should give you !ERROR!: Impossible to reach consensus code[01]: no sources. as output for GeoFilter not passed:
!ERROR!: Impossible to reach consensus code[01]: no sources.
GeoFilter not passed
npm start -- 0x000000000000000000000000000000000000000000000000000000000000000b '{__!_prefixList__!_:[{__!_abbreviation__!_:__!_desmo__!_,__!_completeURI__!_:__!_https://desmo.vaimee.it/__!_},{__!_abbreviation__!_:__!_qudt__!_,__!_completeURI__!_:__!_http://qudt.org/schema/qudt/__!_},{__!_abbreviation__!_:__!_xsd__!_,__!_completeURI__!_:__!_http://www.w3.org/2001/XMLSchema/__!_},{__!_abbreviation__!_:__!_monas__!_,__!_completeURI__!_:__!_https://pod.dasibreaker.vaimee.it/monas/__!_}],__!_property__!_:{__!_identifier__!_:__!_value__!_,__!_unit__!_:__!_qudt:DEG_C__!_,__!_datatype__!_:1},__!_geoFilter__!_:{__!_region__!_:{__!_center__!_:{__!_latitude__!_:41.9109,__!_longitude__!_:12.4818},__!_radius__!_:{__!_value__!_:50.0,__!_unit__!_:__!_qudt:M__!_}}},__!_staticFilter__!_:__!_$[?(@[--#-type--#-]==--#-Sensor--#-)]__!_}'
Hi! Here we have some fixes for the GeoFilter.
2 examples of use cases, that you can test.
This should give you a result:
npm start -- 0x000000000000000000000000000000000000000000000000000000000000000b '{__!_prefixList__!_:[{__!_abbreviation__!_:__!_desmo__!_,__!_completeURI__!_:__!_https://desmo.vaimee.it/__!_},{__!_abbreviation__!_:__!_qudt__!_,__!_completeURI__!_:__!_http://qudt.org/schema/qudt/__!_},{__!_abbreviation__!_:__!_xsd__!_,__!_completeURI__!_:__!_http://www.w3.org/2001/XMLSchema/__!_},{__!_abbreviation__!_:__!_monas__!_,__!_completeURI__!_:__!_https://pod.dasibreaker.vaimee.it/monas/__!_}],__!_property__!_:{__!_identifier__!_:__!_value__!_,__!_unit__!_:__!_qudt:DEG_C__!_,__!_datatype__!_:1},__!_geoFilter__!_:{__!_region__!_:{__!_center__!_:{__!_latitude__!_:41.9109,__!_longitude__!_:12.4818},__!_radius__!_:{__!_value__!_:50.0,__!_unit__!_:__!_qudt:KiloM__!_}}},__!_staticFilter__!_:__!_$[?(@[--#-type--#-]==--#-Sensor--#-)]__!_}'
This should give you
!ERROR!: Impossible to reach consensus code[01]: no sources.
as output forGeoFilter not passed
:npm start -- 0x000000000000000000000000000000000000000000000000000000000000000b '{__!_prefixList__!_:[{__!_abbreviation__!_:__!_desmo__!_,__!_completeURI__!_:__!_https://desmo.vaimee.it/__!_},{__!_abbreviation__!_:__!_qudt__!_,__!_completeURI__!_:__!_http://qudt.org/schema/qudt/__!_},{__!_abbreviation__!_:__!_xsd__!_,__!_completeURI__!_:__!_http://www.w3.org/2001/XMLSchema/__!_},{__!_abbreviation__!_:__!_monas__!_,__!_completeURI__!_:__!_https://pod.dasibreaker.vaimee.it/monas/__!_}],__!_property__!_:{__!_identifier__!_:__!_value__!_,__!_unit__!_:__!_qudt:DEG_C__!_,__!_datatype__!_:1},__!_geoFilter__!_:{__!_region__!_:{__!_center__!_:{__!_latitude__!_:41.9109,__!_longitude__!_:12.4818},__!_radius__!_:{__!_value__!_:50.0,__!_unit__!_:__!_qudt:M__!_}}},__!_staticFilter__!_:__!_$[?(@[--#-type--#-]==--#-Sensor--#-)]__!_}'