nationalparkservice / places-data

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

SUCR label getting cut off #795

Closed chadlawlis closed 7 years ago

chadlawlis commented 7 years ago

Z15-16.

ldir_enforcecurrently set to false.

chadlawlis commented 7 years ago

Set ldir_enforce = 't' - will go live once boundary tiles are regenerated.

chadlawlis commented 7 years ago

That didn't work - moving boundary a bit to the east to (hopefully) avoid tile edge via:

-- move label in 4326
UPDATE parks_label
SET geom_label = (SELECT ST_GeomFromText('POINT(-111.50655 35.37114)', 4326))
WHERE unit_id = 373;

-- convert to 3857
UPDATE parks_label
SET geom_label = ST_Transform(ST_SetSRID(geom_label, 4326), 3857)
WHERE unit_id = 373;

Will regenerate tiles again.

chadlawlis commented 7 years ago

This has been resolved.