I'm trying to create a layer from a PostGIS table with REST api, I can create the layer but couldn't add the time dimension.
I can configure the dimension in the interface and I did try to get the feature description but no dimensions infomation:
focos
VECTOR
point
focos
0
0
Solution: This is the xml model I'm using to do this.
layer_name
true
time_attribute
CONTINUOUS_INTERVAL
ISO8601
MAXIMUM
Answer
Just enable it with the UI once, and check how the layer and the attached resource get modified (I believe you'll find the change in the resource). Then repeat the same using the REST API.
This approach is valid for any configuration that you can carry on with the UI.
No comments:
Post a Comment