-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot read properties of undefined (reading 'map') #24
Comments
https://play.dekart.xyz/reports/de18012a-e1e4-425b-9eae-8450a948ab3e/source with geometry as (
SELECT
(
SELECT value
FROM UNNEST(all_tags)
WHERE key = 'name'
LIMIT 1
) AS name,
bqcarto.h3.ST_ASH3_POLYFILL(ST_SIMPLIFY(geometry, 1000), 6) as h3_arr
FROM `bigquery-public-data.geo_openstreetmap.planet_features_multipolygons` AS features
WHERE
(
'ISO3166-1',
'RU'
) IN (
SELECT (key, value)
FROM UNNEST(all_tags)
)
AND ('admin_level', '2') IN (
SELECT (key, value)
FROM UNNEST(all_tags)
)
), geometry_hex as (
select
h3,
ST_CENTROID(bqcarto.h3.ST_BOUNDARY(h3)) as point
FROM geometry
cross join unnest(h3_arr) as h3
), hexagones as (
select
population,
h3,
last_updated
FROM geometry_hex
join `bigquery-public-data.worldpop.population_grid_1km` as pop
on st_intersects(pop.geog, geometry_hex.point)
)
select
array_agg(population order by last_updated desc limit 1)[offset(0)] population,
h3
from hexagones group by h3
@Tsovak could please try to reproduce JS error and send a ling to the map 🙏 |
My mailbox token starts from pk @NoCoSancho I also believe this is different problem from one reported by @Tsovak |
the map crashed when tried to see the report "Fork of COVID vs Population Density in ".
Couldn't reproduce anymore.
Configuration:
Browser Google Chrome Version 96.0.4664.110 (Official Build) (x86_64)
MacBook Pro with Intell Core i7 / Radeon Pro 555 2 GB / 16Gb
Steps:
ST_SIMPLIFY(geometry, 6)
googleapi: Error 400: UDF worker timed out during execution., timeout
ST_SIMPLIFY(geometry, 100)
Output
console log
The text was updated successfully, but these errors were encountered: