mapbox / preprocessorcerer

Perform preprocessorcery and pick parts on particularly persnickity uploads
ISC License
12 stars 8 forks source link

Remove extraneous mbtiles records #32

Closed rclark closed 9 years ago

rclark commented 9 years ago

As part of preprocessing, we should:

DELETE from map where tile_id is null

... followed by vacuum on the database.

@BergWerkGIS let me know if you have time to take this on, otherwise I'll tackle it.

wilhelmberg commented 9 years ago

@rclark I'm deep into the sprint this week. Would be great if you could tackle it.

Should even work as a one liner:

DELETE from map where tile_id is null; VACUUM;

Let me know if you need anything else.