I'm using Openlayers 3 with geoserver for showing roads and temperature information from a NetCDF. When I select a road, I would like to get the temperature information for each coordinate of the road.
Using getGetFeatureInfoUrl it's possible to get the information of one point, but if I tried to get it from many points using a loop, it takes much time.
Which is the correct way to do this? Is there a way to send linestring coordinates as a parameter?