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
Copy file name to clipboardExpand all lines: README.md
+3Lines changed: 3 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -214,6 +214,7 @@ resolution is obtained than by using a smaller _maxzoom_ or _detail_.
214
214
that are dropped, coalesced-as-needed, or clustered. The _operation_ may be
215
215
`sum`, `product`, `mean`, `max`, `min`, `concat`, or `comma`
216
216
to specify how the named _attribute_ is accumulated onto the attribute of the same name in a feature that does survive.
217
+
*`-pe` or `--empty-csv-columns-are-null`: Treat empty CSV columns as nulls rather than as empty strings.
217
218
218
219
### Filtering features by attributes
219
220
@@ -561,6 +562,7 @@ The options are:
561
562
*`-i` or `--if-matched`: Only include features that matched the CSV.
562
563
*`-j`*filter* or `--feature-filter`=*filter*: Check features against a per-layer filter (as defined in the [Mapbox GL Style Specification](https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter)) and only include those that match. Any features in layers that have no filter specified will be passed through. Filters for the layer `"*"` apply to all layers.
563
564
*`-J`*filter-file* or `--feature-filter-file`=*filter-file*: Like `-j`, but read the filter from a file.
565
+
*`-pe` or `--empty-csv-columns-are-null`: Treat empty CSV columns as nulls rather than as empty strings.
564
566
565
567
### Setting or disabling tile size limits
566
568
@@ -686,6 +688,7 @@ something better.
686
688
The formatting makes excessive use of `\u` quoting so that it follows JSON string rules but will still
687
689
be sorted correctly by tools that just do ASCII comparisons.
688
690
*`-c`*file.csv* or `--csv=`*file.csv*: Join attributes from the named sorted CSV file, using its first column as the join key. Geometries will be passed through even if they do not match the CSV; CSV lines that do not match a geometry will be discarded.
691
+
*`-pe` or `--empty-csv-columns-are-null`: Treat empty CSV columns as nulls rather than as empty strings.
Copy file name to clipboardExpand all lines: man/tippecanoe.1
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -244,6 +244,8 @@ If the type is \fB\fCint\fR and the original attribute was floating\-point, it i
244
244
that are dropped, coalesced\-as\-needed, or clustered. The \fIoperation\fP may be
245
245
\fB\fCsum\fR, \fB\fCproduct\fR, \fB\fCmean\fR, \fB\fCmax\fR, \fB\fCmin\fR, \fB\fCconcat\fR, or \fB\fCcomma\fR
246
246
to specify how the named \fIattribute\fP is accumulated onto the attribute of the same name in a feature that does survive.
247
+
.IP\(bu2
248
+
\fB\fC\-pe\fR or \fB\fC\-\-empty\-csv\-columns\-are\-null\fR: Treat empty CSV columns as nulls rather than as empty strings.
247
249
.RE
248
250
.SS Filtering features by attributes
249
251
.RS
@@ -675,6 +677,8 @@ The options are:
675
677
\fB\fC\-j\fR\fIfilter\fP or \fB\fC\-\-feature\-filter\fR=\fIfilter\fP: Check features against a per\-layer filter (as defined in the Mapbox GL Style Specification \[la]https://www.mapbox.com/mapbox-gl-js/style-spec/#types-filter\[ra]) and only include those that match. Any features in layers that have no filter specified will be passed through. Filters for the layer \fB\fC"*"\fR apply to all layers.
676
678
.IP\(bu2
677
679
\fB\fC\-J\fR\fIfilter\-file\fP or \fB\fC\-\-feature\-filter\-file\fR=\fIfilter\-file\fP: Like \fB\fC\-j\fR, but read the filter from a file.
680
+
.IP\(bu2
681
+
\fB\fC\-pe\fR or \fB\fC\-\-empty\-csv\-columns\-are\-null\fR: Treat empty CSV columns as nulls rather than as empty strings.
678
682
.RE
679
683
.SS Setting or disabling tile size limits
680
684
.RS
@@ -829,6 +833,8 @@ The formatting makes excessive use of \fB\fC\\u\fR quoting so that it follows JS
829
833
be sorted correctly by tools that just do ASCII comparisons.
830
834
.IP\(bu2
831
835
\fB\fC\-c\fR\fIfile.csv\fP or \fB\fC\-\-csv=\fR\fIfile.csv\fP: Join attributes from the named sorted CSV file, using its first column as the join key. Geometries will be passed through even if they do not match the CSV; CSV lines that do not match a geometry will be discarded.
836
+
.IP\(bu2
837
+
\fB\fC\-pe\fR or \fB\fC\-\-empty\-csv\-columns\-are\-null\fR: Treat empty CSV columns as nulls rather than as empty strings.
0 commit comments