Skip to content

Commit

Permalink
Picking up trees from a year ago tried to load all of SF as geojson b…
Browse files Browse the repository at this point in the history
…ecause we modified ids in 2022 june (#134)
  • Loading branch information
zoobot committed Mar 14, 2023
1 parent e2ef6e5 commit 6fff3eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions server/routes/treemap/treemap-queries.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export default async function findGeoJSONByCityName(city) {
FROM (
SELECT * FROM treedata
WHERE city like $1
AND (modified::date > CURRENT_DATE - INTERVAL '365 days'
OR created::date > CURRENT_DATE - INTERVAL '365 days')
AND (modified::date > CURRENT_DATE - INTERVAL '210 days'
OR created::date > CURRENT_DATE - INTERVAL '210 days')
) inputs
) features;
`;
Expand Down

0 comments on commit 6fff3eb

Please sign in to comment.