I'm using OpenLayers with GeoServer and PostGIS. I'm looking for a way to get measure from geometry. I mean if a user clicks on a feature as line route on the map (geometry), we can find it's measure or distance from begin origin of the route.
It is clear that sometimes, origin point of a route has a measure other than zero. On Esri ArcGIS we have this functionality using location information on Linear Referencing features.
Is there any way to find it using postGIS or GeoServer functionalities?