here-cli
here-cli copied to clipboard
A command-line interface to work with HERE XYZ Hub and other HERE APIs
While importing a CSV, if the lat/lon fields contain `0,0` or `null`, we import it but tag it with `null_island`. After we upload, and the user has a chance to...
If a CSV has an address field, use the HERE CLI geocoder to add a `latitude` and `longitude` to the feature as we upload it to XYZ. here xyz upload...
Some CSVs can contain a line break in the middle of a field. We interpret the rest of the row as a new feature. If this occurs before the lat/lon...
Streaming is robust and 10x faster than `upload` without `-s`. I suggest we make it the default upload method for geojson, geojsonl, and csv files. Shapefiles should default to non-streaming...
maybe with a library like https://www.npmjs.com/package/xlsx ?
Some CSV may have a few invalid lat/lon values (>180, < -180, etc) while the rest are valid. We should report the error, and either: - upload as null geometry,...
Let the CLI access nested properties, as well as specific array positions in the interactive property dialogs for `tagrules` and `-p` tag generation. Right now we show the dreaded `[object...
We should check the file size if a user is not streaming. Been seeing this: `"OPERATION FAILED - File size (4008931683) is greater than possible Buffer: 2147483647 bytes"` If the...
`here xyz analyze` iterates through a space and shows the frequency of values for a particular property: ``` $ here xyz analyze J7LtWd5Z Operation may take a while. Please wait............................................
When constructing a rule based tag, it would be useful to search for a substring in addition to a full string (probably using `include()` behind the scenes?) As far as...