mirror of
https://github.com/Turfjs/turf.git
synced 2025-12-08 20:26:16 +00:00
* Upgrade hustky, lint-staged, and prettier. Modify lint-staged and prettier configs Add specific json/geojson formatting rules for prettier * Apply prettier
178 lines
4.3 KiB
JSON
178 lines
4.3 KiB
JSON
{
|
|
"type": "FeatureCollection",
|
|
"features": [
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#F00",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-49.43847656249999, -8.798225459016345],
|
|
[-39.7705078125, -8.798225459016345]
|
|
]
|
|
},
|
|
"bbox": [
|
|
-49.43847656249999, -8.798225459016345, -39.7705078125, -8.798225459016345
|
|
],
|
|
"id": 0
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#00F",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-39.7705078125, -8.798225459016345],
|
|
[-39.7705078125, 0.4833927027896987]
|
|
]
|
|
},
|
|
"bbox": [-39.7705078125, -8.798225459016345, -39.7705078125, 0.4833927027896987],
|
|
"id": 1
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#F00",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-39.7705078125, 0.4833927027896987],
|
|
[-49.43847656249999, 0.4833927027896987]
|
|
]
|
|
},
|
|
"bbox": [
|
|
-49.43847656249999, 0.4833927027896987, -39.7705078125, 0.4833927027896987
|
|
],
|
|
"id": 2
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#00F",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-49.43847656249999, 0.4833927027896987],
|
|
[-49.43847656249999, -8.798225459016345]
|
|
]
|
|
},
|
|
"bbox": [
|
|
-49.43847656249999, -8.798225459016345, -49.43847656249999, 0.4833927027896987
|
|
],
|
|
"id": 3
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#F00",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-45, -13.795406203132826],
|
|
[-35.2001953125, -13.795406203132826]
|
|
]
|
|
},
|
|
"bbox": [-45, -13.795406203132826, -35.2001953125, -13.795406203132826],
|
|
"id": 4
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#00F",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-35.2001953125, -13.795406203132826],
|
|
[-35.2001953125, -4.083452772038619]
|
|
]
|
|
},
|
|
"bbox": [-35.2001953125, -13.795406203132826, -35.2001953125, -4.083452772038619],
|
|
"id": 5
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#F00",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-35.2001953125, -4.083452772038619],
|
|
[-45, -4.083452772038619]
|
|
]
|
|
},
|
|
"bbox": [-45, -4.083452772038619, -35.2001953125, -4.083452772038619],
|
|
"id": 6
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#00F",
|
|
"stroke-width": 10,
|
|
"foo": "bar"
|
|
},
|
|
"geometry": {
|
|
"type": "LineString",
|
|
"coordinates": [
|
|
[-45, -4.083452772038619],
|
|
[-45, -13.795406203132826]
|
|
]
|
|
},
|
|
"bbox": [-45, -13.795406203132826, -45, -4.083452772038619],
|
|
"id": 7
|
|
},
|
|
{
|
|
"type": "Feature",
|
|
"properties": {
|
|
"stroke": "#000",
|
|
"stroke-width": 3
|
|
},
|
|
"geometry": {
|
|
"type": "MultiPolygon",
|
|
"coordinates": [
|
|
[
|
|
[
|
|
[-49.43847656249999, -8.798225459016345],
|
|
[-39.7705078125, -8.798225459016345],
|
|
[-39.7705078125, 0.4833927027896987],
|
|
[-49.43847656249999, 0.4833927027896987],
|
|
[-49.43847656249999, -8.798225459016345]
|
|
]
|
|
],
|
|
[
|
|
[
|
|
[-45, -13.795406203132826],
|
|
[-35.2001953125, -13.795406203132826],
|
|
[-35.2001953125, -4.083452772038619],
|
|
[-45, -4.083452772038619],
|
|
[-45, -13.795406203132826]
|
|
]
|
|
]
|
|
]
|
|
}
|
|
}
|
|
]
|
|
}
|