Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: hotosm/fmtm-splitter
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 420e9893021dab5a0a6109f696434267aebc98b2
Choose a base ref
..
head repository: hotosm/fmtm-splitter
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: df5e62f91612f01e5f97e91ebb0948a94353ca19
Choose a head ref
Showing with 7 additions and 25,251 deletions.
  1. +3 −3 .pre-commit-config.yaml
  2. +1 −21 tests/testdata/kathmandu.geojson
  3. +1 −16,123 tests/testdata/kathmandu_extract.geojson
  4. +1 −9,035 tests/testdata/kathmandu_processed.geojson
  5. +1 −69 tests/testdata/kathmandu_split.geojson
6 changes: 3 additions & 3 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
@@ -8,21 +8,21 @@ repos:

# Autoformat: Python code
- repo: https://github.com/psf/black
rev: 23.12.0
rev: 23.12.1
hooks:
- id: black

# Lint / autoformat: Python code
- repo: https://github.com/astral-sh/ruff-pre-commit
# Ruff version.
rev: "v0.1.8"
rev: "v0.1.9"
hooks:
- id: ruff
args: [--exit-non-zero-on-fix]

# Autoformat: YAML, JSON, Markdown, etc.
- repo: https://github.com/pre-commit/mirrors-prettier
rev: v4.0.0-alpha.7
rev: v4.0.0-alpha.8
hooks:
- id: prettier
args:
22 changes: 1 addition & 21 deletions tests/testdata/kathmandu.geojson
Original file line number Diff line number Diff line change
@@ -1,21 +1 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.29998911024427, 27.714008043780694],
[85.29998911024427, 27.710892349952076],
[85.30478315714117, 27.710892349952076],
[85.30478315714117, 27.714008043780694],
[85.29998911024427, 27.714008043780694]
]
],
"type": "Polygon"
}
}
]
}
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.29998911024427,27.714008043780694],[85.29998911024427,27.710892349952076],[85.30478315714117,27.710892349952076],[85.30478315714117,27.714008043780694],[85.29998911024427,27.714008043780694]]],"type":"Polygon"}}]}
16,124 changes: 1 addition & 16,123 deletions tests/testdata/kathmandu_extract.geojson

Large diffs are not rendered by default.

9,036 changes: 1 addition & 9,035 deletions tests/testdata/kathmandu_processed.geojson

Large diffs are not rendered by default.

70 changes: 1 addition & 69 deletions tests/testdata/kathmandu_split.geojson
Original file line number Diff line number Diff line change
@@ -1,69 +1 @@
{
"type": "FeatureCollection",
"features": [
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.300186399724, 27.713725841936977],
[85.300186399724, 27.71283328940062],
[85.30138483597665, 27.71283328940062],
[85.30138483597665, 27.713725841936977],
[85.300186399724, 27.713725841936977]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.3010043800241, 27.71263962137614],
[85.3010043800241, 27.711065003372966],
[85.30201258830039, 27.711065003372966],
[85.30201258830039, 27.71263962137614],
[85.3010043800241, 27.71263962137614]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.30260229373602, 27.713725844769442],
[85.30260229373602, 27.711814426165176],
[85.30462822168806, 27.711814426165176],
[85.30462822168806, 27.713725844769442],
[85.30260229373602, 27.713725844769442]
]
],
"type": "Polygon"
}
},
{
"type": "Feature",
"properties": {},
"geometry": {
"coordinates": [
[
[85.3027830103128, 27.711688119791205],
[85.3027830103128, 27.711031324289777],
[85.30457115329506, 27.711031324289777],
[85.30457115329506, 27.711688119791205],
[85.3027830103128, 27.711688119791205]
]
],
"type": "Polygon"
}
}
]
}
{"type":"FeatureCollection","features":[{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.300186399724,27.713725841936977],[85.300186399724,27.71283328940062],[85.30138483597665,27.71283328940062],[85.30138483597665,27.713725841936977],[85.300186399724,27.713725841936977]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.3010043800241,27.71263962137614],[85.3010043800241,27.711065003372966],[85.30201258830039,27.711065003372966],[85.30201258830039,27.71263962137614],[85.3010043800241,27.71263962137614]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.30260229373602,27.713725844769442],[85.30260229373602,27.711814426165176],[85.30462822168806,27.711814426165176],[85.30462822168806,27.713725844769442],[85.30260229373602,27.713725844769442]]],"type":"Polygon"}},{"type":"Feature","properties":{},"geometry":{"coordinates":[[[85.3027830103128,27.711688119791205],[85.3027830103128,27.711031324289777],[85.30457115329506,27.711031324289777],[85.30457115329506,27.711688119791205],[85.3027830103128,27.711688119791205]]],"type":"Polygon"}}]}