From 7db9bcbf31eff090d1a795390dd367202730e3ee Mon Sep 17 00:00:00 2001 From: mgermerie <73115044+mgermerie@users.noreply.github.com> Date: Thu, 30 Sep 2021 11:49:04 +0200 Subject: [PATCH] examples(FileSource): add exemples of FileSource instantiation --- examples/config.json | 18 +++- examples/source_file_from_fetched_data.html | 90 +++++++++++++++++ examples/source_file_from_format.html | 85 ++++++++++++++++ examples/source_file_from_methods.html | 87 ++++++++++++++++ examples/source_file_from_parsed_data.html | 104 ++++++++++++++++++++ 5 files changed, 380 insertions(+), 4 deletions(-) create mode 100644 examples/source_file_from_fetched_data.html create mode 100644 examples/source_file_from_format.html create mode 100644 examples/source_file_from_methods.html create mode 100644 examples/source_file_from_parsed_data.html diff --git a/examples/config.json b/examples/config.json index fec87a964e..c599addeff 100644 --- a/examples/config.json +++ b/examples/config.json @@ -28,19 +28,29 @@ "vector_tile_dragndrop": "Drag and drop a style" }, - "Source / Stream": { + "WFS source": { "source_stream_wfs_25d": "WFS to 2.5D objects", "source_stream_wfs_3d": "WFS to 3D objects", "source_stream_wfs_raster": "WFS to raster" }, - "Source / File": { + "Specific source options": { + "source_file_from_format": "format", + "source_file_from_methods": "fetcher and parser" + }, + + "FileSource": { "source_file_geojson_raster": "GeoJSON to raster", "source_file_geojson_3d": "GeoJSON to 3D objects", "source_file_kml_raster": "KML to raster", "source_file_gpx_raster": "GPX to raster", - "source_file_gpx_3d": "GPX to 3D objects", - "source_file_shapefile": "Shapefile to raster" + "source_file_gpx_3d": "GPX to 3D objects" + }, + + "Customize FileSource": { + "source_file_from_fetched_data": "Handle fetching step", + "source_file_from_parsed_data": "Handle parsing step", + "source_file_shapefile": "Shapefile case" }, "Effects": { diff --git a/examples/source_file_from_fetched_data.html b/examples/source_file_from_fetched_data.html new file mode 100644 index 0000000000..8185d76ee3 --- /dev/null +++ b/examples/source_file_from_fetched_data.html @@ -0,0 +1,90 @@ + + + Itowns - FileSource - Handle fetching step + + + + + + + + +
+ + + + + + + + diff --git a/examples/source_file_from_format.html b/examples/source_file_from_format.html new file mode 100644 index 0000000000..2d8a68e218 --- /dev/null +++ b/examples/source_file_from_format.html @@ -0,0 +1,85 @@ + + + Itowns - Source - format + + + + + + + + +
+ + + + + + + + diff --git a/examples/source_file_from_methods.html b/examples/source_file_from_methods.html new file mode 100644 index 0000000000..6e7ce2187f --- /dev/null +++ b/examples/source_file_from_methods.html @@ -0,0 +1,87 @@ + + + Itowns - Source - fetcher and parser + + + + + + + + +
+ + + + + + + + diff --git a/examples/source_file_from_parsed_data.html b/examples/source_file_from_parsed_data.html new file mode 100644 index 0000000000..4d009a9e0a --- /dev/null +++ b/examples/source_file_from_parsed_data.html @@ -0,0 +1,104 @@ + + + Itowns - FileSource - Handle parsing step + + + + + + + + +
+ + + + + + + +