Skip to content

Adding Relation tiles and New Relic config - #89

Merged
Rub21 merged 16 commits into
mainfrom
staging
Sep 13, 2021
Merged

Rub21 merged 16 commits into
mainfrom
staging

Conversation

@Rub21

@Rub21 Rub21 commented Sep 13, 2021

Copy link
Copy Markdown
Member

This PR contains change on:

Do not merge this PR, because we still need to do some extra configuration in kubernetes to make updates of the Tiles.

cc. @danrademacher @geohacker

@Rub21
Rub21 requested a review from danrademacher September 13, 2021 14:51
geometry_fieldname = "geometry"
geometry_type = "LineString"
id_fieldname = "id"
sql = "SELECT ST_AsMVTGeom(geometry,!BBOX!) AS geometry, r.id, m.member, r.osm_id, m.name, m.relname, m.index, r.type, r.tags->'start_date' as start_date, r.tags->'end_date' as end_date, isodatetodecimaldate(pad_date(r.tags->'start_date', 'start')) AS start_decdate, isodatetodecimaldate(pad_date(r.tags->'end_date', 'end')) AS end_decdate FROM osm_relations r, osm_relation_members m WHERE r.osm_id=m.osm_id and r.type='associatedStreet' and geometry && !BBOX!"

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we should go ahead with this as you have it now, to close out OpenHistoricalMap/issues#94, and then we'll circle back in another iteration to the issues in OpenHistoricalMap/issues#284

@danrademacher danrademacher left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Assuming any needed changes are made at Kubernetes, this looks OK to merge to me. I see that we are getting browser stats on staging, as expected.

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

Successfully merging this pull request may close these issues.

2 participants