Skip to content

TimeColumn in GeoJson item not working ? #6797

Answered by na9da
LHKode asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @LHKode,

For GeoJSON items, you can enable time dimension by specifying the timeProperty to use for the dataset. Current limitation is that it only accepts a date syntax that can be parsed by the Javascript Date class.

So for eg, if your geojson has a feature property called eventdate formatted something like 2023-06-22 10:00:00, in your catalog item definition, you could set the timeProperty like below:

{
   "type": "geojson",
   "name": "Some geojson",
   "timeProperty": "eventdate",
   ...
}

I have created a ticket to add support for custom date formats with timeProperty.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@LHKode
Comment options

Answer selected by LHKode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants