Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[SEDONA-527] Add pre-commit hook check-json; Lint JSON files #1311

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ repos:
- id: check-docstring-first
- id: check-executables-have-shebangs
- id: check-illegal-windows-names
# - id: check-json
- id: check-json
- id: check-merge-conflict
- id: check-shebang-scripts-are-executable
- id: check-toml
Expand Down
4 changes: 2 additions & 2 deletions docs/usecases/data/testPolygon.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "077", "TRACTCE": "011501", "BLKGRPCE": "5", "AFFGEOID": "1500000US010770115015", "GEOID": "010770115015", "NAME": "5", "LSAD": "BG", "ALAND": 6844991, "AWATER": 32636 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -87.621765, 34.873444 ], [ -87.617535, 34.873369 ], [ -87.6123, 34.873337 ], [ -87.604049, 34.873303 ], [ -87.604033, 34.872316 ], [ -87.60415, 34.867502 ], [ -87.604218, 34.865687 ], [ -87.604409, 34.858537 ], [ -87.604018, 34.851336 ], [ -87.603716, 34.844829 ], [ -87.603696, 34.844307 ], [ -87.603673, 34.841884 ], [ -87.60372, 34.841003 ], [ -87.603879, 34.838423 ], [ -87.603888, 34.837682 ], [ -87.603889, 34.83763 ], [ -87.613127, 34.833938 ], [ -87.616451, 34.832699 ], [ -87.621041, 34.831431 ], [ -87.621056, 34.831526 ], [ -87.62112, 34.831925 ], [ -87.621603, 34.8352 ], [ -87.62158, 34.836087 ], [ -87.621383, 34.84329 ], [ -87.621359, 34.844438 ], [ -87.62129, 34.846387 ], [ -87.62119, 34.85053 ], [ -87.62144, 34.865379 ], [ -87.621765, 34.873444 ] ] ] } },
[{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "077", "TRACTCE": "011501", "BLKGRPCE": "5", "AFFGEOID": "1500000US010770115015", "GEOID": "010770115015", "NAME": "5", "LSAD": "BG", "ALAND": 6844991, "AWATER": 32636 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -87.621765, 34.873444 ], [ -87.617535, 34.873369 ], [ -87.6123, 34.873337 ], [ -87.604049, 34.873303 ], [ -87.604033, 34.872316 ], [ -87.60415, 34.867502 ], [ -87.604218, 34.865687 ], [ -87.604409, 34.858537 ], [ -87.604018, 34.851336 ], [ -87.603716, 34.844829 ], [ -87.603696, 34.844307 ], [ -87.603673, 34.841884 ], [ -87.60372, 34.841003 ], [ -87.603879, 34.838423 ], [ -87.603888, 34.837682 ], [ -87.603889, 34.83763 ], [ -87.613127, 34.833938 ], [ -87.616451, 34.832699 ], [ -87.621041, 34.831431 ], [ -87.621056, 34.831526 ], [ -87.62112, 34.831925 ], [ -87.621603, 34.8352 ], [ -87.62158, 34.836087 ], [ -87.621383, 34.84329 ], [ -87.621359, 34.844438 ], [ -87.62129, 34.846387 ], [ -87.62119, 34.85053 ], [ -87.62144, 34.865379 ], [ -87.621765, 34.873444 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "045", "TRACTCE": "021102", "BLKGRPCE": "4", "AFFGEOID": "1500000US010450211024", "GEOID": "010450211024", "NAME": "4", "LSAD": "BG", "ALAND": 11360854, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -85.719017, 31.297901 ], [ -85.715626, 31.305203 ], [ -85.714271, 31.307096 ], [ -85.69999, 31.307552 ], [ -85.697419, 31.307951 ], [ -85.675603, 31.31218 ], [ -85.672733, 31.312876 ], [ -85.672275, 31.311977 ], [ -85.67145, 31.310988 ], [ -85.670622, 31.309524 ], [ -85.670729, 31.307622 ], [ -85.669876, 31.30666 ], [ -85.669796, 31.306224 ], [ -85.670356, 31.306178 ], [ -85.671664, 31.305583 ], [ -85.67177, 31.305299 ], [ -85.671878, 31.302764 ], [ -85.671344, 31.302123 ], [ -85.668276, 31.302076 ], [ -85.66566, 31.30093 ], [ -85.665687, 31.30022 ], [ -85.669183, 31.297677 ], [ -85.668703, 31.295638 ], [ -85.671985, 31.29314 ], [ -85.677177, 31.288211 ], [ -85.678452, 31.286376 ], [ -85.679236, 31.28285 ], [ -85.679195, 31.281426 ], [ -85.676865, 31.281049 ], [ -85.674661, 31.28008 ], [ -85.674377, 31.27935 ], [ -85.675714, 31.276882 ], [ -85.677938, 31.275168 ], [ -85.680348, 31.276814 ], [ -85.684032, 31.278848 ], [ -85.684387, 31.279082 ], [ -85.692398, 31.283499 ], [ -85.705032, 31.289718 ], [ -85.706755, 31.290476 ], [ -85.718102, 31.295204 ], [ -85.719132, 31.29689 ], [ -85.719017, 31.297901 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "055", "TRACTCE": "001300", "BLKGRPCE": "3", "AFFGEOID": "1500000US010550013003", "GEOID": "010550013003", "NAME": "3", "LSAD": "BG", "ALAND": 1378742, "AWATER": 247387 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.000685, 34.00537 ], [ -85.998837, 34.009768 ], [ -85.998012, 34.010398 ], [ -85.987865, 34.005426 ], [ -85.986656, 34.004552 ], [ -85.985, 34.002659 ], [ -85.98851, 34.001502 ], [ -85.987567, 33.999488 ], [ -85.988666, 33.99913 ], [ -85.992568, 33.999131 ], [ -85.993144, 33.999714 ], [ -85.994876, 33.995153 ], [ -85.998823, 33.989548 ], [ -85.999925, 33.994237 ], [ -86.000616, 34.000028 ], [ -86.000685, 34.00537 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "089", "TRACTCE": "001700", "BLKGRPCE": "2", "AFFGEOID": "1500000US010890017002", "GEOID": "010890017002", "NAME": "2", "LSAD": "BG", "ALAND": 1040641, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.574172, 34.727375 ], [ -86.562684, 34.727131 ], [ -86.562797, 34.723865 ], [ -86.562957, 34.723168 ], [ -86.562336, 34.719766 ], [ -86.557381, 34.719143 ], [ -86.557352, 34.718322 ], [ -86.559921, 34.717363 ], [ -86.564827, 34.718513 ], [ -86.567582, 34.718565 ], [ -86.570572, 34.718577 ], [ -86.573618, 34.719377 ], [ -86.574172, 34.727375 ] ] ] } },
Expand Down Expand Up @@ -997,4 +997,4 @@
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "101", "TRACTCE": "005606", "BLKGRPCE": "1", "AFFGEOID": "1500000US011010056061", "GEOID": "011010056061", "NAME": "1", "LSAD": "BG", "ALAND": 801162, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.225964, 32.329689 ], [ -86.225601, 32.334152 ], [ -86.22491, 32.33576 ], [ -86.223165, 32.335361 ], [ -86.219498, 32.338337 ], [ -86.219263, 32.340393 ], [ -86.216669, 32.335147 ], [ -86.216911, 32.334722 ], [ -86.222072, 32.327736 ], [ -86.222438, 32.323534 ], [ -86.225534, 32.323585 ], [ -86.226322, 32.326515 ], [ -86.224605, 32.327441 ], [ -86.22643, 32.329379 ], [ -86.225964, 32.329689 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "123", "TRACTCE": "962100", "BLKGRPCE": "1", "AFFGEOID": "1500000US011239621001", "GEOID": "011239621001", "NAME": "1", "LSAD": "BG", "ALAND": 11918090, "AWATER": 8890 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.008317, 32.97571 ], [ -86.005443, 32.975625 ], [ -86.001856, 32.976885 ], [ -85.999682, 32.977137 ], [ -85.997955, 32.978636 ], [ -85.995321, 32.979754 ], [ -85.991741, 32.979332 ], [ -85.99053, 32.978448 ], [ -85.987949, 32.979165 ], [ -85.987038, 32.980761 ], [ -85.985416, 32.981506 ], [ -85.982884, 32.980677 ], [ -85.978147, 32.980547 ], [ -85.974774, 32.981765 ], [ -85.972255, 32.981237 ], [ -85.969194, 32.981758 ], [ -85.966112, 32.979385 ], [ -85.964527, 32.979571 ], [ -85.963239, 32.978251 ], [ -85.962096, 32.975507 ], [ -85.961262, 32.975337 ], [ -85.963599, 32.973 ], [ -85.963266, 32.966611 ], [ -85.963089, 32.96499 ], [ -85.962538, 32.961101 ], [ -85.961773, 32.959668 ], [ -85.95995, 32.958304 ], [ -85.960927, 32.957624 ], [ -85.963989, 32.957535 ], [ -85.966126, 32.955564 ], [ -85.966809, 32.953744 ], [ -85.971747, 32.955823 ], [ -85.975199, 32.956063 ], [ -85.977141, 32.950439 ], [ -85.982594, 32.946612 ], [ -85.987134, 32.946644 ], [ -85.995555, 32.954372 ], [ -86.008224, 32.966019 ], [ -86.008263, 32.966054 ], [ -86.008317, 32.97571 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "069", "TRACTCE": "041500", "BLKGRPCE": "2", "AFFGEOID": "1500000US010690415002", "GEOID": "010690415002", "NAME": "2", "LSAD": "BG", "ALAND": 5866149, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -85.39169, 31.245602 ], [ -85.388991, 31.254076 ], [ -85.387238, 31.257291 ], [ -85.379261, 31.267746 ], [ -85.376872, 31.270864 ], [ -85.374415, 31.274086 ], [ -85.374142, 31.274113 ], [ -85.369206, 31.276179 ], [ -85.365396, 31.276377 ], [ -85.364533, 31.276374 ], [ -85.362924, 31.274573 ], [ -85.360928, 31.272173 ], [ -85.358033, 31.270674 ], [ -85.362115, 31.270675 ], [ -85.356142, 31.270397 ], [ -85.353533, 31.269674 ], [ -85.352197, 31.26767 ], [ -85.361994, 31.261014 ], [ -85.363077, 31.260593 ], [ -85.367576, 31.259721 ], [ -85.369956, 31.258915 ], [ -85.375599, 31.256275 ], [ -85.377328, 31.254791 ], [ -85.378227, 31.251226 ], [ -85.377533, 31.2487 ], [ -85.378261, 31.247353 ], [ -85.378209, 31.241966 ], [ -85.382698, 31.242204 ], [ -85.391601, 31.242555 ], [ -85.39169, 31.245602 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "073", "TRACTCE": "014404", "BLKGRPCE": "3", "AFFGEOID": "1500000US010730144043", "GEOID": "010730144043", "NAME": "3", "LSAD": "BG", "ALAND": 977209, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.822453, 33.43276 ], [ -86.818613, 33.437402 ], [ -86.813823, 33.440302 ], [ -86.812912, 33.440291 ], [ -86.810371, 33.440267 ], [ -86.809839, 33.440272 ], [ -86.808018, 33.440291 ], [ -86.808349, 33.438169 ], [ -86.810019, 33.436051 ], [ -86.81064, 33.435288 ], [ -86.81151, 33.43395 ], [ -86.811846, 33.432813 ], [ -86.811673, 33.431542 ], [ -86.813019, 33.432259 ], [ -86.815062, 33.432654 ], [ -86.817, 33.430923 ], [ -86.816988, 33.429963 ], [ -86.817113, 33.429844 ], [ -86.81787, 33.429842 ], [ -86.819472, 33.42801 ], [ -86.819636, 33.427433 ], [ -86.820477, 33.42805 ], [ -86.822167, 33.42982 ], [ -86.823349, 33.431704 ], [ -86.822453, 33.43276 ] ] ] } },
{ "type": "Feature", "properties": { "STATEFP": "01", "COUNTYFP": "073", "TRACTCE": "014404", "BLKGRPCE": "3", "AFFGEOID": "1500000US010730144043", "GEOID": "010730144043", "NAME": "3", "LSAD": "BG", "ALAND": 977209, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.822453, 33.43276 ], [ -86.818613, 33.437402 ], [ -86.813823, 33.440302 ], [ -86.812912, 33.440291 ], [ -86.810371, 33.440267 ], [ -86.809839, 33.440272 ], [ -86.808018, 33.440291 ], [ -86.808349, 33.438169 ], [ -86.810019, 33.436051 ], [ -86.81064, 33.435288 ], [ -86.81151, 33.43395 ], [ -86.811846, 33.432813 ], [ -86.811673, 33.431542 ], [ -86.813019, 33.432259 ], [ -86.815062, 33.432654 ], [ -86.817, 33.430923 ], [ -86.816988, 33.429963 ], [ -86.817113, 33.429844 ], [ -86.81787, 33.429842 ], [ -86.819472, 33.42801 ], [ -86.819636, 33.427433 ], [ -86.820477, 33.42805 ], [ -86.822167, 33.42982 ], [ -86.823349, 33.431704 ], [ -86.822453, 33.43276 ] ] ] } }]
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{ "type": "Feature", "properties": { "KIND": "NOT_CLOSED_POLYGON", "COUNTYFP": "077", "TRACTCE": "011501", "BLKGRPCE": "5", "AFFGEOID": "1500000US010770115015", "GEOID": "010770115015", "NAME": "5", "LSAD": "BG", "ALAND": 6844991, "AWATER": 32636 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -87.621765, 34.873444 ], [ -87.617535, 34.873369 ], [ -87.6123, 34.873337 ], [ -87.604049, 34.873303 ], [ -87.604033, 34.872316 ], [ -87.60415, 34.867502 ], [ -87.604218, 34.865687 ], [ -87.604409, 34.858537 ], [ -87.604018, 34.851336 ], [ -87.603716, 34.844829 ], [ -87.603696, 34.844307 ], [ -87.603673, 34.841884 ], [ -87.60372, 34.841003 ], [ -87.603879, 34.838423 ], [ -87.603888, 34.837682 ], [ -87.603889, 34.83763 ], [ -87.613127, 34.833938 ], [ -87.616451, 34.832699 ], [ -87.621041, 34.831431 ], [ -87.621056, 34.831526 ], [ -87.62112, 34.831925 ], [ -87.621603, 34.8352 ], [ -87.62158, 34.836087 ], [ -87.621383, 34.84329 ], [ -87.621359, 34.844438 ], [ -87.62129, 34.846387 ], [ -87.62119, 34.85053 ], [ -87.62144, 34.865379 ] ] ] } },
[{ "type": "Feature", "properties": { "KIND": "NOT_CLOSED_POLYGON", "COUNTYFP": "077", "TRACTCE": "011501", "BLKGRPCE": "5", "AFFGEOID": "1500000US010770115015", "GEOID": "010770115015", "NAME": "5", "LSAD": "BG", "ALAND": 6844991, "AWATER": 32636 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -87.621765, 34.873444 ], [ -87.617535, 34.873369 ], [ -87.6123, 34.873337 ], [ -87.604049, 34.873303 ], [ -87.604033, 34.872316 ], [ -87.60415, 34.867502 ], [ -87.604218, 34.865687 ], [ -87.604409, 34.858537 ], [ -87.604018, 34.851336 ], [ -87.603716, 34.844829 ], [ -87.603696, 34.844307 ], [ -87.603673, 34.841884 ], [ -87.60372, 34.841003 ], [ -87.603879, 34.838423 ], [ -87.603888, 34.837682 ], [ -87.603889, 34.83763 ], [ -87.613127, 34.833938 ], [ -87.616451, 34.832699 ], [ -87.621041, 34.831431 ], [ -87.621056, 34.831526 ], [ -87.62112, 34.831925 ], [ -87.621603, 34.8352 ], [ -87.62158, 34.836087 ], [ -87.621383, 34.84329 ], [ -87.621359, 34.844438 ], [ -87.62129, 34.846387 ], [ -87.62119, 34.85053 ], [ -87.62144, 34.865379 ] ] ] } },
{ "type": "Feature", "properties": { "KIND": "INVALID_NUM_OF_POINTS", "COUNTYFP": "077", "TRACTCE": "011501", "BLKGRPCE": "5", "AFFGEOID": "1500000US010770115015", "GEOID": "010770115015", "NAME": "5", "LSAD": "BG", "ALAND": 6844991, "AWATER": 32636 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -87.621765, 34.873444 ], [ -87.617535, 34.873369 ], [ -87.6123, 34.873337 ] ] ] } },
{ "type": "Feature", "properties": { "KIND": "VALID", "COUNTYFP": "015", "TRACTCE": "000200", "BLKGRPCE": "1", "AFFGEOID": "1500000US010150002001", "GEOID": "010150002001", "NAME": "1", "LSAD": "BG", "ALAND": 4085127, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -85.827241, 33.677926 ], [ -85.823594, 33.683452 ], [ -85.822762, 33.686559 ], [ -85.827241, 33.677926 ] ] ] } },
{ "type": "Feature", "properties": { "KIND": "VALID", "COUNTYFP": "015", "TRACTCE": "000200", "BLKGRPCE": "1", "AFFGEOID": "1500000US010150002001", "GEOID": "010150002001", "NAME": "1", "LSAD": "BG", "ALAND": 4085127, "AWATER": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -85.827241, 33.677926 ], [ -85.823594, 33.683452 ], [ -85.822762, 33.686559 ], [ -85.827241, 33.677926 ] ] ] } }]
4 changes: 2 additions & 2 deletions spark/common/src/test/resources/points.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{"type":"Feature","geometry":{"type":"Point","coordinates":[-88.1234,32.8888]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
[{"type":"Feature","geometry":{"type":"Point","coordinates":[-88.1234,32.8888]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.1111,32.1428]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.1428,34.4321]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-85.3333,34.7654]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.9876,34.9876]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-87.1234,32.1111]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.4567,31.3699]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}},
{"type":"Feature","geometry":{"type":"Point","coordinates":[-86.4567,31.3699]},"properties":{"FIELD1":"testattribute0","FIELD4":"testattribute1","FIELD5":"testattribute2"}}]
2 changes: 1 addition & 1 deletion spark/common/src/test/resources/testContainsId.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"type":"Feature","id":0,"properties":{"zipcode":"00101","name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0.0,0.0],[10.0,0.0],[10.0,10.0],[0.0,10.0],[0.0,0.0]]]}}
{"type":"Feature","id":0,"properties":{"zipcode":"00101","name":"A"},"geometry":{"type":"Polygon","coordinates":[[[0.0,0.0],[10.0,0.0],[10.0,10.0],[0.0,10.0],[0.0,0.0]]]}}
4 changes: 2 additions & 2 deletions spark/common/src/test/resources/testInvalidPolygon.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{ "type": "Feature", "properties": { "NAME": "VALID"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.714258, 34.761062 ], [ -86.714246, 34.762884 ], [ -86.714234, 34.764585 ], [ -86.714232, 34.764759 ], [ -86.714199, 34.767731 ], [ -86.714194, 34.768283 ], [ -86.714174, 34.771994 ], [ -86.71113, 34.771875 ], [ -86.70658, 34.769963 ], [ -86.702428, 34.767014 ], [ -86.697707, 34.764552 ], [ -86.69599, 34.763483 ], [ -86.695612, 34.762937 ], [ -86.695345, 34.762552 ], [ -86.693403, 34.760394 ], [ -86.687787, 34.757677 ], [ -86.67891, 34.755205 ], [ -86.678967, 34.751678 ], [ -86.678896, 34.751258 ], [ -86.678695, 34.750809 ], [ -86.678377, 34.750419 ], [ -86.677835, 34.750035 ], [ -86.677282, 34.749826 ], [ -86.676618, 34.749727 ], [ -86.674097, 34.749562 ], [ -86.674057, 34.749546 ], [ -86.673561, 34.749289 ], [ -86.672163, 34.748088 ], [ -86.670456, 34.747999 ], [ -86.670323, 34.746546 ], [ -86.664631, 34.743479 ], [ -86.664184, 34.74315 ], [ -86.66216, 34.739855 ], [ -86.669877, 34.741919 ], [ -86.670172, 34.741991 ], [ -86.677875, 34.744137 ], [ -86.693176, 34.748677 ], [ -86.693542, 34.748795 ], [ -86.69438, 34.749056 ], [ -86.697688, 34.750091 ], [ -86.699192, 34.750543 ], [ -86.700285, 34.750799 ], [ -86.701572, 34.751142 ], [ -86.705442, 34.752359 ], [ -86.706535, 34.752757 ], [ -86.707523, 34.753151 ], [ -86.709566, 34.753823 ], [ -86.710174, 34.754015 ], [ -86.714329, 34.755324 ], [ -86.714258, 34.761062 ] ] ] } },
[{ "type": "Feature", "properties": { "NAME": "VALID"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.714258, 34.761062 ], [ -86.714246, 34.762884 ], [ -86.714234, 34.764585 ], [ -86.714232, 34.764759 ], [ -86.714199, 34.767731 ], [ -86.714194, 34.768283 ], [ -86.714174, 34.771994 ], [ -86.71113, 34.771875 ], [ -86.70658, 34.769963 ], [ -86.702428, 34.767014 ], [ -86.697707, 34.764552 ], [ -86.69599, 34.763483 ], [ -86.695612, 34.762937 ], [ -86.695345, 34.762552 ], [ -86.693403, 34.760394 ], [ -86.687787, 34.757677 ], [ -86.67891, 34.755205 ], [ -86.678967, 34.751678 ], [ -86.678896, 34.751258 ], [ -86.678695, 34.750809 ], [ -86.678377, 34.750419 ], [ -86.677835, 34.750035 ], [ -86.677282, 34.749826 ], [ -86.676618, 34.749727 ], [ -86.674097, 34.749562 ], [ -86.674057, 34.749546 ], [ -86.673561, 34.749289 ], [ -86.672163, 34.748088 ], [ -86.670456, 34.747999 ], [ -86.670323, 34.746546 ], [ -86.664631, 34.743479 ], [ -86.664184, 34.74315 ], [ -86.66216, 34.739855 ], [ -86.669877, 34.741919 ], [ -86.670172, 34.741991 ], [ -86.677875, 34.744137 ], [ -86.693176, 34.748677 ], [ -86.693542, 34.748795 ], [ -86.69438, 34.749056 ], [ -86.697688, 34.750091 ], [ -86.699192, 34.750543 ], [ -86.700285, 34.750799 ], [ -86.701572, 34.751142 ], [ -86.705442, 34.752359 ], [ -86.706535, 34.752757 ], [ -86.707523, 34.753151 ], [ -86.709566, 34.753823 ], [ -86.710174, 34.754015 ], [ -86.714329, 34.755324 ], [ -86.714258, 34.761062 ] ] ] } },
{ "type": "Feature", "properties": { "NAME": "Unclosed triangle"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ 0 ,0], [10, 0], [10, 10], [0, 10], [0, 0]], [[15, 15], [15, 20], [20, 20], [20, 15], [15, 15] ] ]} },
{ "type": "Feature", "properties": { "NAME": "Closed triangle"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.714258, 34.761062 ], [ -86.714246, 34.762884 ], [ -86.714234, 34.764585 ], [ -86.714258, 34.761062 ] ] ]} },
{ "type": "Feature", "properties": { "NAME": "Closed triangle"}, "geometry": { "type": "Polygon", "coordinates": [ [ [ -86.714258, 34.761062 ], [ -86.714246, 34.762884 ], [ -86.714234, 34.764585 ], [ -86.714258, 34.761062 ] ] ]} }]
Loading
Loading