Closed keithfraley closed 6 years ago
cross-posted from: https://github.com/koopjs/koop/issues/305
@keithfraley - Looking at the code, I think the functionality it already there. FeatureServer looks in your provider's metadata to see if you have defined a timeInfo property, and if so, uses that in the layer info service (https://github.com/koopjs/FeatureServer/blob/master/src/templates.js#L54). So try including the timeInfo in your metadata with the following spec:
"timeInfo" : {
"startTimeField" : "
Will setting up the above timeInfo
object in provider metadata meet your needs?
I am unable to find the providers metadata in order to define a timeInfo property. Can you help me specifcally where this is supposed to go?
Guessing you are using Elastic Search provider, so it would go here: https://github.com/koopjs/koop-provider-elasticsearch/blob/master/provider/models/esmodel.js#L22-L24
brilliant, that is what i was looking for
On Wed, Apr 25, 2018 at 7:46 AM, Rich Gwozdz notifications@github.com wrote:
Guessing you are using Elastic Search provider, so it would go here: https://github.com/koopjs/koop-provider-elasticsearch/ blob/master/provider/models/esmodel.js#L22-L24
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koopjs/FeatureServer/issues/90#issuecomment-384273824, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyxVJ88P6WjNTXGpBeRqhWOyorT8X5Kks5tsHAwgaJpZM4TPOC3 .
@keithfraley - is this resolved now?
I will test tonight
On Mon, May 7, 2018, 4:33 PM Rich Gwozdz notifications@github.com wrote:
@keithfraley https://github.com/keithfraley - is this resolved now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koopjs/FeatureServer/issues/90#issuecomment-387213528, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyxVHjfIYITuCytjITrSoRrAhtA3HgLks5twL2qgaJpZM4TPOC3 .
worked great
On Mon, May 7, 2018 at 4:44 PM, keith fraley keith.fraley@gmail.com wrote:
I will test tonight
On Mon, May 7, 2018, 4:33 PM Rich Gwozdz notifications@github.com wrote:
@keithfraley https://github.com/keithfraley - is this resolved now?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/koopjs/FeatureServer/issues/90#issuecomment-387213528, or mute the thread https://github.com/notifications/unsubscribe-auth/ADyxVHjfIYITuCytjITrSoRrAhtA3HgLks5twL2qgaJpZM4TPOC3 .
i am curious how to set up the feature service output to be time enabled (and z value for that matter) so that we can use the time sliders in portal for arcgis or agol.
I have hacked together a provider that does this but would much rather this be part of the core product.