Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
schema-sh-geojson-test
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Jan Dolling
schema-sh-geojson-test
Commits
f1bd5074
Commit
f1bd5074
authored
1 year ago
by
Jan Dolling
Browse files
Options
Downloads
Patches
Plain Diff
create simple schema and 2 csv Test Files
parent
257a79db
Branches
main
Tags
0.1.1
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
4_invalid_examples.csv
+5
-0
5 additions, 0 deletions
4_invalid_examples.csv
4_valid_examples.csv
+5
-6
5 additions, 6 deletions
4_valid_examples.csv
schema.json
+30
-153
30 additions, 153 deletions
schema.json
with
40 additions
and
159 deletions
4_invalid_examples.csv
0 → 100644
+
5
−
0
View file @
f1bd5074
ID;example_point
1;{"type": "Point","coordinates": [30.0, 10.0]
2;{"type": "Point","coordinates": [30.0, abc]}
3;{"type": "ausdenkli","coordinates": [30, 20.0]}
4;{"type": "Point","coordinates": [30.0, ]}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
4_valid_examples.csv
+
5
−
6
View file @
f1bd5074
Kreis Gemeinde Anlage Leistung Nabenhöhe Rotordurchmesser AN_RW AN_HW Status
ID;example_point
Ostholstein Schönwalde am Bungsberg 0001 - 1 WKA Siemens SWT.3.0-113 - 3,0 MW 3000 kW Nennleist. Rotor. 92,5 113 32616585 6005019 vor Inbetriebnahme
1;{"type": "Point","coordinates": [30.0, 10.0]}
Kiel Kiel 0001 - WKA 1 Nordex N131 3000 kW Nennleist. Rotor. 134 131 32571605 6013660 im Gen.Verf.
2;{"type": "Point","coordinates": [30.0, 15.0]}
Dithmarschen Albersdorf 0006 - WKA 6 Vestas V 112 3.3 MW G10/2014/016 3300 kW Nennleist. Rotor. 94 112 32516771 5998370 in Betrieb
3;{"type": "Point","coordinates": [30.0, 20.0]}
Dithmarschen Friedrichskoog 0006 - WKA 6 G10/2017/024 Enercon E92 TES 2350 kW Nennleist. Rotor. 103,9 92 32495906 5985254 im Gen.Verf.
4;{"type": "Point","coordinates": [30.0, 25.0]}
Dithmarschen Wöhrden 0002 - WKA Nordex N131/3600 3600 kW Nennleist. Rotor. 32496854 6001866 im Gen.Verf.
\ No newline at end of file
\ No newline at end of file
This diff is collapsed.
Click to expand it.
schema.json
+
30
−
153
View file @
f1bd5074
{
{
"$schema"
:
"https://specs.frictionlessdata.io/schemas/table-schema.json"
,
"name"
:
"odsh_infrastruktur_geojson_test"
,
"name"
:
"nitratmessdienst_schleswig-holstein"
,
"title"
:
"ODSH Infrastruktur GeoJSON Test"
,
"title"
:
"Nitratmessdienst Schleswig-Holstein"
,
"description"
:
"Schema Test with GeoJSON objects"
,
"description"
:
"Daten des Nitratmessdienstes Schleswig-Holsteins basierend auf Beprobungen von Praxisflächen sowie Versuchsflächen der Landwirtschaftskammer Schleswig-Holsteins"
,
"fields"
:
[
"countryCode"
:
"DE"
,
{
"path"
:
"https://opendata.schleswig-holstein.de/schema/nmd-sh.json"
,
"name"
:
"ID"
,
"created"
:
"2023-12-28"
,
"type"
:
"integer"
"lastModified"
:
"2024-02-26"
,
},
"version"
:
"0.2.0"
,
{
"contributors"
:
[
"name"
:
"example_point"
,
{
"type"
:
"geojson"
"title"
:
"Dr. Jesper Zedlitz"
,
}
"email"
:
"jesper.zedlitz@stk.landsh.de"
,
],
"organisation"
:
"Staatskanzlei Schleswig-Holstein"
,
"primaryKey"
:
[
"role"
:
"author"
"ID"
}
],
],
"$schema"
:
"https://specs.frictionlessdata.io/schemas/table-schema.json"
,
"fields"
:
[
"countryCode"
:
"DE"
,
{
"path"
:
"https://code.schleswig-holstein.de/api/v4/projects/108/repository/files/schema.json/raw/?ref=0.1.0"
,
"name"
:
"Region_ID"
,
"created"
:
"2024-03-04"
,
"type"
:
"integer"
"lastModified"
:
"2024-03-04"
,
},
"version"
:
"0.1.0"
,
{
"contributors"
:
[
"name"
:
"Messung_ID"
,
{
"type"
:
"integer"
"title"
:
"Jan Dolling"
,
},
"email"
:
"jan-karsten.dolling@dataport.de"
,
{
"organisation"
:
"Dataport AöR"
,
"name"
:
"NMD_ID"
,
"role"
:
"author"
"type"
:
"integer"
,
}
"constraints"
:
{
]
"minimum"
:
1
,
"maximum"
:
2
}
},
{
"name"
:
"Region"
,
"type"
:
"string"
,
"constraints"
:
{
"enum"
:
[
"Marsch"
,
"Östliches Hügelland"
,
"Geest"
,
"Östliches Hügelland südlicher Teil"
,
"Östliches Hügelland nördlicher Teil"
,
"Östliches Hügelland mittlerer Teil"
]
}
},
{
"name"
:
"Datum"
,
"type"
:
"date"
,
"format"
:
"%d.%m.%Y"
},
{
"name"
:
"Kulturart"
,
"type"
:
"string"
,
"constraints"
:
{
"enum"
:
[
"Spelzweizen"
,
"Winterfutterbsen"
,
"Kleegras"
,
"Gemüse"
,
"Grassamenvermehrung"
,
"Ackergras"
,
"Winterroggen"
,
"Winterweizen"
,
"Sommerung"
,
"Zwischenfrucht"
,
"Winterraps"
,
"Wintertriticale"
,
"Wintergerste"
,
"Kohl"
]
}
},
{
"name"
:
"Vorfrucht"
,
"type"
:
"string"
,
"constraints"
:
{
"enum"
:
[
"Ackerbohne"
,
"Rüben"
,
"Mais/Stangenbohnen"
,
"Grassamenvermehrung"
,
"Spelzweizen"
,
"Ackergras"
,
"Kartoffeln"
,
"Körnermais"
,
"Stangenbohnen"
,
"Zwischenfrucht"
,
"Silomais"
,
"Sommergerste"
,
"Winterroggen"
,
"Zuckerrüben"
,
"Kohl"
,
"Winterraps"
,
"Wintergerste"
,
"Wintertriticale"
,
"Winterweizen"
,
"Ackerbohnen"
,
"Hafer"
,
"Kleegras"
,
"Sommerweizen"
,
"Weizen/Erbse"
,
"Gemüse"
]
}
},
{
"name"
:
"Bodenart"
,
"type"
:
"string"
,
"constraints"
:
{
"enum"
:
[
"uL"
,
"tL"
,
"S"
,
"l'S"
,
"sL"
,
"lS"
]
}
},
{
"name"
:
"Nmin [kg/ha] 0 - 30 cm"
,
"type"
:
"integer"
,
"unit"
:
"kg/har"
},
{
"name"
:
"Nmin [kg/ha] 30 - 60 cm"
,
"type"
:
"integer"
,
"unit"
:
"kg/har"
},
{
"name"
:
"Nmin [kg/ha] 60 - 90 cm"
,
"type"
:
"integer"
,
"unit"
:
"kg/har"
},
{
"name"
:
"Nmin [kg/ha] 0 - 90 cm"
,
"type"
:
"integer"
,
"unit"
:
"kg/har"
},
{
"name"
:
"Ökolandbau"
,
"type"
:
"boolean"
,
"trueValues"
:
[
"ja"
],
"falseValues"
:
[
"nein"
]
}
]
}
}
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment