-
Notifications
You must be signed in to change notification settings - Fork 1
API::Export
Phillip Ferland edited this page Jun 6, 2016
·
1 revision
- POST or GET (int) all : Show both old and new access points. by default only new APs are shown.
- POST or GET (int) new_icons : Use new or old style icons. By default old is used.
- POST or GET (int) labeled : Put Labels with the SSID of the AP under its icon.
- POST or GET (int) signalPlotType : The Different types of Signal Plotting; 1=Points, 2=Signal Line, 3=3D Signal Plot, 4=Both Signal Line and 3D Plot.
- POST or GET (int) id : ID of the AP to be exported. Used with exp_ap
- POST or GET (int) row : ID of the user import list to be exported. Used with exp_list
- POST or GET (string) username : The Username of all lists to export. Used with exp_user_all and exp_user_netlink
- POST or GET (string) func: The desired export function to be run.
- Choose from:
- exp_combined_netlink : A KML network Link of the exp_all_netlink, exp_daily_netlink, and exp_latest_netlink
- exp_all_netlink : A KML Network Link of all APs in the database to date.
- exp_daily_netlink : A KML Network Link of all APs that have been imported that day, so far.
- exp_latest_netlink : A KML Network Link of the Latest AP that has been imported
- exp_user_netlink : A KML Network Link of all Import Lists for a given User
- exp_ap_netlink : A KML Network Link of a single AP
- exp_all : A KML export of All APs in database.
- exp_daily : A KML export of All APs to be imported that day.
- exp_latest : A KML export of the newest AP to be imported.
- exp_user_all : A KML export of all Import Lists for a given user
- exp_list : A KML export of a given users import list
- exp_ap : A KML export of a given AP
- Choose from:
- POST or GET (int) xml : Output XML/KML if set to 1. By default a kmz is created and presented for download.
Exports Access points. All exports are Google Earth KML or KMZ files. That is defined by the xml parameter. Set it to 1 to have KML files generated, set to 0 to have a KMZ file generated.
exp_latest is used to follow the newest AP imported into WiFiDB.
###File path: /api/export.php
The NetLink functions just really generate a google earth network link back to the export api page to get the data. We have found that Google Earth works much much better when it has to load many small files vs loading one very large file.
Still working on the view layers in Google Earth to improve the performance with huge amounts of points.
- dbcore->createKML
- dbcore->sql