Closed joethorley closed 3 years ago
@smnorris - any thoughts?
In fwpg, current default is to start at zero and continue all the way to the end at 1000m intervals.
FWA_LocateAlongInterval(blue_line_key integer, start integer DEFAULT 0, interval_length integer DEFAULT 1000)
It should be simple to add a maximum measure (defaulting to maximum measure in the db)
That would be great - more elegant to implement in fwapg than fwapgr I think (but we're willing to do if a pain).
Updated function is now live. This test works ok, let me know if anything else breaks it.
It seems to be the case based on my use of the function. If so we can add an end argument to the fwatlasbc call which would then adjust the limit to ensure it just goes as far as needed (or provides a warning if the adjusted limited would be in excess of the max limit).