@@ -11,12 +11,12 @@ This section provides complete, working examples that demonstrate geo-sampling c
1111:link : python-api
1212:link-type: doc
1313
14- 🐍 ** Python API Examples**
14+ 🐍 ** Python API Examples**
1515^^^
1616Complete Python workflows with actual Delhi road data. Includes 1,220 road segments and 1,000-sample outputs.
1717
18- ** Features:** Basic extraction, sampling, visualization
19- ** Data:** Delhi, India road network
18+ ** Features:** Basic extraction, sampling, visualization
19+ ** Data:** Delhi, India road network
2020** Output:** Sample plots and CSV files
2121:::
2222
@@ -28,8 +28,8 @@ Complete Python workflows with actual Delhi road data. Includes 1,220 road segme
2828^^^
2929Master the geo-sampling CLI with working examples and real command outputs.
3030
31- ** Features:** All CLI commands with examples
32- ** Data:** Multiple regions and countries
31+ ** Features:** All CLI commands with examples
32+ ** Data:** Multiple regions and countries
3333** Output:** Command logs and sample files
3434:::
3535
@@ -41,8 +41,8 @@ Master the geo-sampling CLI with working examples and real command outputs.
4141^^^
4242Sophisticated sampling strategies with Singapore road network examples.
4343
44- ** Features:** Random, stratified, filtered sampling
45- ** Data:** Singapore Central region (470 segments)
44+ ** Features:** Random, stratified, filtered sampling
45+ ** Data:** Singapore Central region (470 segments)
4646** Output:** Comparison plots and multiple samples
4747:::
4848
@@ -55,8 +55,8 @@ Sophisticated sampling strategies with Singapore road network examples.
5555^^^
5656All example outputs are available for download. Browse CSV files, plots, and sample data.
5757
58- ** Includes:** Sample datasets, visualizations, CLI logs
59- ** Format:** CSV, PNG, TXT files
58+ ** Includes:** Sample datasets, visualizations, CLI logs
59+ ** Format:** CSV, PNG, TXT files
6060** Size:** Ready-to-use examples
6161:::
6262::::
@@ -70,7 +70,7 @@ All examples use **real OpenStreetMap data** and generate **actual outputs** tha
7070- ** Output** : 1,220 total road segments → 1,000 random sample
7171- ** Files** : [ ` delhi_all_roads.csv ` ] ( ../examples/outputs/01_basic_workflow/delhi_all_roads.csv ) , [ ` delhi_sampled_roads.csv ` ] ( ../examples/outputs/01_basic_workflow/delhi_sampled_roads.csv )
7272
73- ### Singapore Advanced Sampling
73+ ### Singapore Advanced Sampling
7474- ** Input** : Singapore Central region
7575- ** Output** : Multiple sampling strategies (random, stratified, filtered)
7676- ** Files** : [ ` singapore_*.csv ` ] ( ../examples/outputs/02_advanced_sampling/ ) with comparison plots
@@ -85,7 +85,7 @@ All examples use **real OpenStreetMap data** and generate **actual outputs** tha
8585Each example provides:
8686
87871 . ** 🔧 Working code** - Copy-paste ready scripts
88- 2 . ** 📈 Real outputs** - Actual CSV files and plots you can examine
88+ 2 . ** 📈 Real outputs** - Actual CSV files and plots you can examine
89893 . ** ⚡ Both interfaces** - Python API and CLI equivalents
90904 . ** 📋 Documentation** - Step-by-step explanations
9191
@@ -124,24 +124,24 @@ pip install -e .
124124# Run the basic workflow example
125125python examples/01_basic_workflow.py
126126
127- # Try CLI examples
127+ # Try CLI examples
128128python examples/03_cli_usage.py
129129```
130130
131131### Adapting for Your Research
132132
1331331 . ** Change the region** : Replace country/region names with your study area
134- 2 . ** Adjust sample size** : Modify ` sample_size ` parameters for your needs
134+ 2 . ** Adjust sample size** : Modify ` sample_size ` parameters for your needs
1351353 . ** Filter road types** : Use ` road_types ` parameter to focus on specific infrastructure
1361364 . ** Set random seed** : Use ` seed ` parameter for reproducible research
137137
138138### Understanding Output Files
139139
140140- ** ` *_all_roads.csv ` ** : Complete road network for the region
141- - ** ` *_sample.csv ` ** : Random/stratified sample of road segments
141+ - ** ` *_sample.csv ` ** : Random/stratified sample of road segments
142142- ** ` *_plot.png ` ** : Visualization of sampled road segments
143143- ** Metadata** : Each example includes sampling methodology details
144144
145145---
146146
147- * Ready to dive in? Start with [ Python API Examples] ( python-api.md ) or jump to [ CLI Usage] ( cli-usage.md ) !*
147+ * Ready to dive in? Start with [ Python API Examples] ( python-api.md ) or jump to [ CLI Usage] ( cli-usage.md ) !*
0 commit comments