1

I want to create an age building map of my home city. I made decision to follow this tutorial: https://www.wired.com/2013/10/how-to-map-building-ages-in-your-home-town/.

Building footprint shapefile for my city was not placed in open sources and I tried to use OpenStreetMap data. Via the OSM Downloader plugin I downloaded the multipolygons, filtered buildings, added required attributes and saved a shapefile.

I uploaded this file to this page to convert it to a Mapbox Studio tileset (a zip archive with files .shp, .shx, .dbf, .prj). I am seeing error Invalid zipfile (and no more information).

I reprojected layer to EPGS:3857, changed type of this layer to tile, converted geometry to the singlepart but this error still showing.

Trying to use other formats (i. e., kml) I get a tileset in Studio but my attributes were deleted.

How to fix this error? I use QGIS 3.8.0 (Zanzibar)

6
  • What plugin allows you to modify OSM data and download it as a Mapbox Studio tileset?
    – csk
    Jul 8, 2019 at 15:21
  • @csk I use plugin OSM Downloader
    – Byulent
    Jul 8, 2019 at 19:41
  • Your workflow doesn't make sense. The OSM Downloader plugin just downloads all OSM data in a given area. You said you first downloaded the data using that plugin, then modified it, then downloaded it (again?) as a Mapbox Studio tileset. Where and how are you downloading it a second time?
    – csk
    Jul 8, 2019 at 20:16
  • @csk, drag and drop on this page: studio.mapbox.com/tilesets
    – Byulent
    Jul 9, 2019 at 9:12
  • 1
    Had a similar problem on Mac. Solved the issue by using WinZip and not the native archiver. Nov 6, 2019 at 8:51

1 Answer 1

2

I fixed it. The trouble was in zipper version, default GUI archiver in Ubuntu uses 2.0 version of zip, but Studio requires >2.0. Rezipping via console was helpful.

1
  • Same here. I had a problem on my macOS Catalina. Default zipper was causing this error. WinZip did the trick. Apr 12, 2020 at 12:19

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.