{"id":29274005,"url":"https://github.com/elebree/wigle2geo","last_synced_at":"2025-07-05T03:39:20.852Z","repository":{"id":264547397,"uuid":"893635401","full_name":"elebree/wigle2geo","owner":"elebree","description":"🛜 wigle2geo: Convert WiGLE backups to GeoJSON.","archived":false,"fork":false,"pushed_at":"2024-11-25T00:30:26.000Z","size":26,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-01T01:54:01.524Z","etag":null,"topics":["cli","geojson","service","wigle","wigle-database","wigle-database-convert"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/elebree.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-11-24T23:30:34.000Z","updated_at":"2025-06-21T22:28:53.000Z","dependencies_parsed_at":"2024-11-26T08:46:02.309Z","dependency_job_id":null,"html_url":"https://github.com/elebree/wigle2geo","commit_stats":null,"previous_names":["vnau/wigle2geo","vnau/wistellar","elebree/wistellar","elebree/wigle2geo"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/elebree/wigle2geo","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elebree%2Fwigle2geo","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elebree%2Fwigle2geo/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elebree%2Fwigle2geo/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elebree%2Fwigle2geo/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/elebree","download_url":"https://codeload.github.com/elebree/wigle2geo/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/elebree%2Fwigle2geo/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263677008,"owners_count":23494615,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["cli","geojson","service","wigle","wigle-database","wigle-database-convert"],"created_at":"2025-07-05T03:39:16.857Z","updated_at":"2025-07-05T03:39:20.842Z","avatar_url":"https://github.com/elebree.png","language":"C#","funding_links":[],"categories":[],"sub_categories":[],"readme":"# WiGle2Geo\n\nWiGle2Geo is a project offering a **console application** and a **web application** for processing and visualizing GeoJSON data from WiGLE backups. It helps users filter and retrieve Wi-Fi and bluetooth network data, including details about SSIDs, BSSIDs, locations, and more. All outputs are in **GeoJSON** format, making it easy to integrate with mapping tools and GIS applications.\n\n## Features\n\n- Retrieve filtered Wi-Fi network data in GeoJSON format.\n- Query specific locations for given BSSIDs.\n- Flexible filtering by SSID, BSSID, type, capabilities, distance, and number of points and advanced filtering (e.g., time, duration, and distance ranges).\n- GeoJSON output for direct integration with mapping tools.\n\n## Console Application\n\n### Usage\n\nNavigate to the CLI directory and build the application:\n\n```bash\ndotnet build\n```\n\nRun the CLI application with the following options:\n\n### Commands\n\n#### `network` Retrieve Wi-Fi networks filtered by various criteria and output the results as GeoJSON.\n\n```bash\ndotnet run -- network --source \u003cpath_to_wigle_backup\u003e [options]\n```\n\n##### Options:\n\n- --source (required): Path to the WiGLE backup database.\n- --ssid: Filter by SSID(s), separate multiple values with |.\n- --bssid: Filter by BSSID(s), separate multiple values with |.\n- --type: Filter by network type(s), use | for multiple types.\n- --capabilities: Filter by network capabilities.\n- --distanceGt: Filter networks with a distance greater than the specified value (meters).\n- --distanceLt: Filter networks with a distance less than the specified value (meters).\n- --locationsGt: Filter networks with more than the specified number of locations.\n- --locationsLt: Filter networks with fewer than the specified number of locations.\n\n##### Example:\n\n```bash\ndotnet run -- network --source ../backup.sqlite --ssid MyWiFi --distanceGt 50\n```\n\nThe output will be a GeoJSON FeatureCollection with matching network data.\n\n#### `location` Retrieve location data for a specific BSSID and output the results as GeoJSON.\n\n```bash\ndotnet run -- location --source \u003cpath_to_wigle_backup\u003e --bssid \u003cbssid_value\u003e\n```\n\n##### Options:\n\n- --source (required): Path to the WiGLE backup database.\n- --bssid (required): BSSID to retrieve location data for.\n\n##### Example:\n\n```bash\ndotnet run -- location --source ../backup.sqlite --bssid 00:14:22:01:23:45\n```\n\n## Web Application\n\n### API Endpoints\n\nThe web application exposes RESTful endpoints for querying GeoJSON data.\n\n#### `GET /geo/network` Retrieve Wi-Fi networks filtered by query parameters. Results are returned as a GeoJSON FeatureCollection.\n\n##### Query Parameters:\n\n- ssid: Filter by SSID(s), separated by |.\n- bssid: Filter by BSSID(s), separated by |.\n- type: Filter by network type(s), separated by |.\n- capabilities: Filter by network capabilities.\n- vendor: Filter by vendor.\n- distance[gt]: Filter networks with distance greater than the specified value (meters).\n- distance[lt]: Filter networks with distance less than the specified value (meters).\n- locations[gt]: Filter networks with more than the specified number of locations.\n- locations[lt]: Filter networks with fewer than the specified number of locations.\n- time[gt]: Filter networks recorded after the specified time (ISO 8601 or Unix timestamp).\n- time[lt]: Filter networks recorded before the specified time (ISO 8601 or Unix timestamp).\n- duration[gt]: Filter networks with duration greater than the specified value.\n- duration[lt]: Filter networks with duration less than the specified value.\n\n##### Example:\n\n```bash\ncurl \"http://localhost:5000/geo/network?ssid=MyWiFi\u0026type=W\u0026distance[gt]=50\"\n```\n\nOutput: A GeoJSON FeatureCollection containing the matching network features.\n\n#### `GET /geo/location` Retrieve location data for a specific BSSID. Results are returned as a GeoJSON FeatureCollection.\n\n##### Query Parameters:\n\n- bssid (required): Filter by BSSID.\n\n##### Example:\n\n```bash\ncurl \"http://localhost:5000/geo/location?bssid=00:14:22:01:23:45\"\n```\n\nOutput: A GeoJSON FeatureCollection containing the matching location features.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felebree%2Fwigle2geo","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Felebree%2Fwigle2geo","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Felebree%2Fwigle2geo/lists"}