513 lines
110 KiB
Bash
513 lines
110 KiB
Bash
#!/bin/sh
|
||
|
||
#################################################### TESTS GO HERE ####################################################
|
||
|
||
function test_geocoding_data_namedplace() {
|
||
# 500 cities with biggest population
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(121.45806 31.22222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shanghai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-58.37723 -34.61315)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Buenos Aires' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(72.88261 19.07283)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mumbai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.12766 19.42847)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mexico City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.39723 39.9075)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Beijing' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(67.0822 24.9056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Karachi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(28.94966 41.01384)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'İstanbul' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(117.17667 39.14222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tianjin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.25 23.11667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guangzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.23149 28.65195)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Delhi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.9822 14.6042)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Manila' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(37.61556 55.75222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Moscow' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.0683 22.54554)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shenzhen' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(90.40744 23.7104)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dhaka' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.9784 37.566)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Seoul' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-46.63611 -23.5475)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'São Paulo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.26667 30.58333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Wuhan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(3.39467 6.45407)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lagos' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.84513 -6.21462)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jakarta' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(139.69171 35.6895)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tokyo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-74.00597 40.71427)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'New York' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.74472 23.04889)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dongguan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(121.53185 25.04776)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Taipei' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(15.31357 -4.32758)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kinshasa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-77.02824 -12.04318)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lima' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(31.24967 30.06263)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cairo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-74.08175 4.60971)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bogotá' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-0.12574 51.50853)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'London' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-0.09184 51.51279)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'City of London' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.55278 29.56278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chongqing' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(104.06667 30.66667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chengdu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(118.77778 32.06167)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nanjing' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(51.42151 35.69439)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tehrān' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.08473 30.79508)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nanchong' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.15769 22.28552)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hong Kong' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(108.92861 34.25833)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Xi’an' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(74.34361 31.54972)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lahore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(123.43278 41.79222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shenyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.16142 30.29365)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hangzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-43.2075 -22.90278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rio de Janeiro' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.65 45.75)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Harbin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.40088 33.34058)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Baghdad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(117.12 36.18528)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tai’an' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.59538 31.30408)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Suzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.71479 23.36814)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shantou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(100.50144 13.75398)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bangkok' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.59369 12.97194)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bangalore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.31413 59.93863)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Saint Petersburg' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-70.64827 -33.45694)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Santiago' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(88.36304 22.56263)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kolkata' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(151.20732 -33.86785)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sydney' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(96.15611 16.80528)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yangon' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.99722 36.66833)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jinan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(80.27847 13.08784)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chennai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.64861 34.75778)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zhengzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(144.96332 -37.814)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Melbourne' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(46.72185 24.68773)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Riyadh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(125.32278 43.88)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Changchun' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(121.60222 38.91222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dalian' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(91.83168 22.3384)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chittagong' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(102.71833 25.03889)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kunming' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(29.95527 31.21564)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Alexandria' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-118.24368 34.05223)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Los Angeles' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(72.58727 23.02579)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ahmedabad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.36939 36.06605)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Qingdao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(129.04028 35.10278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Busan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-4.01266 5.30966)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Abidjan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(8.51672 12.00012)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kano' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.13148 23.02677)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Foshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.45636 17.38405)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hyderabad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.88872 29.45679)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Puyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(139.6425 35.44778)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yokohama' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(3.90591 7.37756)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ibadan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(103.85007 1.28967)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Singapore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.28857 31.56887)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Wuxi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(118.08187 24.47979)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Xiamen' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.85427 39.91987)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ankara' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(105.74238 34.57952)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tianshui' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(121.54945 29.87819)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ningbo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.62965 10.82302)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ho Chi Minh City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(110.77806 32.6475)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shiyan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(18.42322 -33.92584)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cape Town' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.56028 37.86944)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Taiyuan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(13.41053 52.52437)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Berlin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(118.18333 39.63333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tangshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(117.28083 31.86389)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hefei' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-73.58781 45.50884)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Montréal' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-3.70256 40.4165)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Madrid' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(125.75432 39.03385)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pyongyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-7.61138 33.58831)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Casablanca' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(118.06333 36.79056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zibo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(110.5723 21.31992)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zhongshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(31.0292 -29.8579)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Durban' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.97087 28.19874)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Changsha' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(69.17233 34.52813)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kabul' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(87.60046 43.80096)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ürümqi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-66.87919 10.48801)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Caracas' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.85535 18.51957)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pune' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(72.83023 21.19594)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sūrat' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.19797 21.54238)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jeddah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.47861 38.04139)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shijiazhuang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(80.34627 26.4478)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kānpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.5238 50.45466)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kiev' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(13.23432 -8.83682)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Luanda' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(121.0509 14.6488)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Quezon City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(38.74689 9.02497)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Addis Ababa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(36.81667 -1.28333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nairobi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-38.51083 -12.97111)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Salvador' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.78781 26.91962)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jaipur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.26951 -6.82349)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dar es Salaam' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-87.65005 41.85003)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chicago' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(103.83987 36.05701)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lanzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.70515 37.45646)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Incheon' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.03954 22.92833)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yunfu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(47.79747 30.53302)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Al Başrah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.01582 19.03681)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Navi Mumbai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-79.4163 43.70011)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Toronto' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(135.50218 34.69374)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ōsaka-shi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(45.34375 2.03711)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mogadishu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(128.59111 35.87028)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Daegu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.08333 31.41667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Faisalābād' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(27.13838 38.41273)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'İzmir' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-17.44406 14.6937)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dakar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(80.92313 26.83928)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lucknow' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(31.21093 30.00808)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Al Jīzah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-38.54306 -3.71722)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fortaleza' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-76.5225 3.43722)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cali' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.75083 -7.24917)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Surabaya' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-43.93778 -19.92083)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Belo Horizonte' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(115.85306 28.68396)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nanchang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-17.45472 14.71331)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Grand Dakar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(12.51133 41.89193)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rome' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(59.56796 36.31559)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mashhad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-73.94958 40.6501)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Brooklyn' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-73.83652 40.68149)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Borough of Queens' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(79.08491 21.14631)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nagpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-71.64056 10.63167)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Maracaibo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-47.92972 -15.77972)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Brasília' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-69.98857 18.50012)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Santo Domingo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(136.90641 35.18147)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nagoya-shi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(153.02809 -27.46794)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Brisbane' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-82.38304 23.13302)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Havana' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(2.3488 48.85341)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Paris' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-95.36327 29.76328)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Houston' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(43.1049 36.33306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Al Mawşil al Jadīdah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(28.04363 -26.20227)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Johannesburg' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.18333 22.31667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kowloon' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(47.81507 30.50316)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Al Başrah al Qadīmah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(76.92848 43.25654)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Almaty' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-75.56359 6.25184)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Medellín' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(69.21627 41.26465)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tashkent' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(3.04197 36.7525)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Algiers' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.53241 15.55177)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Khartoum' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-0.1969 5.55602)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Accra' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-79.90795 -2.20584)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guayaquil' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(109.78157 39.6086)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ordos' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.20667 15.35472)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sanaa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.49442 33.88894)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Beirut' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(115.8614 -31.95224)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Perth' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(141.34695 43.06417)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sapporo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.56028 43.85083)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jilin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(26.10626 44.43225)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bucharest' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-13.68778 9.535)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Camayenne' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-123.11934 49.24966)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Vancouver' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.8333 22.71792)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Indore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.0671 19.35738)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Iztapalapa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.06601 19.61725)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ecatepec' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-13.67729 9.53795)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Conakry' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-67.59583 10.24694)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Maracay' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(98.66667 3.58333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Medan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.0679 33.6007)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rawalpindi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(27.56667 53.9)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Minsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(19.03991 47.49801)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Budapest' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(43.11889 36.335)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mosul' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(10.01534 53.57532)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hamburg' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-49.27306 -25.42778)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Curitiba' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(21.01178 52.22977)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Warsaw' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(107.61861 -6.90389)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bandung' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(27.85849 -26.26781)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Soweto' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(16.37208 48.20849)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Vienna' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-6.83255 34.01325)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rabat' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-103.39182 20.66682)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guadalajara' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(2.15899 41.38879)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Barcelona' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(28.18783 -25.74486)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pretoria' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(37.16117 36.20124)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Aleppo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(85.11936 25.60222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Patna' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.40289 23.25469)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bhopal' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-60.025 -3.10194)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Manaus' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.06556 32.12278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Xinyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-98.20193 19.04334)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Puebla' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(7.43879 10.52641)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kaduna' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(104.91601 11.56245)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Phnom Penh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(36.29128 33.5102)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Damascus' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(51.67462 32.65246)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Isfahan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.85379 30.91204)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ludhiāna' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(31.05337 -17.82772)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Harare' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(135.183 34.6913)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kobe' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-75.16379 39.95233)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Philadelphia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.9896 -6.2349)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bekasi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.31333 22.61626)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kaohsiung' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-106.48333 31.73333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ciudad Juárez' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-73.96625 40.78343)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Manhattan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-57.63591 -25.30066)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Asunción' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-34.88111 -8.05389)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Recife' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(127.41972 36.32139)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Daejeon' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-1.62443 6.68848)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kumasi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(102.2386 6.13328)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kota Bharu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(135.75385 35.02107)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kyoto' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(101.68653 3.1412)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kuala Lumpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(50.99155 35.83266)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Karaj' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-112.07404 33.44838)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Phoenix' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(85.3206 27.70169)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kathmandu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(104.7458 -2.91673)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Palembang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(71.47528 30.19556)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Multān' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(105.84117 21.0245)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hanoi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(36.25272 49.98081)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kharkiv' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.01667 27.18333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Āgra' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-64.18105 -31.4135)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Córdoba' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(46.2919 38.08)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tabrīz' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(82.9346 55.0415)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Novosibirsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.91556 35.15472)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gwangju' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(29.08403 40.19266)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bursa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.20812 22.29941)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Vadodara' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-48.50444 -1.45583)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Belém' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(123.92333 41.85583)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fushun' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-78.52495 -0.22985)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Quito' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(130.41806 33.60639)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fukuoka-shi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(47.53613 -18.91368)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Antananarivo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.45361 34.68361)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Luoyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(68.37366 25.39242)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hyderabad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-73.86641 40.84985)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'The Bronx' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-68.00765 10.16202)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Valencia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(74.18831 32.16167)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gujrānwāla' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-74.78132 10.96854)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Barranquilla' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.62709 28.15861)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guankou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-117.00371 32.5027)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tijuana' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(27.47938 -11.66089)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lubumbashi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-51.23 -30.03306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Porto Alegre' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.63 -6.17806)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tangerang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-63.18117 -17.78629)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Santa Cruz de la Sierra' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.46778 36.60056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Handan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.58219 0.31628)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kampala' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(60.6122 56.8519)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yekaterinburg' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(89.56439 22.80979)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Khulna' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(9.70428 4.04827)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Douala' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-98.49363 29.42412)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'San Antonio' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.67206 29.44768)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gorakhpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.82563 21.42664)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mecca' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.4221 -5.14)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Makassar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-117.15726 32.71533)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'San Diego' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(139.71722 35.52056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kawasaki' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.71789 -6.28862)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'South Tangerang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(109.82222 40.65222)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Baotou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.61417 24.46861)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Medina' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(11.51667 3.86667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yaoundé' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-8 12.65)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bamako' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.79096 19.99727)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nashik' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(110.4203 -6.9932)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Semarang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(15.28318 -4.26613)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Brazzaville' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.80696 18.62292)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pimpri' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.00205 56.32867)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nizhniy Novgorod' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.94503 31.95522)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Amman' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(124.43972 7.20417)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Budta' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(20.46513 44.80401)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Belgrade' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-56.18816 -34.90328)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Montevideo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(28.28713 -15.40669)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lusaka' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.13554 19.2437)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kalyān' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(72.96355 19.19704)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Thāne' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(11.57549 48.13743)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Munich' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(18.0649 59.33258)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Stockholm' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.48333 33.9)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ra’s Bayrūt' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(52.53113 29.61031)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shiraz' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.32889 37.00167)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Adana' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(127.00889 37.29111)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Suwon-si' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(9.18951 45.46427)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Milano' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-72.335 18.53917)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Port-au-Prince' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.01483 19.40061)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ciudad Nezahualcoyotl' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(138.59863 -34.92866)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Adelaide' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.70636 28.98002)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Meerut' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(82.54826 19.23114)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nowrangapur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.31316 28.41124)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Farīdābād' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(71.57849 34.008)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Peshawar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(125.61278 7.07306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Davao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(96.08359 21.97473)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mandalay' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.47773 15.64453)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Omdurman' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-70.69703 19.4517)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Santiago de los Caballeros' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.09481 29.37455)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yueyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(122.99 41.12361)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Anshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(117.15707 34.18045)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tongshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.43915 28.66535)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ghāziābād' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.81861 -6.4)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Depok' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-96.80667 32.78306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dallas' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(139.65657 35.90807)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Saitama' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.10978 19.49016)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gustavo A. Madero' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.08333 19.21667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dombivli' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.58322 -25.96553)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Maputo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-98.75886 22.8694)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gustavo A. Madero' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.30611 26.06139)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fuzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(70.79322 22.29161)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rājkot' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-60.63932 -32.94682)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rosario' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.71667 26.58333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guiyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-49.25389 -16.67861)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Goiânia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-46.53333 -23.46278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guarulhos' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(14.42076 50.08804)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Prague' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(83.01041 25.31668)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Varanasi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(12.56553 55.67594)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Copenhagen' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(23.32415 42.69751)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sofia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(13.18746 32.87519)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tripoli' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(7.0134 4.77742)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Port Harcourt' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(132.45937 34.39627)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hiroshima-shi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(100.22072 26.86879)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lijiang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(55.17128 25.0657)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dubai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(50.15 53.100007)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Samara' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.36859 54.99244)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Omsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(5.62575 6.33815)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Benin City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-100.31847 25.67507)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Monterrey' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(124.475 7.16083)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Malingao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(49.89201 40.37767)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Baku' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-101.671 21.13052)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'León' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(13.15712 11.84692)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Maiduguri' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(49.12214 55.78874)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kazan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.51361 40.18111)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yerevan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(74.87476 31.63661)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Amritsar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-1.53388 12.36566)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ouagadougou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(139.63333 35.88333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Yono' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.72328 47.23135)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Rostov-na-Donu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(81.83329 25.44894)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Allahābād' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.835 37.65639)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Goyang-si' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(37.3825 37.05944)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gaziantep' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(83.20161 17.68009)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Visakhapatnam' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(140.8667 38.25759)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sendai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(140.87195 38.26889)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sendai-shi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(61.42915 55.15402)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chelyabinsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.29139 40.09361)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Datong' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.83368 41.69411)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tbilisi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.74221 31.64615)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Changshu City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.6839 24.1469)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Taichung' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(77.482 10.01531)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Teni' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(108.70261 34.33778)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Xianyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(55.96779 54.74306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ufa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(34.98333 48.45)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dnipropetrovsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(127.13778 37.43861)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Seongnam-si' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-47.06083 -22.90556)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Campinas' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(79.95006 23.16697)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jabalpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(88.31857 22.57688)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hāora' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.99694 32.62639)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Huainan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(37.80224 48.023)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Donetsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-6.24889 53.33306)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dublin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-114.08529 51.05011)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Calgary' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(4.34878 50.85045)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Brussels' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.34226 19.87757)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Aurangabad' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.50183 48.71939)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Volgograd' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-43.45111 -22.75917)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nova Iguaçu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.36581 23.5418)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jieyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.73262 46.47747)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Odessa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.40259 35.99502)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zhu Cheng City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.85263 18.53017)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shivaji Nagar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(130.83333 33.83333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kitakyūshū' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.91044 17.67152)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Solāpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(115.49028 38.85111)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Baoding' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-90.51327 14.64072)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guatemala City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(123.765 41.28861)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Benxi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-103.38479 20.72356)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zapopan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-1.89983 52.48142)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Birmingham' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(56.25017 58.01046)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Perm' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(74.80298 34.08842)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Srinagar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(7.7227 11.11128)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zaria' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-86.2504 12.13282)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Managua' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(25.57007 -33.91799)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Port Elizabeth' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-4.9998 34.03715)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fès' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(6.95 50.93333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Köln' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(129.31667 35.53722)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ulsan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(76.7884 30.73629)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chandigarh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(76.96612 11.00555)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Coimbatore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(14.24641 40.85631)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Napoli' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-35.73528 -9.66583)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Maceió' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-75.51444 10.39972)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cartagena' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.95401 31.77359)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Changzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.58572 24.49258)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sulţānah' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-121.89496 37.33939)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'San Jose' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-10.7969 6.30054)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Monrovia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-76.79358 17.99702)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kingston' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.01062 36.19257)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Erbil' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(92.86717 56.01839)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Krasnoyarsk' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(96.12972 19.745)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nay Pyi Taw' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.00594 26.26841)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jodhpur' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(140.12333 35.60472)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chiba' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-44.30278 -2.52972)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'São Luís' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.11962 9.91735)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Madurai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-6.79846 34.0531)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sale' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(116.79167 33.97444)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Huaibei' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-66.1568 -17.3895)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cochabamba' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-4.0159 5.41613)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Abobo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(74.59 42.87)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bishkek' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(44.18477 33.30563)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Abū Ghurayb' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.30742 34.7986)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kaifeng' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(50.8764 34.6401)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Qom' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(91.7458 26.1844)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Guwahati' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(7.36667 5.10658)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Aba' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.30119 33.73847)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pingdingshan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.17337 26.22983)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Gwalior' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(123.96045 47.34088)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Qiqihar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(101.45 3.03333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Klang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-68.82717 -32.89084)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mendoza' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.48464 37.87135)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Konya' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(23.58979 -6.13603)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mbuji-Mayi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(80.63049 16.51928)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Vijayawāda' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-17.39071 14.76457)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pikine' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(7.68682 45.07049)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Turin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(76.63925 12.29791)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mysore' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.66682 27.99942)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Wenzhou' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(46.00861 51.54056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Saratov' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-87.20681 14.0818)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tegucigalpa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(126.78306 37.49889)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bucheon-si' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.1843 51.67204)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Voronezh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(85.33856 23.34777)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ranchi' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.23963 19.47851)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Naucalpan de Juárez' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.88324 47.90771)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ulaanbaatar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(104.78498 10.99081)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Takeo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(48.6842 31.31901)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ahvaz' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-71.535 -16.39889)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Arequipa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(100.35427 -0.94924)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Padang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.13378 15.34776)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hubli' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-7.99994 31.63416)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Marrakesh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(101.53333 3.15)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kampung Baru Subang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-86.15804 39.76838)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Indianapolis' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-81.65565 30.33218)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jacksonville' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-43.31167 -22.78556)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Duque de Caxias' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(8.89212 9.92849)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jos' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-0.37739 39.46975)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Valencia' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(4.54214 8.49664)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ilorin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-77.11814 -12.05659)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Callao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-68.15 -16.5)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'La Paz' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-75.69812 45.41117)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ottawa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-69.32278 10.07389)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Barquisimeto' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-106.08889 28.63528)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Chihuahua' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-122.41942 37.77493)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'San Francisco' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(108.31667 22.81667)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nanning' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-13.22994 8.484)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Freetown' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(103.7578 1.4655)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Johor Bahru' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.21633 31.76904)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jerusalem' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(105.25803 -5.42544)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bandarlampung' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(106.78917 -6.59444)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bogor' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(15.97753 45.81313)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zagreb - Centar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(39.66359 -4.05466)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Mombasa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(123.89071 10.31672)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Cebu City' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(58.5922 23.61387)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Muscat' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(35.19031 47.82289)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zaporizhzhya' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(5.38107 43.29695)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Marseille' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(36.08796 32.07275)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Zarqa' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(32.86268 39.9179)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Çankaya' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-97.74306 30.26715)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Austin' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-82.99879 39.96118)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Columbus' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(3.47717 36.76639)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Boumerdas' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.57917 31.32556)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Jalandhar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(76.94924 8.4855)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Thiruvananthapuram' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(135.46667 34.58333)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Sakai' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(114.10659 36.1386)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dengtalu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-65.2226 -26.82414)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'San Miguel de Tucumán' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.15867 11.65117)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Salem' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.69651 10.8155)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tiruchirappalli' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(36.72339 34.72682)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Homs' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(111.65222 40.81056)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hohhot' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(2.1098 13.51366)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Niamey' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.21333 22.99083)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Tainan' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(120.87111 30.01556)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Shangyu' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(19.46667 51.75)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Łódź' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(50.10326 26.43442)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Dammam' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(101.75739 36.62554)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Xining' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(47.0553 34.3838)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kahrīz' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(75.83907 25.18254)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kota' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-35.20944 -5.795)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Natal' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(85.83385 20.27241)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bhubaneshwar' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(119.58833 39.93167)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Qinhuangdao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.61888 26.88946)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hengyang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.69556 36.90812)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Antalya' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(19.93658 50.06143)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kraków' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(78.07475 27.88334)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Alīgarh' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(108.22083 16.06778)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Da Nang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.39278 -29.61679)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Pietermaritzburg' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(1.21227 6.13748)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Lomé' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-79.02998 -8.11599)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Trujillo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(112.6304 -7.9797)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Malang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-62.64102 8.35122)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ciudad Guayana' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(79.42193 28.34702)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Bareilly' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(30.05885 -1.94995)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Kigali' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-42.80194 -5.08917)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Teresina' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(113.80151 35.19033)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Nangandao' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-46.565 -23.69389)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'São Bernardo do Campo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(130.30012 47.35118)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Hegang' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(24.10589 56.946)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Riga' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(4.88969 52.37403)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Amsterdam' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-97.32085 32.72541)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Fort Worth' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(3.93125 7.85257)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Oyo' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(67.00971 30.199)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Quetta' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-80.84313 35.22709)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Charlotte' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-54.64639 -20.44278)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Campo Grande' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(58.38333 37.95)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Ashgabat' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(-99.20329 19.35867)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Álvaro Obregón' order by population desc limit 1" should true
|
||
sql "SELECT ST_Intersects(ST_GeomFromText('POINT(73.47082 34.37002)' , 4326), ST_Buffer(the_geom::geography, 1000)) FROM global_cities_points_limited where name = 'Muzaffarābād' order by population desc limit 1" should true
|
||
|
||
|
||
}
|
||
|
||
|
||
#################################################### TESTS END HERE ####################################################
|