Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PointAlongLineEncoding fails #95

Open
xivk opened this issue Feb 3, 2020 · 0 comments
Open

PointAlongLineEncoding fails #95

xivk opened this issue Feb 3, 2020 · 0 comments
Assignees
Labels

Comments

@xivk
Copy link
Contributor

xivk commented Feb 3, 2020

When encoding a location:

❗ Unhandled exception in ReverseController.Get with format:json lon:76.2495689249233 lat:24.4960577361327 snapType:auto

Distance cannot be encoded if not in the range [0-15000[
Parameter name: distance

Message: Distance cannot be encoded if not in the range [0-15000[
Parameter name: distance
Type: ArgumentOutOfRangeException

Stack Trace
 Distance cannot be encoded if not in the range [0-15000[
Parameter name: distance
   at OpenLR.Codecs.Binary.Data.DistanceToNextConvertor.Encode(Int32 distance)
   at OpenLR.Codecs.Binary.Decoders.PointAlongLineLocationCodec.Encode(PointAlongLineLocation location)
   at OpenLR.Codecs.Binary.BinaryCodec.Encode(ILocation location)

The node (https://www.openstreetmap.org/relation/8205761#map=11/24.4956/76.2506) exists for more then 2 years, so the updating would not be a problem.

@xivk xivk self-assigned this Feb 3, 2020
@xivk xivk added the bug label Feb 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant