New answers tagged

0 votes

Interpolate a GeoJSON file

You can use QGIS then interpolate with the existing processing tools. Here is an example: You could then convert your map to a website using QGIS2Web plygin in either Leaflet, OpenLayers or Mapbox ...
GforGIS's user avatar
  • 2,465
1 vote

Converting a shapefile into a Power BI ready JSON file

I was finally able to find a workflow that ended up being compatible with Power BI. Long story short: I downloaded the file that I needed as GeoJSON, opened it in QGIS and exported it as a shapefile ...
jespergeospatial's user avatar
0 votes

Converting a shapefile into a Power BI ready JSON file

If you drag your zipped shapefile from https://file.io/u3w1ZP1Ed2py (which now doesn't work any more) to mapshaper, you get this: But if you then export this to GeoJSON, you get GeoJSON with ...
TomazicM's user avatar
  • 22.9k
1 vote

Converting a shapefile into a Power BI ready JSON file

There is a QGIS plugin that might help you. You shouldn't have to do much as far as a pipeline since it's already built in: https://plugins.qgis.org/plugins/topojson_writer/
Jackson Dunn's user avatar
1 vote

Use Geoserver geojson in Leaflet

for bypassing the error: No 'Access-Control-Allow-Origin' for your development you simply can install an extension to allow access from your localhost: "Allow CORS: Access-Control-Allow-origin&...
AliHpanahi's user avatar
1 vote
Accepted

Export just the route within bbox from Overpass Turbo, not the tags / way points?

It seems all you have to do is to leave out recourse down >; part of your query (see https://wiki.openstreetmap.org/wiki/Overpass_API/Overpass_QL#Recurse_down_.28.3E.29). Your query would then look ...
TomazicM's user avatar
  • 22.9k
0 votes

Get extent of GeoJSON layer using OpenLayers

Another way to get the extent without transforming it into a Vector is as following: const geojson = <your geojson object> transformExtent( new GeoJSON().readGeometry(geojson).getExtent(), ...
randbw's user avatar
  • 101
0 votes

Retrieve geometry from GeoJSON to L.polygon in Leaflet?

As the name of onEachFeature GeoJSON layer option tells, it's called for each single feature when loading GeoJSON data. This means that layer.features does not exist at all, only layer.feature. But ...
TomazicM's user avatar
  • 22.9k
1 vote
Accepted

Using Overpass Turbo output as GeoJSON input to leaflet.js

As per @mmd's comment, I just needed to Export to GeoJson not just copy the contents of the Data pane.
Chris's user avatar
  • 73
1 vote

Get polygons from JSON request in an ArcGIS webmap

To get GeoJSON you will need to use a url like https://gis.mo.gov/arcgis01/rest/services/DED/Broadband_Projects/MapServer/1/query?where=1%3D1&text=&objectIds=&time=&geometry=&...
Mapperz's user avatar
  • 49.5k
0 votes

Saving added GeoJSON data in the browser for future use in QGIS

To add to @user2856 answer, by adding the folder as a favorite folder, I could not only access to the .qlr file but also to the project and its content in terms of layers. See the picture below.:
GforGIS's user avatar
  • 2,465
3 votes
Accepted

Saving added GeoJSON data in the browser for future use in QGIS

Save it as a layer definition file (*.qlr). Example: I add this geojson to QGIS I save as a layer definition It's now available anytime in the browser If I add the .qlr to QGIS from the browser, ...
user2856's user avatar
  • 64k
0 votes

How to display SWPC aurora forecast data in Leaflet

I'm not certain, but this seems to work. curl -o ovation_aurora_latest.json https://services.swpc.noaa.gov/json/ovation_aurora_latest.json jq '.coordinates[]|join(" ")' < ...
jlbrian's user avatar

Top 50 recent answers are included