I am trying to generate vector files and store them in a MBtiles file to make them available for download within the app. (I have also tried with raster tiles and TileMill but the file were too large: 400MB for greater london up to zoom 17, 188MB with jpeg 70% compressed)
- I have downloaded the OpenStreetMap city raw data in PBF from MapZen metro extract
- I have put the data in a PostGIS Database using
osm2psqland OSM Bright
- I have used MapBox Studio's tilelive to generate the vector mbtiles (see https://github.com/mapbox/mapbox-studio/issues/1080#issuecomment-97189457)
But I'm getting a 1.3GB file for the sole greater London.
Vector tiles are supposed to be much smaller than raster ones, any reason why I would get such an abnormally large file. (Nutiteq or Skobbler have packages of about 30MB for greater london)
If I do manage to generate them, what would be a good way to have them integrated in android and in iOS? Apparently this is not possible yet using MapBox SDK: https://github.com/mapbox/mapbox-gl-native/issues/584
OsmAndMapCreator allows to generate vector tiles in the OBF format which I don't think is possible to use outside of OsmAnd.