Closed eightysteele closed 10 years ago
In a single call, the proxy grabs the list of WDPA sites, with their geoms, for a supplied lat and lon and returns the sites as JSON:
http://wip.gfw-apis.appspot.com/wdpa/sites?lon=51.98&lat=20.14
[ { "name":"Ar-Rub'al-Khali", "image":"http://mw2.google.com/mw-panoramio/photos/square/11588430.jpg", "slug":"Ar_Rubal_Khali_Wildlife_Management_Area", "desig_eng":"Wildlife Management Area", "geom":{ "site_id":"101922", "official":true, "the_geom":{ "type":"MultiPolygon", "coordinates":[ [ [ [ 45.395490000000102, 18.540950000000102 ], [ 45.410520000000098, 18.535110000000099 ], [ 45.426630000000003, 18.5439900000001 ], [ 45.503720000000001, 18.712700000000002 ], [ 45.5959900000001, 18.814200000000099 ], [ 45.6389, 18.851949999999999 ], [ 45.889450000000103, 19.0201600000001 ], [ 45.992310000000103, 19.115120000000001 ], [ 46.102320000000098, 19.265530000000101 ], [ 46.131980000000098, 19.330060000000099 ], [ 46.157950000000099, 19.412220000000001 ], [ 46.1689900000001, 19.536880000000099 ], [ 46.165869999999998, 19.604980000000101 ], [ 46.143689999999999, 19.72364 ], [ 46.079490000000099, 19.8636400000001 ], [ 46.01014, 19.932740000000098 ], [ 45.963259999999998, 19.951040000000098 ], [ 46.507600000000103, 20.414180000000002 ], [ 46.951230000000102, 20.599020000000099 ], [ 47.616670000000099, 21.061129999999999 ], [ 47.76455, 21.3384 ], [ 47.930909999999997, 21.541730000000101 ], [ 48.226660000000003, 21.874450000000099 ], [ 48.688769999999998, 22.207170000000101 ], [ 49.631480000000103, 22.965030000000102 ], [ 49.945710000000098, 23.2423000000001 ], [ 50.093590000000098, 23.445630000000101 ], [ 50.167530000000099, 23.630470000000098 ], [ 50.2784300000001, 24.055620000000101 ], [ 50.333890000000103, 24.388340000000099 ], [ 50.389340000000097, 24.6286400000001 ], [ 50.626870000000103, 25.017310000000101 ], [ 50.681989999999999, 24.9389 ], [ 50.681629999999998, 24.907430000000101 ], [ 50.6916200000001, 24.88721 ], [ 50.7127300000001, 24.886010000000098 ], [ 50.736069999999998, 24.866370000000099 ], [ 50.739600000000102, 24.830460000000102 ], [ 50.755400000000101, 24.811489999999999 ], [ 50.756019999999999, 24.771260000000002 ], [ 50.7787900000001, 24.714680000000001 ], [ 50.800600000000102, 24.739180000000101 ], [ 50.8335200000001, 24.743850000000101 ], [ 50.929460000000098, 24.548290000000101 ], [ 51.001040000000003, 24.501930000000101 ], [ 51.099769999999999, 24.473320000000101 ], [ 51.2601200000001, 24.60904 ], [ 51.274400000000099, 24.612900000000099 ], [ 51.281680000000101, 24.605599999999999 ], [ 51.291350000000101, 24.612349999999999 ], [ 51.290930000000102, 24.601260000000099 ], [ 51.300320000000099, 24.5997400000001 ], [ 51.306179999999998, 24.5869900000001 ], [ 51.314820000000097, 24.597989999999999 ], [ 51.322769999999998, 24.5881000000001 ], [ 51.307740000000102, 24.566260000000099 ], [ 51.3101500000001, 24.5253200000001 ], [ 51.302990000000101, 24.5137900000001 ], [ 51.310099999999998, 24.501430000000099 ], [ 51.3569600000001, 24.52993 ], [ 51.354790000000001, 24.547210000000099 ], [ 51.364510000000102, 24.560260000000099 ], [ 51.389990000000097, 24.5721500000001 ], [ 51.407989999999998, 24.59207 ], [ 51.407150000000101, 24.6191800000001 ], [ 51.4375700000001, 24.605210000000099 ], [ 51.439959999999999, 24.616620000000101 ], [ 51.450760000000102, 24.616990000000001 ], [ 51.4617900000001, 24.601260000000099 ], [ 51.462650000000103, 24.575510000000101 ], [ 51.488040000000098, 24.591540000000101 ], [ 51.498930000000101, 24.57282 ], [ 51.511570000000098, 24.568320000000099 ], [ 51.492900000000098, 24.558070000000001 ], [ 51.493460000000098, 24.5501 ], [ 51.463740000000101, 24.555290000000099 ], [ 51.452760000000097, 24.528960000000001 ], [ 51.430150000000097, 24.52826 ], [ 51.418790000000101, 24.48976 ], [ 51.386070000000103, 24.456510000000002 ], [ 51.370260000000101, 24.4560700000001 ], [ 51.334630000000097, 24.4251800000001 ], [ 51.314239999999998, 24.346990000000101 ], [ 51.29965, 24.345350000000099 ], [ 51.305900000000101, 24.284790000000001 ], [ 51.366600000000098, 24.280740000000002 ], [ 51.403820000000103, 24.315460000000101 ], [ 51.45243, 24.3167900000001 ], [ 51.462879999999998, 24.307070000000099 ], [ 51.496730000000099, 24.301680000000101 ], [ 51.547870000000003, 24.239990000000098 ], [ 51.5833200000001, 24.239900000000102 ], [ 51.5833200000001, 24.116790000000002 ], [ 52.583289999999998, 22.9389 ], [ 55.141740000000098, 22.634070000000101 ], [ 55.208680000000101, 22.7092600000001 ], [ 55.666710000000101, 22.000010000000099 ], [ 54.9999800000001, 19.9999900000001 ], [ 52.000020000000099, 18.9999900000001 ], [ 50.783320000000103, 18.788900000000101 ], [ 49.11665, 18.616680000000098 ], [ 48.183350000000097, 18.166679999999999 ], [ 47.599989999999998, 17.449990000000099 ], [ 47.466680000000103, 17.116680000000098 ], [ 47.183350000000097, 16.949990000000099 ], [ 46.9999800000001, 16.949990000000099 ], [ 46.750369999999997, 17.282800000000101 ], [ 46.747900000000101, 17.475140000000099 ], [ 46.600030000000103, 17.6045300000001 ], [ 46.39669, 17.6230200000001 ], [ 46.285790000000098, 17.6599900000001 ], [ 46.119430000000101, 17.6599900000001 ], [ 45.971550000000001, 17.752410000000101 ], [ 45.490960000000101, 18.473300000000101 ], [ 45.395490000000102, 18.540950000000102 ] ] ] ] } }, "local_name":"Ar-Rub'al-Khali", "id":"101922" } ]
Fixed in #23, closing issue.
In a single call, the proxy grabs the list of WDPA sites, with their geoms, for a supplied lat and lon and returns the sites as JSON:
http://wip.gfw-apis.appspot.com/wdpa/sites?lon=51.98&lat=20.14