mapbox-cli-py icon indicating copy to clipboard operation
mapbox-cli-py copied to clipboard

Tileset info incorrect when uploading data files in parallel

Open tuyen-vuduc opened this issue 8 years ago • 2 comments

What you've tried already

I tried to uploading multiple tileset from from CLI in parallel

Expected outcome

Each tileset will use uploaded data file name as its ID and name

Actual outcome

With test data of 9 uploads, a single tileset has name from other tileset.

Other information

  • Version numbers for mapboxcli and mapbox (from, e.g., pip list) : 0.7.0
  • Operating System : MAC OS X latest
  • Python version number : 2.7.10
  • How did you install the mapbox cli? Homebrew
screen shot 2017-07-25 at 11 27 13

tuyen-vuduc avatar Jul 25 '17 04:07 tuyen-vuduc

I'm not able to reproduce this with GNU parallel. @kanvuduc - can you provide more details about

  • the exact command you're using
  • how you are running them in parallel
  • are the filenames of all 9 uploads the same?
  • are you specifying the --name option?

perrygeo avatar Jul 25 '17 15:07 perrygeo

@perrygeo

  • Command: My actual job is combination of tippecanoe to generate mbtiles, then uploading to Mapbox via Mapbox CLI.
    • for each GEOJSON file, generate mbtiles, then upload to Mapbox
  • I call those commands in sequence from C#
  • Files aren't the same, as you see.
  • Yes.

tuyen-vuduc avatar Jul 25 '17 15:07 tuyen-vuduc