Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Vector tile analysis #21

Closed
2 of 3 tasks
yhahn opened this issue Aug 28, 2013 · 4 comments
Closed
2 of 3 tasks

Vector tile analysis #21

yhahn opened this issue Aug 28, 2013 · 4 comments

Comments

@yhahn
Copy link
Member

yhahn commented Aug 28, 2013

@kkaefer has been pining for some stats regarding our vector tiles. I'm guessing he's interested in maxes but some kind of median/average value would be useful as well.

  • Determine sample size/method -- e.g. grab tiles from major cities, minor cities, across several zoom levels ?
  • Decide on necessary analyses (number of features, number of coordinates per feature, etc.)
  • Build out basic script to fetch and run analysis

Guessing even without strong decisions around these we can adjust as it becomes clearer what kind of info is necessary.

@ghost ghost assigned dmitrig01 Aug 28, 2013
@kkaefer
Copy link
Member

kkaefer commented Aug 29, 2013

  • for every layer, the number of features on the layer, and the number of vertices per feature (and the overall number of vertices of that layer)
  • for every feature, the total line/perimeter length
  • number of vertices that are outside the extent range (typically from 0..4096 on both axes)
  • something like taginfo for our vectortiles, that shows the typical tags/values per layer
  • for all of these metrics, average and median, and min/max overall and per zoom level

@kkaefer
Copy link
Member

kkaefer commented Aug 29, 2013

oh, and byte size for feature/layer would be interesting too. you can only compute this on a protobuf level, not with the mapnik/tojson functionality

@dmitrig01
Copy link
Contributor

See statistics branch.

  • run node index.js to get a list of cities
  • run node index.js [cityNumber] [5≤zoomLevel≤17] to get statistics for that city at that zoom level.

@dmitrig01
Copy link
Contributor

Oh, make a directory tilecache

@kkaefer kkaefer closed this as completed Oct 22, 2013
bensleveritt pushed a commit to bensleveritt/mapbox-gl-js that referenced this issue Oct 24, 2016
Drawing and editting refactor - closes mapbox#77 and mapbox#21
lucaswoj pushed a commit that referenced this issue Jan 11, 2017
ryanhamley pushed a commit that referenced this issue May 22, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants