rastapasta / mapscii

🗺 MapSCII is a Braille & ASCII world map renderer for your console - enter => telnet mapscii.me <= on Mac (brew install telnet) and Linux, connect with PuTTY on Windows
MIT License
7.9k stars 256 forks source link

Add ability to pipe in coordinates and have these show on map #35

Open briangranatir opened 6 years ago

briangranatir commented 6 years ago

A great use for this system would be to view events (or alerts) on a map. For example, I have traffic sensors distributed throughout a city. It would be nice if I could pipe in an array of {lat, long} pairs and have markers appear on the map. Then mapscii becomes a great starting point for any monitoring service.

Great project! Keep with it. Thanks.

rastapasta commented 6 years ago

Hey @briangranatir, thanks for checking in!

Winter is coming, with it finally more time to be devoted to mapscii - a STDIN GeoJSON input/source is on the top of the list, be it for the local client or even via telnet. Stay tuned and sorry for letting the project starve a bit atm - life. :man_shrugging: :innocent:

Naheel-Azawy commented 5 years ago

Hello! This is what really made me reach this. I have a script that outputs coordinates continuously that can be for one or multiple markers. What I need is to display markers on the map with different colors or shapes for every coordinate label and keep updating those on the map as they come from stdin.

If I get enough time I might implement this, but to be honest, I'm too lazy to dive and read the entire code for now... @rastapasta if you can only provide me with a lovely "setMarker()" function I guess the rest will be easy for me to implement. And if anyone can implement this entire thing all at once it would be a much grater satisfaction to my laziness!

testbughub commented 1 year ago

I would love this feature, because I have a GPS tracker for a vehicle that I can get the coordinates from via an API, and I was thinking it would be a fun project to combine mapscii and the API into a cli app :smile: