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

device attribute of type "Point" is translated to entity as geo:json #1012

Open
3 tasks done
AlvaroVega opened this issue Apr 6, 2021 · 3 comments
Open
3 tasks done

Comments

@AlvaroVega
Copy link
Member

AlvaroVega commented Apr 6, 2021

This is breaking previous client integrations

Comes from #854

Translation is done by https://github.com/telefonicaid/iotagent-node-lib/blob/master/lib/services/ngsi/entities-NGSI-v2.js#L59

Possible Fix: #1013

  • Need checks other types (like geo:point, etc) to keep previous behaviour
  • Need update tests
  • Need update doc

geo types involved:
geoproperty, point, geo:point,
linestring, geo:linestring,
polygon, geo:polygon,
multipoint, geo:multipoint,
multilinestring, geo:multilinestring,
multipolygon, geo:multipolygon

@fgalan
Copy link
Member

fgalan commented Apr 6, 2021

PR #1013 (for brach release/2.15.0) and PR #1014 (for branch master) provide a hotfix for this, but a definitive fix is needed, so this issue is kept open.

The definitive fix is only needed in master branch.

@AlvaroVega
Copy link
Member Author

related #1020

@fgalan
Copy link
Member

fgalan commented Jul 16, 2021

related #1020

Reopening issue, while PR #1020 is opened

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

2 participants