From 15b42f91606ba86a01478d6a53728138f1606468 Mon Sep 17 00:00:00 2001
From: lvdbrink
- Notes:
- Openlayers has Geojson support but that is not enough for the time and
- coordinate system additions of JSON-FG. To make this possible a custom
- JSON-FG format is included that partially implements JSON-FG.
- The format only supports time.interval from JSON-FG. If it uses
- time.date or time.timestamp the timeslider does nothing.
+ Notes:
time.interval
> from JSON-FG. If the data in the JSON-FG editor on the right uses
+ time.date
or time.timestamp
, the timeslider does not function.
GDAL docs on the JSON-FG standard:
@@ -86,8 +88,8 @@
Create JSON-FG
- Run the following gdal command to convert your gml to json-fg. This - requires gdal >3.8 + Run the following GDAL command to convert your GML to JSON-FG. This + requires GDAL >3.8
ogr2ogr -f "JSONFG" output.jsonfg input.gml
For me it looked like this:
@@ -96,11 +98,12 @@ ./bgt_kunstwerkdeel.jsonfg https://raw.githubusercontent.com/Geonovum-labs/test-ogc-json-fg/main/testdata/bgt/citygml/bgt_kunstwerkdeel.gml +It is also possible to use another input format, for example GeoPackage.
JSON-FG editor
-Edit your json-fg here, the layer is automatically updated.
+Edit your JSON-FG here, the layer is automatically updated.
Transformation editor
- Add the transformation string for the coordinate system of your json. + Add the transformation string for the coordinate system of your JSON.