Git Product home page Git Product logo

Comments (4)

danielvillalbamota avatar danielvillalbamota commented on July 28, 2024

According to Arcgis documentation esriFieldTypeDate uses miliseconds to store timestamp from epoch.

from fiware-cygnus.

AlvaroVega avatar AlvaroVega commented on July 28, 2024

From cygnus documentation about arcgis sink: https://github.com/telefonicaid/fiware-cygnus/blob/master/doc/cygnus-ngsi/flume_extensions_catalogue/ngsi_arcgis_featuretable_sink.md#about-arcgis-data-types

esriFieldTypeDate

From https://doc.arcgis.com/en/data-pipelines/latest/process/output-feature-layer.htm

... Date fields are stored in feature layers using the format milliseconds from epoch and the coordinated universal time (UTC) time zone. The values will be displayed differently depending on where you are viewing the data. For example, querying the feature service REST end point will return values in milliseconds from epoch, such as 1667411518878....

So, to persist a esriFieldTypeDate field in the Feature Layer, cygnus has to receive an attribute "Number" from the CB with the milliseconds from epoch.

from fiware-cygnus.

fgalan avatar fgalan commented on July 28, 2024

Fixed in PR #2341

@danielvillalbamota please close this issue after successfully testing (or provide extra feedback in negative case)

from fiware-cygnus.

danielvillalbamota avatar danielvillalbamota commented on July 28, 2024

It works.

from fiware-cygnus.

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.