Hi AREDN Meshers!
The AREDN Team is looking for a few good men (and ladies)! The new mapping feature that is in 3.16.1.0 needs your help.
As some of you have seen, we have a good, workable KML map file. We would like to hold a contest to use that KML to create the best HTML based map that we can host on the www.arednmesh.org website.
CHALLENGE:
To create an HTML embedded map that utilizes the AREDN kml files that can be hosted on www.aredn.org.
SKILLS REQUIRED:
Front-end web development: Javascript, CSS, etc.
AREDN PROVIDED SERVICES/FILES:
- Full map with all bands: http://data.arednmesh.org/map.kml
- 900Mhz band map: http://data.arednmesh.org/map9.kml
- 2Ghz band map: http://data.arednmesh.org/map2.kml
- 3Ghz band map: http://data.arednmesh.org/map3.kml
- 5Ghz band map: http://data.arednmesh.org/map5.kml
REQUIREMENTS:
Your map should include (at minimum) the following (optional) query string parameters:
- z=(zoom level)
- lat=(latitude value)
- lon=(longitude value)
Entries to include:
- Your name
- Your callsign
- A zip file containing all the files required to host your map page.
Entries to be submitted via email to: mapcontest@aredn.org by 11:00PM Pacific time on April, 30, 2016
Entrants agree that AREDN.org has full rights to use and/or modify the files and host on www.aredn.org (or another property, as deemed appropriate by the AREDN team)
REWARD(S):
- One personalized (w/your callsign) AREDN travel mug
- Map credits on www.aredn.org
- One official AREDN embroidered patch
- Two official AREDN vinyl node labels
JUDGING:
Winner to be decided by the AREDN community on the Official AREDN website/forums.
All votes must be registered on the AREDN forums “contest topic” by 11:00PM Pacific time on May, 31, 2016
Will there be an 'Access-Control-Allow-Origin' header? It would be required to access the files using AJAX.
Steve KE6SCS
XMLHttpRequest cannot load http://data.aredn.org/map.kml. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://www.aredn.org' is therefore not allowed access.
Cross-Origin Request Blocked: The Same Origin Policy disallows reading the remote resource at http://data.aredn.org/map9.kml. (Reason: CORS header 'Access-Control-Allow-Origin' missing).
Steve KE6SCS
Ok, I think I have it resolved finally. Thanks for your patience.
Let me know.
Darryl
Steve KE6SCS
Is the use of Google maps acceptable?
Steve KE6SCS
The exception is callsign suffix "FUT". We have yours. thanks.
Sorry for the inconvenience..
Darryl - K5DLQ
ps. Feature request... It would be useful if we could (optionally) expose a query on each AREDN node to pull the lat/long/capabilities from the node in XML, so that the maps could be generated on the fly and "live" from a connected mesh. This also would be great for future expansion -- say, if you had a traveling mesh node where the lat/long was being updated via GPS -- for example, in a EMCOMM situation where you have teams or groups not in a static QTH.
Ben
KK6FUT
http://localnode:8080/cgi-bin/sysinfo.json
I have a map app running on my node (offline OSM) and this will be another nifty feature. I already have been polling the mesh status for a network map, and we now will have logical and physical views of the mesh here. Hopefully, will make this available somehow to anyone here interested in deploying their own. (not appropriate for a mesh node given the heavy data collection, but probably great for a Pi implementation)!
1. Simple perl script to query the list of all the nodes known to localnode (some HTML table parsing of the mesh status screen...)
2. Feeds that to a database for storage
3. PHP script to pull lat/long/details for each node from httpd
4. Map code to parse that PHP script, essentially the AREDN map entry (LeafletJS).
(Now, to get everyone to put their lat/long into their node!). I can email you the code or upload where convenient for you.
I'm interested in the LeafletJS portion.
Traccar.org looks interesting ... I have 2 thoughts.
The biggist problem with using the google API is the works that has to be done to host an offline map. Open street map is less work to pull an offline map for cash, untill you start thinking about the size of the cash. I dont know if any one is working on the map submission, would think its ez to port there mapping code into a UI like this, instead of google. Assuming that you choose to host an off line map cash on a platform with some storage, you could script the code to pull detailed map levels around the location of reporting nodes periodically.
Second still like APRS, and a program like APRSDroid is location and messaging, with a few ways to report to your server or UI servers via RF or IP. I could see the use in reporting directly to one server. Do you depend on the internet, 2m packet coverage, localized WiFi ? how do you get the data back so that is can be quantified. Programs like xastir you you map aprs contacts,
It looks like Traccar might give the community the frame work you combine location reports and mesh infrastructure in one place.
Our map is currently pulling from local 2m APRS packets. I note that APRS.FI shows many more stations which apparently never get off the Internet (is it APRS, if your node info never gets to radio?). The route is 2m via DVB-T dongle -> rtl_sdr on RPi -> multimon_ng -> custom APRS parsing script -> mysql -> httpd.
No internet dependence, yes 2m packet coverage (and a good digipeater on a mountain, in my case). No local WiFi needed of any sort. Plus a connection to the mesh, of course. It's essentially a lightweight, web-accessible equivalent to Xastir (no need for linux graphics interface) -- I'm pulling the data at the same point Xastir would for APRS.
Haven't used Traccar, will have to take a look. I'm sure there is a lot more work put into that package than the quick and dirty stuff I have running. (all done just for fun and to sharpen some of my knowledge of the stuff involved, both hardware and software...)
Also directly reachable at http://www.aredn.org/contest-voting
Traccar could pull the aprs mapping and network mapping together on a single web page.
I my self run a RPI TNC backpack with a 2m HT, that's runs the HSMM-pi. I use XASTIR and VNC into the desktop to see the map. Ive been interested in getting a script together to link aprs messaging with channel in mesh chat, so users can chat on the mesh with an aprs enables ht.
I like the whole maps idea and have a couple of questions/comments:
1. How does a user manage his nodes on the map? ie, how does he change an entry or remove an entry? I personally have a duplicate entry for my 2 GHz node. I'd like to remove one of them.
2. Color coding: I'd like to suggest that the color code for a map match the resistor color code. 2 GHz red, 3 GHz orange, 5 GHz green and 900 as gray. We all know that color code and it would make things more intuitive to us hams.
3. If you are talking about caching OSM tiles, perhaps link into the cache that something like aprsis32 or xastir creates. This could solve an issue of downloading tiles that may be in place already on someone's machine. The other approach could be the YACC approach to download a single vector file for everything and extract tiles on the fly as needed.
4. Messaging in/out of Meshchat into aprs - the aprs spec is pretty well standardized, so a converter program could be developed to do the go between, perhaps an add-on module to Meshchat. The other ingredient necessary would be an aprs igate server such as javaprs or aprsc both of which are readily available.
I've been doing aprs since the days on 145.79 and may be able to answer some questions.
73, Mark, N2MH
I'll comment on #1 and #2:
1) users can add and modify locations of markers. To remove yourself, just wipe the lat/lon data from your node, save, then publish to AREDN
(FYI, the "key" to the map markers is your MAC address of the node. So, if you plan to decommision a node, make sure that you do #1 above to remove it from the map first)
2) will take that suggestion. thanks.
4) I'm interested in this as well. The MeshChat API (REST) is well documented also. Anyone want to take this project on??