DSContEd / IntroWebDevelopment

At the end of the course, students will be able to plan, design, and implement a web site using current standards and best practices.
1 stars 1 forks source link

var url --example? #10

Open TonyGoodDay2 opened 7 years ago

TonyGoodDay2 commented 7 years ago

var url --example?

cmitchell74 commented 7 years ago

using: console.log("url",url);

i get: url ExtendedConvertedGeoJSON/f5RoebaDLMx.json

jjsahn commented 7 years ago

url ExtendedConvertedGeoJSON/f5RoebaDLMx.json

TonyGoodDay2 commented 7 years ago

Provide an example of the json:

cmitchell74 commented 7 years ago

{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "FID": 1, "OBJECTID": 101, "FEATURE_TY": "District Town", "NAME": "Manyinga", "PROVINCE": "North-Western", "Site_Name": " ", "the_geom_L": 4.042802, "the_geom_A": 0.618621, "uid": "EQizXuGYoyC", "HTS_TST_POS": null, "OperatingUnit": "Zambia", "TX_CURR": null, "TX_NEW": null, "HTSTST": null, "PSNUPrioritization": "Centrally Supported", "IsDreams": "N", "MSTRPSNUName": "Manyinga District", "level": 5, "level4uid": "LuBA2MsPgGd", "level4name": "NorthWestern Province", "level5uid": "EQizXuGYoyC", "level5name": "Manyinga District", "orgunit_co": " ", "ShapeArea": 0.626907, "ShapeLength": 3.97506 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 24.136168945000101, -12.496911248999901 ], [ 24.133208325000101, -12.509084247 ], [ 24.131974813000099, -12.519477752999901 ], [ 24.134207641000099, -12.528433318999801 ], [ 24.136521533000099, -12.538731047999899 ], [ 24.140566211000099, -12.5495021419999 ], [ 24.142109668000199, -12.558296673 ], [ 24.145109253000101, -12.568069745 ], [ 24.148153149000098, -12.5778449279999 ], [ 24.162406762, -12.579032390999901 ],

jjsahn commented 7 years ago

{ "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature", "properties": { "FID": 1, "OBJECTID": 101, "FEATURE_TY": "District Town", "NAME": "Manyinga", "PROVINCE": "North-Western", "Site_Name": " ", "the_geom_L": 4.042802, "the_geom_A": 0.618621, "uid": "EQizXuGYoyC", "HTS_TST_POS": null, "OperatingUnit": "Zambia", "TX_CURR": null, "TX_NEW": null, "HTSTST": null, "PSNUPrioritization": "Centrally Supported", "IsDreams": "N", "MSTRPSNUName": "Manyinga District", "level": 5, "level4uid": "LuBA2MsPgGd", "level4name": "NorthWestern Province", "level5uid": "EQizXuGYoyC", "level5name": "Manyinga District", "orgunit_co": " ", "ShapeArea": 0.626907, "ShapeLength": 3.97506 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ 24.136168945000101, -12.496911248999901 ], [ 24.133208325000101, -12.509084247 ], [ 24.131974813000099, -12.519477752999901 ], [ 24.134207641000099, -12.528433318999801 ], [ 24.136521533000099, -12.538731047999899 ], [ 24.140566211000099, -12.5495021419999 ], [ 24.142109668000199, -12.558296673 ], [ 24.145109253000101, -12.568069745 ], [ 24.148153149000098, -12.5778449279999 ], [ 24.162406762, -12.579032390999901 ], [ 24.172885010000101, -12.5771363459999 ], [ 24.187070605000098, -12.578155144999901 ], [ 24.197761181, -12.571377434999899 ], [ 24.209399780000101, -12.5637529969999 ], [ 24.221093896000099, -12.5556039 ], [ 24.229081958000101, -12.55083327 ], [ 24.236110962000101, -12.544882806 ], [ 24.246464209000099, -12.539154413 ],