Skip to content

Commit

Permalink
fix geojson test-file's name
Browse files Browse the repository at this point in the history
  • Loading branch information
efremropelato committed Nov 6, 2024
1 parent b43081d commit 41064df
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 3 deletions.
4 changes: 2 additions & 2 deletions pkg/functions/functionsDescription.go
Original file line number Diff line number Diff line change
Expand Up @@ -891,7 +891,7 @@ var funcDesc = map[string]FunctionDescription{
Parameters: "string",
Localizable: false,
Return: "string",
Example: `jr template run --embedded '{{nearby_gps_into_polygon 45.849539549943 9.3874341200659 10}}' --geojson testfiles/poligon.geojson`,
Example: `jr template run --embedded '{{nearby_gps_into_polygon 45.849539549943 9.3874341200659 10}}' --geojson testfiles/polygon.geojson`,
Output: "41.8963 12.4975",
},
"nearby_gps_into_polygon_without_start": {
Expand All @@ -901,7 +901,7 @@ var funcDesc = map[string]FunctionDescription{
Parameters: "string",
Localizable: false,
Return: "string",
Example: `jr template run --embedded '{{nearby_gps_into_polygon_without_start 10}}' --geojson testfiles/poligon.geojson`,
Example: `jr template run --embedded '{{nearby_gps_into_polygon_without_start 10}}' --geojson testfiles/polygon.geojson`,
Output: "41.8963 12.4975",
},
"now_add": {
Expand Down
9 changes: 8 additions & 1 deletion testfiles/poligon.geojson → testfiles/polygon.geojson
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,14 @@
"features": [
{
"type": "Feature",
"properties": {"name": "Lago di Como"},
"properties": {
"name": "Lago di Como",
"stroke": "#1100ff",
"stroke-width": 5,
"stroke-opacity": 1,
"fill": "#cbbdff",
"fill-opacity": 0.5
},
"geometry": {
"type": "Polygon",
"coordinates": [
Expand Down

0 comments on commit 41064df

Please sign in to comment.