You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- Login updates for 2FA, it now opens a browser
- Adds options for profile ID as well so you dont have to login every time
- Fixed temp file uploads, this gives them a unique file name.
- Updated metadata guidelines to explain overture maps
Copy file name to clipboardExpand all lines: README.md
+11-2Lines changed: 11 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@ The pipeline follows a modular Source -> Transform -> Publish/Export process:
30
30
31
31
## Requirements
32
32
- Python 3.11+ (compatible with ArcGIS Python API)
33
-
- ArcGIS Online credentials (optional - only required for `arcgis-upload` and `overture-dump` command)
33
+
- ArcGIS Online credentials or OAuth client ID (required for `arcgis-upload` and `overture-dump` command)
34
34
35
35
The pipeline can be used for data export without ArcGIS Online credentials. Environment configuration is managed through `.env` files for secure credential storage.
36
36
@@ -55,6 +55,15 @@ On macOS/Linux:
55
55
- Use the `.env` example to define your AGOL credentials
56
56
- No need to create country-specific config files, you can use the global config with a country argument
57
57
58
+
**2FA / Browser Login (Recommended)**
59
+
- Set `AGOL_USE_OAUTH=true` and `AGOL_CLIENT_ID=...` (no username/password required).
60
+
- On first run, a browser window opens to complete sign-in and 2FA.
61
+
- You can register an ArcGIS Online app to get a Client ID (Application type: "Other").
62
+
- Optional: set `AGOL_PROFILE=your_profile` to cache the session and avoid repeated prompts in batch runs.
63
+
64
+
**Username/Password (Non‑2FA or Service Accounts)**
65
+
- Set `AGOL_USERNAME` and `AGOL_PASSWORD` as shown in `.env.example`.
66
+
58
67
### 4. Run commands
59
68
The Python CLI has three main commands: uploading to AGOL `arcgis-upload` , downloading as geojson `export`, or download dump for local use as needed `overture-dump`.
0 commit comments