nationalparkservice / places-data

Data from the Places system.
http://www.nps.gov/npmap/tools/places/
13 stars 5 forks source link

Filter `pt_render = false` label points out of vector tile source #782

Closed chadlawlis closed 7 years ago

chadlawlis commented 7 years ago

Layer: nps_places_boundaries_point.

SQL here: https://github.com/nationalparkservice/places-data/blob/gh-pages/boundaries/database/nps-places-boundaries-v2.tm2source/data.yml#L27-L54.

pt_render must be added into SELECT clause and WHERE pt_render = false into the WHERE clause. This must be done in Mapbox on the server and updated in the code on github, per above.

chadlawlis commented 7 years ago

All set - thanks @jimmyrocks!

https://github.com/nationalparkservice/places-data/commit/f9408907989ceef8e1c1021c72aaf650b19d6d1b

jimmyrocks commented 7 years ago

Lines fixed with commit: https://github.com/nationalparkservice/places-data/commit/8f26e7e289de367a96cfe2ec240e7bf2b771f472 Points fixed with commit: https://github.com/nationalparkservice/places-data/commit/f9408907989ceef8e1c1021c72aaf650b19d6d1b