Skip to content

upload lots of files via the HERE CLI to an XYZ Space, traverses directories, makes tags from filenames

License

Notifications You must be signed in to change notification settings

burritojustice/xyz_bulk_uploader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

XYZ bulk uploader

This Python3 script uploads files in a directory to an XYZ Space using the HERE CLI.

It assumes you have the HERE CLI installed. (Yes, a Python script controlling a Node app, I know.)

It looks in the directory (and subdirectories!) for GeoJSON, shapefiles, and CSVs. It will tell the CLI to stream GeoJSON and CSVs.

You can also add a list of words that will get turned into tags if they appear as a substring in the filename.

There is little to no error detection -- if there is a failure, it will move on to the next file, so you'd better check the CLI output.

arguments:

  • -s the XYZ space you want to write to
  • -t tags you want to add to all features
  • -p property values you want to turn into a tag
  • -f strings to search for in filenames to add as tags

About

upload lots of files via the HERE CLI to an XYZ Space, traverses directories, makes tags from filenames

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages