qgis / QGIS-Server-CertifSuite

Automated test suite to run teamEngine OGC tests against QGIS server
2 stars 7 forks source link

Add time dimension for Auto layer #11

Open haubourg opened 4 years ago

haubourg commented 4 years ago

Here is an attempt to activate QGIS server for time dimension and go to a full OGC certification cc @pblottiere

pblottiere commented 4 years ago

Thanks Régis, I take a look tomorrow :+1:

haubourg commented 4 years ago

@pblottiere up up ;-)

pblottiere commented 4 years ago

up up ;-)

Sorry @haubourg, certifsuite CI was KO these last days due to a compilation issue on Debian testing (proj 6...), and it was my priority.

But everything is operational again, so I'm gonna take a look to this PR tonight ;).

pblottiere commented 4 years ago

@haubourg unfortunately it doesn't seem enough:

time

pblottiere commented 4 years ago

Oh wait, I'm on your master branch... Sorry for the noise, I'm trying again with your activate_time_wms_option2 branch :')

pblottiere commented 4 years ago

Tests are failing due to the next errors:

d1e17382_1/d1e11304_1/log.xml:<message id="d1e11533_1"><![CDATA[Error: Dimension "time" in the layer titled "cite:Autos" does not have a default value.]]></message>
d1e17377_1/d1e15719_1/d1e15735_1/log.xml:<message id="d1e15802_1"><![CDATA[Error: The time dimension for the cite:Autos layer must be defined with multipleValues="true".]]></message>
d1e17377_1/d1e15719_1/d1e15735_1/log.xml:<message id="d1e15810_1"><![CDATA[Error: The time dimension for the cite:Autos layer must be defined with nearestValue="true".]]></message>
d1e17377_1/d1e15719_1/d1e15735_1/log.xml:<message id="d1e15818_1"><![CDATA[Error: The time dimension for the cite:Autos layer must be defined using extent value "2000-01-01T00:00:00Z/2000-01-01T00:01:00Z/PT5S".]]></message>
haubourg commented 4 years ago

@pblottiere thanks for testing. From what I see in the GUI, I can adress the first issue d1e17382_1/d1e11304_1/log.xml:<message id="d1e11533_1"><![CDATA[Error: Dimension "time" in the layer titled "cite:Autos" does not have a default value.]]></message>

by setting explicitly a default value (either use min / max or a manual reference value)

image

Its strange that the UI allows to set not default value when the standard makes it mandatory though.

As for the three following errors, I fail to see what I could change. Should I add other dimensions maybe?