Giter Club home page Giter Club logo

Comments (2)

chicco785 avatar chicco785 commented on May 28, 2024

some pointers that could be useful:

let's suppose that for some data we can do this in a easier way

for example, for country names and country codes, we could create a separate table
with the associated geo:json, and when running ngsi geo queries, do a merge on the field in the background.

for things like street address, we would definitively need a geocoding service but then, instead of querying the service every time i would cache the data

in relation to NGSI Data Models, when you import the Location-Commons definition in a schema, that schema will have geo:json and/or address, address object includes properties that allows us for some resolution, so if you have only addressCountry, we would do a resolution based on table merge (see above), if it has also an addressStreet, we would use an external service to obtain a geo:point
and cache it.
similar approach for entities with only these fields would be possible:

"addressLocality": {
   "type": "string"
},
"addressRegion": {
   "type": "string"
}, 

from ngsi-timeseries-api.

taliaga avatar taliaga commented on May 28, 2024

First version of this already implemented.

from ngsi-timeseries-api.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.