question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Polyline intersection bug

See original GitHub issue

Issue Type

[ ] Question [X] Bug [ ] Improvement [ ] Build system related [ ] Performance [ ] Documentation

Description and/or steps/code to reproduce the problem

Hi,

I am developing an application with osmdroid and I am using Polylines with OSM. Everything works well, but the lines do not come together correctly at the points of union. It does not seem to be fluid at all.

I’m adding the points directly with "line.setPoints (geoPoints);"

image

Am I forgetting something?

Thanks!

(Sorry if this is already answered, but I searched and found no information)

Version of osmdroid the issue relates to:

6.0.1

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:5

github_iconTop GitHub Comments

2reactions
monsieurtanukicommented, Oct 9, 2018

@jordiJIG Actually you may not need a setter as there’s already a getter. Try something like that:

myPolyline.getPaint().setStrokeCap(Paint.Cap.ROUND);
0reactions
jordiJIGcommented, Oct 10, 2018

Working with @monsieurtanuki solution!

I had not seen that getter XDD!!

Thanks!

Read more comments on GitHub >

github_iconTop Results From Across the Web

BUG-000093517: The Batch Intersects Polylines tool does not ...
The Batch Intersects Polylines tool does not always create an intersection where lines intersect. Additional Information. N/A. Alternate Solution. Get ...
Read more >
Solved: polylines intersection - Autodesk Community - AutoCAD
Solved: I am trying to check if there is any MText below my current MText, as i have an exported drawing from Revit...
Read more >
Self intersecting polylines and overlay nodes bug. A question ...
This is a bug in my opinion. So I intended to work around the issue and find all the self intersecting polylines and...
Read more >
Analyzing the BUG in IntersectWith() - AutoCAD .Net API
A blog about a serious bug in IntersectWith() method of AutoCAD . ... the intersection of two geometric entities such as Lines, Polylines, ......
Read more >
Bug? list of polyline/segment intersection points
Creating a list of intersection points when a segment crosses a polyline more than once using list={intersect[segmenta,polylineb]} then moving one end of ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found