Skip to main content
100%

Exporting GeoJSON file to MyJson API in Power Query

✓ Published0🌍 Public
HHugoberry
Last edited Apr 13, 2017
Created on Apr 13, 2017

This example demonstrates how to export a dynamically generated GeoJSON FeatureCollection to the MyJson API for persistent hosting. The visualization builds a 10-by-100 grid of polygon features using nested `List.Accumulate` loops, with each polygon’s coordinates computed by the `sq` function. It sends the data as a JSON payload via `Web.Contents` with a `Content-Type` header, then returns the generated API endpoint URI from the response. The code relies on Power Query’s M language functions like `Json.FromValue` and `Json.Document` to serialize and parse the JSON, showcasing a programmatic pipeline for publishing tiled geospatial data.

AI-generated description

Similar vizzes