Comments (4)
According to Arcgis documentation esriFieldTypeDate
uses miliseconds to store timestamp from epoch.
from fiware-cygnus.
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.
Fixed in PR #2341
@danielvillalbamota please close this issue after successfully testing (or provide extra feedback in negative case)
from fiware-cygnus.
It works.
from fiware-cygnus.
Related Issues (20)
- MongoDB indexes cyg_raw_opt could have worsened in newers versions HOT 9
- Cannot invoke "java.util.ArrayList.size()" because the return value of "java.util.LinkedHashMap.get(Object)" is null Sink: HOT 2
- Java 16 and 17 tests errors HOT 5
- add primary key to error log table creation (mysql percona does not allow tables without primary key) HOT 1
- STH Aggregator does not support more than one event HOT 2
- Runtime error (Failed making field 'java.util.regex.Pattern#pattern' accessible; (JDK17) HOT 1
- Support for MongoDB 6.0 and 7.0 HOT 2
- Defined enum GisAttributeType does not fit current Arcgis field types HOT 1
- Arcgis sink. Should quote unique id when is a esriFieldTypeString HOT 1
- Arcgis sink. Wrong objectid in UpdateFeatures HOT 4
- Docu: DM sections for STH sinks HOT 2
- Arcgis. Cygnus is using case sensitivity with attributes although arcgis is not case sensitive HOT 5
- Typo on image provided with README.md HOT 3
- Arcgis. esriFieldTypeSingle is not included in the cases of GisAttributeType HOT 3
- Arcgis. Error when change the unique field value after a working persistence HOT 2
- arcgis sink uniqueId is not updated when customNotification is modified HOT 4
- mongoDB Unsupported OP_QUERY command HOT 19
- CygnusLD-MongoDB sink HOT 1
- reduce idle connections from sql pools HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fiware-cygnus.