vector2dggs 0.6.2__tar.gz → 0.6.3__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: vector2dggs
3
- Version: 0.6.2
3
+ Version: 0.6.3
4
4
  Summary: CLI DGGS indexer for vector geospatial data
5
5
  Home-page: https://github.com/manaakiwhenua/vector2dggs
6
6
  License: LGPL-3.0-or-later
@@ -45,9 +45,12 @@ Python-based CLI tool to index raster files to DGGS in parallel, writing out to
45
45
 
46
46
  This is the vector equivalent of [raster2dggs](https://github.com/manaakiwhenua/raster2dggs).
47
47
 
48
- Currently only supports H3 DGGS, and probably has other limitations since it has been developed for a specific internal use case, though it is intended as a general-purpose abstraction. Contributions, suggestions, bug reports and strongly worded letters are all welcome.
48
+ Currently this tool supports the following DGGSs:
49
49
 
50
- Currently only supports polygons; but both coverages (strictly non-overlapping polygons), and sets of polygons that do/may overlap, are supported. Overlapping polygons are captured by ensuring that DGGS cell IDs may be non-unique (repeated) in the output.
50
+ - H3 (polygons, linestrings)
51
+ - rHEALPix (polygons)
52
+
53
+ Contributions (espeically for other DGGSs), suggestions, bug reports and strongly worded letters are all welcome.
51
54
 
52
55
  ![Example use case for vector2dggs, showing parcels indexed to a high H3 resolution](./docs/imgs/vector2dggs-example.png "Example use case for vector2dggs, showing parcels indexed to a high H3 resolution")
53
56
 
@@ -59,6 +62,19 @@ pip install vector2dggs
59
62
 
60
63
  ## Usage
61
64
 
65
+ ```bash
66
+ vector2dggs --help [11:22:14]
67
+ Usage: vector2dggs [OPTIONS] COMMAND [ARGS]...
68
+
69
+ Options:
70
+ --version Show the version and exit.
71
+ --help Show this message and exit.
72
+
73
+ Commands:
74
+ h3 Ingest a vector dataset and index it to the H3 DGGS.
75
+ rhp Ingest a vector dataset and index it to the rHEALPix DGGS.
76
+ ```
77
+
62
78
  ```bash
63
79
  vector2dggs h3 --help
64
80
  Usage: vector2dggs h3 [OPTIONS] VECTOR_INPUT OUTPUT_DIRECTORY
@@ -157,7 +173,7 @@ In brief, to get started:
157
173
  - Install [Poetry](https://python-poetry.org/docs/basic-usage/)
158
174
  - Install [GDAL](https://gdal.org/)
159
175
  - If you're on Windows, `pip install gdal` may be necessary before running the subsequent commands.
160
- - On Linux, install GDAL 3.6+ according to your platform-specific instructions, including development headers, i.e. `libgdal-dev`.
176
+ - On Linux, install GDAL 3.8+ according to your platform-specific instructions, including development headers, i.e. `libgdal-dev`.
161
177
  - Create the virtual environment with `poetry init`. This will install necessary dependencies.
162
178
  - Subsequently, the virtual environment can be re-activated with `poetry shell`.
163
179
 
@@ -193,14 +209,14 @@ vector2dggs h3 -v DEBUG -id ogc_fid -r 9 -p 5 -t 4 --overwrite -tbl topo50_lake
193
209
  title={{vector2dggs}},
194
210
  author={Ardo, James and Law, Richard},
195
211
  url={https://github.com/manaakiwhenua/vector2dggs},
196
- version={0.6.2},
212
+ version={0.6.3},
197
213
  date={2023-04-20}
198
214
  }
199
215
  ```
200
216
 
201
217
  APA/Harvard
202
218
 
203
- > Ardo, J., & Law, R. (2023). vector2dggs (0.6.2) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
219
+ > Ardo, J., & Law, R. (2023). vector2dggs (0.6.3) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
204
220
 
205
221
  [![manaakiwhenua-standards](https://github.com/manaakiwhenua/vector2dggs/workflows/manaakiwhenua-standards/badge.svg)](https://github.com/manaakiwhenua/manaakiwhenua-standards)
206
222
 
@@ -6,9 +6,12 @@ Python-based CLI tool to index raster files to DGGS in parallel, writing out to
6
6
 
7
7
  This is the vector equivalent of [raster2dggs](https://github.com/manaakiwhenua/raster2dggs).
8
8
 
9
- Currently only supports H3 DGGS, and probably has other limitations since it has been developed for a specific internal use case, though it is intended as a general-purpose abstraction. Contributions, suggestions, bug reports and strongly worded letters are all welcome.
9
+ Currently this tool supports the following DGGSs:
10
10
 
11
- Currently only supports polygons; but both coverages (strictly non-overlapping polygons), and sets of polygons that do/may overlap, are supported. Overlapping polygons are captured by ensuring that DGGS cell IDs may be non-unique (repeated) in the output.
11
+ - H3 (polygons, linestrings)
12
+ - rHEALPix (polygons)
13
+
14
+ Contributions (espeically for other DGGSs), suggestions, bug reports and strongly worded letters are all welcome.
12
15
 
13
16
  ![Example use case for vector2dggs, showing parcels indexed to a high H3 resolution](./docs/imgs/vector2dggs-example.png "Example use case for vector2dggs, showing parcels indexed to a high H3 resolution")
14
17
 
@@ -20,6 +23,19 @@ pip install vector2dggs
20
23
 
21
24
  ## Usage
22
25
 
26
+ ```bash
27
+ vector2dggs --help [11:22:14]
28
+ Usage: vector2dggs [OPTIONS] COMMAND [ARGS]...
29
+
30
+ Options:
31
+ --version Show the version and exit.
32
+ --help Show this message and exit.
33
+
34
+ Commands:
35
+ h3 Ingest a vector dataset and index it to the H3 DGGS.
36
+ rhp Ingest a vector dataset and index it to the rHEALPix DGGS.
37
+ ```
38
+
23
39
  ```bash
24
40
  vector2dggs h3 --help
25
41
  Usage: vector2dggs h3 [OPTIONS] VECTOR_INPUT OUTPUT_DIRECTORY
@@ -118,7 +134,7 @@ In brief, to get started:
118
134
  - Install [Poetry](https://python-poetry.org/docs/basic-usage/)
119
135
  - Install [GDAL](https://gdal.org/)
120
136
  - If you're on Windows, `pip install gdal` may be necessary before running the subsequent commands.
121
- - On Linux, install GDAL 3.6+ according to your platform-specific instructions, including development headers, i.e. `libgdal-dev`.
137
+ - On Linux, install GDAL 3.8+ according to your platform-specific instructions, including development headers, i.e. `libgdal-dev`.
122
138
  - Create the virtual environment with `poetry init`. This will install necessary dependencies.
123
139
  - Subsequently, the virtual environment can be re-activated with `poetry shell`.
124
140
 
@@ -154,13 +170,13 @@ vector2dggs h3 -v DEBUG -id ogc_fid -r 9 -p 5 -t 4 --overwrite -tbl topo50_lake
154
170
  title={{vector2dggs}},
155
171
  author={Ardo, James and Law, Richard},
156
172
  url={https://github.com/manaakiwhenua/vector2dggs},
157
- version={0.6.2},
173
+ version={0.6.3},
158
174
  date={2023-04-20}
159
175
  }
160
176
  ```
161
177
 
162
178
  APA/Harvard
163
179
 
164
- > Ardo, J., & Law, R. (2023). vector2dggs (0.6.2) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
180
+ > Ardo, J., & Law, R. (2023). vector2dggs (0.6.3) [Computer software]. https://github.com/manaakiwhenua/vector2dggs
165
181
 
166
182
  [![manaakiwhenua-standards](https://github.com/manaakiwhenua/vector2dggs/workflows/manaakiwhenua-standards/badge.svg)](https://github.com/manaakiwhenua/manaakiwhenua-standards)
@@ -1,6 +1,6 @@
1
1
  [tool.poetry]
2
2
  name = "vector2dggs"
3
- version = "0.6.2"
3
+ version = "0.6.3"
4
4
  description = "CLI DGGS indexer for vector geospatial data"
5
5
  authors = ["James Ardo <ardoj@landcareresearch.co.nz>"]
6
6
  maintainers = ["Richard Law <lawr@landcareresearch.co.nz>"]
@@ -0,0 +1 @@
1
+ __version__: str = "0.6.3"
@@ -1 +0,0 @@
1
- __version__: str = "0.6.2"
File without changes
File without changes