Forum Discussion
Display X,Y coordinations on SVG map
Hi all, I am strugling a bit with one case.
I have a floor plan in SVG. There are some walls, like a labyrinth and some shortcuts through some rooms. I walked through this labyrinth, recorded X, Y coordinations (with some other meta data) and my task now is to show this coordinations up, how the 'figure' walked through the labyrinth.
I tryed to use Synoptic Panel to load the SVG picture, but I cant show up the coordinations / directions from my data set.
Do you have any idea, or is it even possible?
Thanks for any help!
BR, Zetko
The visuals library has an (unrated - so proceed at your own risk) HTML5 visual that can also handle SVG. That looks much nicer.
Now all that's left to do is to overlay your walkpaths as needed.
9 Replies
- lbendlinSuper User
Please refer to the documentation. Scatter plot might be an option, but there might be other hybrids that allow you to draw incomplete paths or polylines.
https://www.rgraph.net/svg/scatter.html
Does it have to be the Synoptic panel? As you know SVG is also supported by image URLs
- ZetkoFrequent Visitor
Hi, there are no like a 'conditions', what method or option should be used (so Synoptic panel is not needed). Anyway, I was thinking about Azure Map or MapBox,
but they are usually used for larger objects and it has problems with in-door spaces.
As you can se on example below, I got a SVG plan of some place. Plan is clear, there are all the information about - where is enterance, exit, where are walls and shortcuts. Then I got a 4 figures, where each one went through different way and i got their X,Y coordinations. My goal is to to draw the lines into the plan, based on their coordinations.
Cave
Do you think there is a method working like this?
- lbendlinSuper User
I think that should be possible. Your floor plan SVG code would need to be combined with the codes for each of the walkthrough polylines. Can you share sample data?