I've used GeoServer vector tile extension to produce PBF files from set of shape files. The problem is the generated MVTs from GeoServer have larger volume in comparison with Mapbox ones. How can I reduce the volume of each PBF file to be optimized?

  • Do both have the same attributes? Is the number of features the same in both sets? If there there is no difference in those two aspects then probably tiles from GeoServer have more vertices in geometries and simplification could help. – user30184 Feb 18 at 15:35
  • Thanks @user30184, there is a question related to your comment. Does the number of vertices have bigger effect on the volume of a vector tile or attributes of features? – Harry Wilson Feb 19 at 5:33
  • Hard to say by looking only at the specification docs.mapbox.com/vector-tiles/specification. Each extra vertex adds one LineTo and each attribute what it happens to contain but I have no idea about how effectively those two gets compressed when they are converted into protobuf format. – user30184 Feb 19 at 7:06

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.