Query Metrics
38
Database Queries
30
Different statements
810.74 ms
Query time
0
Invalid entities
4557
Managed entities
Queries
default connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 0.53 ms |
SELECT s0_.id AS id_0, s0_.zone AS zone_1, s0_.completion_percent AS completion_percent_2, s0_.places_count AS places_count_3, s0_.avec_horaires AS avec_horaires_4, s0_.avec_adresse AS avec_adresse_5, s0_.avec_site AS avec_site_6, s0_.avec_accessibilite AS avec_accessibilite_7, s0_.avec_note AS avec_note_8, s0_.name AS name_9, s0_.population AS population_10, s0_.siren AS siren_11, s0_.code_epci AS code_epci_12, s0_.codes_postaux AS codes_postaux_13, s0_.date_created AS date_created_14, s0_.date_modified AS date_modified_15, s0_.avec_siret AS avec_siret_16, s0_.avec_name AS avec_name_17, s0_.avec_email AS avec_email_18, s0_.osm_data_date_min AS osm_data_date_min_19, s0_.osm_data_date_avg AS osm_data_date_avg_20, s0_.osm_data_date_max AS osm_data_date_max_21, s0_.budget_annuel AS budget_annuel_22, s0_.lat AS lat_23, s0_.lon AS lon_24, s0_.date_labourage_requested AS date_labourage_requested_25, s0_.date_labourage_done AS date_labourage_done_26, s0_.kind AS kind_27 FROM stats s0_ WHERE s0_.zone = ? ORDER BY s0_.id ASC LIMIT 1
Parameters:
[
"10268"
]
|
||||||||||||||||||||||||||||||||
| 2 | 28.36 ms |
SELECT t0.id AS id_1, t0.name AS name_2, t0.measure AS measure_3, t0.date AS date_4, t0.stats_id AS stats_id_5 FROM city_follow_up t0 WHERE t0.stats_id = ?
Parameters:
[
25007
]
|
||||||||||||||||||||||||||||||||
| 3 | 0.20 ms |
"START TRANSACTION"
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 4 | 1.99 ms |
INSERT INTO action_log (type, data, created_at, from_url, who) VALUES (?, ?, ?, ?, ?)
Parameters:
[ "stats_de_ville" "{"insee_code":"10268","nom":"10268"}" "2026-07-13 05:50:37" null null ]
|
||||||||||||||||||||||||||||||||
| 5 | 674.01 ms |
"COMMIT"
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 6 | 0.38 ms |
SELECT COUNT(*) FROM osm_object t0 WHERE t0.zone = ?
Parameters:
[
"10268"
]
|
||||||||||||||||||||||||||||||||
| 7 | 0.25 ms |
SELECT s0_.id AS id_0, s0_.places_count AS places_count_1, s0_.emails_count AS emails_count_2, s0_.completion_percent AS completion_percent_3, s0_.emails_sent AS emails_sent_4, s0_.date AS date_5, s0_.names_count AS names_count_6, s0_.opening_hours_count AS opening_hours_count_7, s0_.website_count AS website_count_8, s0_.address_count AS address_count_9, s0_.siret_count AS siret_count_10, s0_.stats_id AS stats_id_11 FROM stats_history s0_ WHERE s0_.stats_id = ? ORDER BY s0_.id DESC LIMIT 100
Parameters:
[
25007
]
|
||||||||||||||||||||||||||||||||
| 8 | 0.64 ms |
SELECT p0_.osm_user AS osm_user_0, COUNT(p0_.id) AS sclr_1, AVG((CASE WHEN p0_.has_opening_hours = 1 THEN 1 ELSE 0 END) + (CASE WHEN p0_.has_address = 1 THEN 1 ELSE 0 END) + (CASE WHEN p0_.has_website = 1 THEN 1 ELSE 0 END) + (CASE WHEN p0_.has_wheelchair = 1 THEN 1 ELSE 0 END) + (CASE WHEN p0_.has_note = 1 THEN 1 ELSE 0 END)) / 5 * 100 AS sclr_2 FROM place p0_ WHERE p0_.osm_user IS NOT NULL AND p0_.osm_user <> '' AND p0_.stats_id = ? GROUP BY p0_.osm_user ORDER BY sclr_1 DESC LIMIT 100
Parameters:
[
25007
]
|
||||||||||||||||||||||||||||||||
| 9 | 37.05 ms |
SELECT t0.id AS id_1, t0.disappeared_list AS disappeared_list_2, t0.current_list AS current_list_3, t0.theme AS theme_4, t0.stats_id AS stats_id_5 FROM zone_places t0 WHERE t0.stats_id = ?
Parameters:
[
25007
]
|
||||||||||||||||||||||||||||||||
| 10 | 0.46 ms |
SELECT t0.id AS id_1, t0.uuid_for_url AS uuid_for_url_2, t0.osm_kind AS osm_kind_3, t0.email AS email_4, t0.opted_out AS opted_out_5, t0.dead AS dead_6, t0.note AS note_7, t0.modified_date AS modified_date_8, t0.zip_code AS zip_code_9, t0.asked_humains_support AS asked_humains_support_10, t0.last_contact_attempt_date AS last_contact_attempt_date_11, t0.osm_id AS osm_id_12, t0.name AS name_13, t0.has_opening_hours AS has_opening_hours_14, t0.has_address AS has_address_15, t0.has_website AS has_website_16, t0.has_wheelchair AS has_wheelchair_17, t0.has_note AS has_note_18, t0.main_tag AS main_tag_19, t0.note_content AS note_content_20, t0.displayed_date AS displayed_date_21, t0.lat AS lat_22, t0.lon AS lon_23, t0.street AS street_24, t0.housenumber AS housenumber_25, t0.siret AS siret_26, t0.habitants AS habitants_27, t0.osm_data_date AS osm_data_date_28, t0.osm_version AS osm_version_29, t0.osm_user AS osm_user_30, t0.osm_uid AS osm_uid_31, t0.osm_changeset AS osm_changeset_32, t0.email_content AS email_content_33, t0.place_count AS place_count_34, t0.stats_id AS stats_id_35 FROM place t0 WHERE t0.stats_id = ?
Parameters:
[
25007
]
|
osm connection
| #▲ | Time | Info | ||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 1 | 2.29 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_history'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 2 | 0.67 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_meta" ]
|
||||||||||||||||||||||||||||||||
| 3 | 0.88 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ]
|
||||||||||||||||||||||||||||||||
| 4 | 2.52 ms |
SELECT COUNT(*) FROM osm_object_meta WHERE osm_type = 'relation' AND geom IS NOT NULL AND (tags->'admin_level') = '8' AND (tags->'boundary') = 'administrative' AND (tags->'ref:INSEE') IS NOT NULL
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 5 | 0.91 ms |
INSERT INTO osm_object_meta ( osm_type, osm_id, geom, tags, version, osm_timestamp, changeset, osm_user, uid ) SELECT 'relation', latest.osm_id, latest.geom, latest.tags, latest.version, to_char(latest.valid_from AT TIME ZONE 'UTC', 'YYYY-MM-DD"T"HH24:MI:SS"Z"'), latest.changeset, latest.osm_user, latest.uid FROM ( SELECT DISTINCT ON (h.osm_id) h.osm_id, h.geom, h.tags, h.version, h.valid_from, h.changeset, h.osm_user, h.uid FROM osm_object_history h WHERE h.osm_type = 'relation' AND h.visible = true AND h.geom IS NOT NULL AND (h.tags->'boundary') = 'administrative' AND (h.tags->'admin_level') = '8' AND (h.tags->'ref:INSEE') IS NOT NULL ORDER BY h.osm_id, h.version DESC, h.valid_from DESC ) AS latest WHERE NOT EXISTS ( SELECT 1 FROM osm_object_meta m WHERE m.osm_type = 'relation' AND m.osm_id = latest.osm_id )
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 6 | 5.87 ms |
SELECT ST_AsText(ST_Multi(geom)) AS wkt FROM osm_object_meta m WHERE osm_type = 'relation' AND geom IS NOT NULL AND (tags->'ref:INSEE') = ? AND (tags->'admin_level') = '8' AND (tags->'boundary') = 'administrative' ORDER BY ST_Area(geom::geography) DESC NULLS LAST LIMIT 1
Parameters:
[
"10268"
]
|
||||||||||||||||||||||||||||||||
| 7 | 0.76 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = ? AND table_name = ?
Parameters:
[ "public" "osm_object_history" ]
|
||||||||||||||||||||||||||||||||
| 8 | 0.36 ms |
SELECT ST_AsText(ST_Multi(geom)) AS wkt FROM ( SELECT DISTINCT ON (h.osm_id) h.geom FROM osm_object_history h WHERE h.osm_type = 'relation' AND h.visible = true AND h.geom IS NOT NULL AND (h.tags->'ref:INSEE') = ? AND (h.tags->'admin_level') = '8' AND (h.tags->'boundary') = 'administrative' ORDER BY h.osm_id, h.version DESC, h.valid_from DESC ) latest ORDER BY ST_Area(geom::geography) DESC NULLS LAST LIMIT 1
Parameters:
[
"10268"
]
|
||||||||||||||||||||||||||||||||
| 9 | 0.23 ms |
CREATE TABLE IF NOT EXISTS zone_polygon ( insee_code TEXT PRIMARY KEY, geom geometry(MultiPolygon, 4326) NOT NULL, source TEXT NOT NULL, updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW() )
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 10 | 0.30 ms |
CREATE INDEX IF NOT EXISTS zone_polygon_geom_idx ON zone_polygon USING GIST (geom)
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 11 | 0.52 ms |
SELECT ST_AsText(ST_Multi(geom)) FROM zone_polygon WHERE insee_code = ?
Parameters:
[
"10268"
]
|
||||||||||||||||||||||||||||||||
| 12 | 1.58 ms |
WITH zone AS (SELECT ST_GeomFromText(?, 4326) AS g), in_zone AS ( SELECT h.osm_type, h.osm_id, h.version, h.valid_from, h.visible FROM osm_object_history h, zone z WHERE h.geom IS NOT NULL AND ST_Intersects(h.geom, z.g) ), creations AS ( SELECT (valid_from AT TIME ZONE 'UTC')::date AS d FROM in_zone WHERE version = 1 AND visible = true AND valid_from >= NOW() - (? || ' days')::interval ), deletions AS ( SELECT (del.valid_from AT TIME ZONE 'UTC')::date AS d FROM osm_object_history del JOIN in_zone prev ON prev.osm_type = del.osm_type AND prev.osm_id = del.osm_id AND prev.version = del.version - 1 WHERE del.visible = false AND del.valid_from >= NOW() - (? || ' days')::interval ) SELECT d::text AS date, SUM(n_creations)::int AS creations, SUM(n_deletions)::int AS deletions FROM ( SELECT d, COUNT(*) AS n_creations, 0 AS n_deletions FROM creations GROUP BY d UNION ALL SELECT d, 0, COUNT(*) FROM deletions GROUP BY d ) u GROUP BY d ORDER BY d
Parameters:
[ "MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))" "30" "30" ]
|
||||||||||||||||||||||||||||||||
| 13 | 0.80 ms |
SELECT to_char(qstart, 'YYYY') || '-Q' || EXTRACT(QUARTER FROM qstart)::int AS k, n FROM ( SELECT date_trunc('quarter', valid_from) AS qstart, COUNT(*) AS n FROM osm_object_history h WHERE h.geom IS NOT NULL AND ST_Intersects(h.geom, ST_GeomFromText(?, 4326)) GROUP BY 1 ) t ORDER BY qstart
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 14 | 0.64 ms |
WITH last_versions AS ( SELECT DISTINCT ON (osm_type, osm_id) osm_type, osm_id, valid_from, visible, geom FROM osm_object_history h WHERE h.geom IS NOT NULL AND ST_Intersects(h.geom, ST_GeomFromText(?, 4326)) ORDER BY osm_type, osm_id, valid_from DESC ) SELECT TO_TIMESTAMP(AVG(EXTRACT(EPOCH FROM valid_from))) AS avg_ts, COUNT(*) AS n FROM last_versions WHERE visible = true
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 15 | 0.71 ms |
WITH zone AS (SELECT ST_GeomFromText(?, 4326) AS g), in_zone AS ( SELECT h.osm_type, h.osm_id, h.version, h.visible FROM osm_object_history h, zone z WHERE h.geom IS NOT NULL AND ST_Intersects(h.geom, z.g) ), deletions AS ( SELECT 1 AS one FROM osm_object_history del JOIN in_zone prev ON prev.osm_type = del.osm_type AND prev.osm_id = del.osm_id AND prev.version = del.version - 1 WHERE del.visible = false ) SELECT (SELECT COUNT(*) FROM in_zone WHERE version = 1 AND visible = true) AS creations_total, (SELECT COUNT(*) FROM deletions) AS deletions_total, (SELECT COUNT(*) FROM in_zone) AS versions_total
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 16 | 0.19 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 17 | 0.50 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 18 | 5.46 ms |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(geom)) AS lat, ST_X(ST_Centroid(geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid FROM osm_object_meta m WHERE geom IS NOT NULL AND ST_Intersects(m.geom, ST_GeomFromText(?, 4326)) AND ( (tags->'shop') = 'vacant' OR EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k LIKE 'was:%') )
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 19 | 0.31 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 20 | 0.82 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 21 | 33.25 ms |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(m.geom)) AS lat, ST_X(ST_Centroid(m.geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid, ST_AsGeoJSON(ST_Force2D(m.geom), 6, 0) AS geom_geojson, COALESCE(ST_Length(ST_Intersection(ST_MakeValid(m.geom), bufc.buf)::geography), 0) AS length_m, CASE WHEN (tags->'highway') = 'proposed' AND exist(tags, 'proposed') AND (tags->'proposed') = 'cycleway' THEN 'proposed_cycleway' WHEN (tags->'highway') = 'cycleway' THEN 'separated' WHEN (tags->'highway') = 'busway' THEN 'separated' WHEN (tags->'cycleway:both') IN ('track', 'opposite_track', 'separate') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway') THEN 'separated' WHEN EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k = 'cycleway' OR k LIKE 'cycleway:%') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway') THEN 'lane' WHEN (exist(tags, 'bicycle') AND (tags->'bicycle') IS NOT NULL AND (tags->'bicycle') <> 'no') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway') AND NOT (EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k = 'cycleway' OR k LIKE 'cycleway:%')) THEN 'designated' ELSE NULL END AS cycleway_category FROM osm_object_meta m CROSS JOIN (SELECT ST_MakeValid(ST_SetSRID(ST_GeomFromText(?), 4326)) AS poly) z CROSS JOIN LATERAL (SELECT ST_Buffer(z.poly::geography, ?)::geometry AS buf) bufc WHERE m.geom IS NOT NULL AND m.osm_type IN ('way', 'relation') AND ST_Intersects(m.geom, bufc.buf) AND ( (tags->'highway') = 'proposed' AND exist(tags, 'proposed') AND (tags->'proposed') = 'cycleway' OR (tags->'highway') IN ('cycleway', 'busway') OR (EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k = 'cycleway' OR k LIKE 'cycleway:%') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway')) OR ((exist(tags, 'bicycle') AND (tags->'bicycle') IS NOT NULL AND (tags->'bicycle') <> 'no') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway')) )
Parameters:
[ "MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))" 2000.0 ]
|
||||||||||||||||||||||||||||||||
| 22 | 0.21 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 23 | 0.80 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 24 | 2.35 ms |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(m.geom)) AS lat, ST_X(ST_Centroid(m.geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid, ST_AsGeoJSON(ST_Force2D(m.geom), 6, 0) AS geom_geojson, COALESCE(ST_Length(ST_Intersection(ST_MakeValid(m.geom), z.poly)::geography), 0) AS length_m FROM osm_object_meta m CROSS JOIN (SELECT ST_MakeValid(ST_SetSRID(ST_GeomFromText(?), 4326)) AS poly) z WHERE m.geom IS NOT NULL AND m.osm_type IN ('way', 'relation') AND ST_Intersects(m.geom, z.poly) AND exist(tags, 'highway') AND (tags->'highway') NOT IN ( 'motorway', 'motorway_link', 'trunk', 'trunk_link', 'footway', 'steps', 'pedestrian', 'bridleway', 'raceway', 'cycleway', 'busway', 'construction', 'proposed' ) AND (tags->'oneway') IN ('yes', '-1', '1') AND NOT ( (tags->'highway') IN ('cycleway', 'busway') OR (EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k = 'cycleway' OR k LIKE 'cycleway:%') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway')) OR ((exist(tags, 'bicycle') AND (tags->'bicycle') IS NOT NULL AND (tags->'bicycle') <> 'no') AND exist(tags, 'highway') AND (tags->'highway') IS NOT NULL AND (tags->'highway') NOT IN ('cycleway', 'busway') AND NOT (EXISTS (SELECT 1 FROM unnest(akeys(tags)) k WHERE k = 'cycleway' OR k LIKE 'cycleway:%')))) AND NOT ((tags->'oneway:bicycle') = 'no')
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 25 | 0.16 ms |
SELECT 1
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 26 | 0.70 ms |
SELECT COUNT(*) FROM information_schema.tables WHERE table_schema = 'public' AND table_name = 'osm_object_meta'
Parameters:
[]
|
||||||||||||||||||||||||||||||||
| 27 | 1.55 ms |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(geom)) AS lat, ST_X(ST_Centroid(geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid FROM osm_object_meta m WHERE geom IS NOT NULL AND ST_Intersects(m.geom, ST_GeomFromText(?, 4326)) AND (tags->'man_made') = 'monitoring_station' AND (tags->'monitoring:bicycle') = 'yes'
Parameters:
[
"MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))"
]
|
||||||||||||||||||||||||||||||||
| 28 | 1.56 ms |
SELECT osm_type, osm_id::text AS osm_id, ST_Y(ST_Centroid(geom)) AS lat, ST_X(ST_Centroid(geom)) AS lon, tags::jsonb AS tags_json, version, osm_timestamp, changeset, osm_user, uid::bigint AS uid, ST_AsGeoJSON(ST_Force2D(geom), 6, 0) AS geom_geojson FROM osm_object_meta m WHERE geom IS NOT NULL AND ST_Intersects(m.geom, ST_GeomFromText(?, 4326)) AND osm_type IN ('way', 'relation') AND (tags->'highway') IN (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?)
Parameters:
[ "MULTIPOLYGON(((3.476028 48.50008,3.47664 48.50064,3.477874 48.500527,3.477938 48.500638,3.478121 48.500751,3.478445 48.500804,3.478576 48.500875,3.478729 48.50106,3.479375 48.501486,3.479899 48.501906,3.480093 48.502006,3.480502 48.502137,3.48085 48.502339,3.481174 48.502569,3.48144 48.502697,3.481696 48.502945,3.482052 48.503443,3.482227 48.503653,3.482275 48.503949,3.482268 48.504294,3.482422 48.504689,3.482427 48.50481,3.482717 48.504857,3.483074 48.504783,3.483223 48.504809,3.483375 48.504963,3.483554 48.505481,3.483729 48.505718,3.484009 48.505954,3.484099 48.506163,3.48408 48.506838,3.484009 48.507233,3.484016 48.507375,3.484136 48.507524,3.48435 48.507667,3.484351 48.507963,3.484299 48.508282,3.484709 48.509484,3.485001 48.509559,3.485543 48.509754,3.485738 48.509938,3.48593 48.510048,3.486187 48.510142,3.486317 48.510253,3.486871 48.510437,3.487221 48.510483,3.487664 48.510464,3.487779 48.510435,3.487998 48.510264,3.488241 48.510249,3.488359 48.51036,3.488388 48.510703,3.488442 48.510773,3.488899 48.510909,3.489227 48.510906,3.489589 48.511287,3.489692 48.511288,3.490134 48.511437,3.490524 48.511652,3.490564 48.511823,3.490804 48.511994,3.490912 48.512177,3.491322 48.512309,3.491398 48.512427,3.491436 48.512771,3.491603 48.51291,3.491928 48.512915,3.49206 48.512858,3.492374 48.512804,3.4928 48.512676,3.493063 48.512633,3.493374 48.512629,3.493553 48.512675,3.493875 48.512925,3.494209 48.513024,3.49495 48.513299,3.495348 48.513519,3.495579 48.513694,3.495797 48.514014,3.495817 48.514413,3.496231 48.515054,3.496344 48.515119,3.496696 48.515114,3.496884 48.515151,3.497412 48.515545,3.497698 48.51572,3.497929 48.515894,3.498116 48.516096,3.498217 48.516325,3.498218 48.516548,3.498095 48.517048,3.498138 48.51725,3.498404 48.517589,3.498685 48.517788,3.498807 48.517815,3.49917 48.517824,3.499303 48.517853,3.499484 48.518003,3.49956 48.518256,3.499534 48.518427,3.499903 48.518592,3.50022 48.518794,3.500447 48.518974,3.500791 48.519311,3.501192 48.519569,3.501564 48.519719,3.50171 48.519959,3.501958 48.520209,3.502426 48.520338,3.502257 48.520782,3.502214 48.521218,3.502478 48.521576,3.502814 48.521667,3.503493 48.521721,3.504352 48.521774,3.504884 48.52194,3.505311 48.522188,3.505855 48.522353,3.506436 48.522323,3.507143 48.522231,3.508284 48.522015,3.510186 48.521744,3.510849 48.521768,3.511277 48.521762,3.511687 48.521807,3.512124 48.521981,3.512622 48.522228,3.512769 48.522375,3.512962 48.522729,3.513127 48.522978,3.513652 48.523687,3.513747 48.523778,3.513308 48.52393,3.512964 48.524097,3.512829 48.524211,3.512815 48.524375,3.512924 48.524547,3.51313 48.524674,3.513301 48.52486,3.513337 48.524997,3.513237 48.525289,3.513007 48.525645,3.513024 48.525869,3.513121 48.525961,3.513439 48.526073,3.51501 48.526402,3.515345 48.526531,3.515728 48.526711,3.516834 48.527319,3.517697 48.527708,3.518213 48.527855,3.518679 48.527925,3.519067 48.527907,3.519279 48.527856,3.519901 48.527657,3.520119 48.52762,3.52058 48.527609,3.520766 48.527637,3.521045 48.527757,3.52122 48.527922,3.521551 48.52855,3.521754 48.528732,3.522015 48.528814,3.52252 48.528835,3.522857 48.528773,3.523268 48.528628,3.523716 48.528539,3.524005 48.528517,3.524295 48.528528,3.524994 48.528641,3.525317 48.528602,3.525677 48.528477,3.526001 48.528332,3.526246 48.528132,3.526422 48.527918,3.526669 48.527553,3.526653 48.527392,3.526777 48.52714,3.526803 48.526548,3.526925 48.526202,3.527177 48.52579,3.527345 48.52545,3.527333 48.525066,3.527227 48.524217,3.527199 48.523516,3.527415 48.523058,3.527648 48.522963,3.527994 48.522714,3.528668 48.522187,3.528816 48.522087,3.5289 48.521689,3.529502 48.521613,3.530468 48.521513,3.530611 48.521348,3.530656 48.521206,3.531012 48.521084,3.53136 48.521053,3.531366 48.520901,3.531465 48.520711,3.53178 48.520557,3.53179 48.520313,3.531644 48.519521,3.531168 48.517191,3.530584 48.515315,3.530703 48.515299,3.530982 48.51515,3.531147 48.514979,3.531246 48.514768,3.531267 48.514564,3.531203 48.514374,3.53096 48.514165,3.530451 48.513859,3.529768 48.51339,3.529588 48.510779,3.531517 48.50625,3.53061 48.506087,3.528157 48.505593,3.527195 48.505331,3.526864 48.505202,3.526659 48.505095,3.526179 48.50474,3.526066 48.504687,3.525894 48.504521,3.525549 48.504298,3.524824 48.503858,3.52434 48.503478,3.524058 48.50321,3.523235 48.502458,3.52292 48.502136,3.522691 48.501941,3.523306 48.500561,3.523678 48.499705,3.524126 48.4987,3.524982 48.496751,3.525723 48.495074,3.525887 48.494752,3.52633 48.494874,3.526957 48.494989,3.528037 48.492075,3.528698 48.490783,3.527208 48.490123,3.526619 48.490975,3.525774 48.490696,3.526011 48.490379,3.524384 48.489746,3.526169 48.488915,3.52371 48.487983,3.524035 48.486748,3.520615 48.48387,3.522047 48.482928,3.520784 48.482091,3.521136 48.481729,3.522489 48.480279,3.524134 48.478502,3.523086 48.478351,3.520074 48.477869,3.518621 48.477622,3.513829 48.477179,3.51367 48.478008,3.513567 48.478445,3.505454 48.477365,3.505592 48.477056,3.506124 48.476268,3.506724 48.475425,3.501968 48.474692,3.501538 48.475611,3.501202 48.476241,3.49885 48.475801,3.493486 48.474755,3.492284 48.474513,3.491682 48.474361,3.49082 48.474098,3.48489 48.472304,3.483218 48.471787,3.481575 48.4713,3.483126 48.468213,3.481059 48.467809,3.475502 48.466717,3.474688 48.468371,3.473445 48.473187,3.472859 48.475123,3.47227 48.476458,3.472364 48.477204,3.471753 48.478472,3.471736 48.478725,3.471575 48.478991,3.471716 48.479109,3.471774 48.479315,3.471732 48.479521,3.471527 48.479731,3.470996 48.479758,3.470978 48.479938,3.469674 48.480394,3.468695 48.480799,3.465361 48.482315,3.463478 48.483291,3.461833 48.482582,3.459834 48.484444,3.458899 48.485105,3.458338 48.485101,3.45825 48.485464,3.458017 48.485928,3.457459 48.486763,3.457132 48.487421,3.456969 48.487954,3.456906 48.488503,3.456947 48.489161,3.457024 48.489782,3.457193 48.490414,3.457519 48.491019,3.457793 48.491338,3.458111 48.491541,3.45857 48.491686,3.459163 48.491744,3.46082 48.491753,3.461417 48.491784,3.461958 48.491893,3.462415 48.492051,3.462833 48.492238,3.463369 48.492498,3.463989 48.492772,3.465675 48.493459,3.466364 48.493765,3.46703 48.494146,3.468236 48.494718,3.468602 48.494959,3.468655 48.495713,3.469331 48.495799,3.470126 48.496268,3.470593 48.496605,3.471154 48.496658,3.47208 48.496519,3.472454 48.496544,3.47368 48.496687,3.475315 48.497014,3.475101 48.499252,3.476028 48.50008)))" "motorway" "trunk" "primary" "secondary" "tertiary" "unclassified" "residential" "living_street" "motorway_link" "trunk_link" "primary_link" "secondary_link" "tertiary_link" "service" "road" ]
|
Database Connections
| Name | Service |
|---|---|
| default | doctrine.dbal.default_connection |
| osm | doctrine.dbal.osm_connection |
Entity Managers
| Name | Service |
|---|---|
| default | doctrine.orm.default_entity_manager |
Second Level Cache
Second Level Cache is not enabled.
Managed Entities
default entity manager
| Class | Amount of managed objects |
|---|---|
| App\Entity\CityFollowUp | 4517 |
| App\Entity\ZonePlaces | 38 |
| App\Entity\Stats | 1 |
| App\Entity\ActionLog | 1 |
Entities Mapping
| Class | Mapping errors |
|---|---|
| App\Entity\Stats | No errors. |
| App\Entity\Place | No errors. |
| App\Entity\StatsHistory | No errors. |
| App\Entity\CityFollowUp | No errors. |
| App\Entity\ZonePlaces | No errors. |
| App\Entity\SireneEntreprise | No errors. |
| App\Entity\ActionLog | No errors. |
| App\Entity\OsmObject | No errors. |