telefonicaid / fiware-orion

Context Broker and CEF building block for context data management, providing NGSI interfaces.
https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/orion-api.md
GNU Affero General Public License v3.0
210 stars 265 forks source link

Remove geo:point, geo:box and geo:polygon functionality #4589

Open fgalan opened 4 months ago

fgalan commented 4 months ago

They are deprecated since Orion 3.1.0.0 (https://github.com/telefonicaid/fiware-orion/blob/master/doc/manuals/deprecated.md)

fgalan commented 4 months ago

Side issue https://github.com/telefonicaid/fiware-cygnus/issues/2391

fgalan commented 4 months ago

Note a migration script is needed. Current usage of geo:point, geo:box and geo:polygon should be either:

  1. Moved to geo:json
  2. Keep the attribute type and remove the location field at DB

Maybe the https://github.com/telefonicaid/fiware-orion/tree/master/scripts/oriondb_consistency --autofix could be leveraged. The problem would be implement optionality (1 or 2?) when execute it. Let's see.