Hot answers tagged

3 votes

Loading JSON data into QGIS

For the Capital Regional District (CRD) Basemap you can use: https://mapservices.crd.bc.ca/arcgis/rest/services/ In QGIS you can use the ArcGIS Rest Services Connection.
user avatar
  • 48.5k
2 votes

Loading JSON data into QGIS

It depend what you are trying to do. GeoJSON data can be added to QGIS by saving your data as a .geojson file and simply dragging and dropping the file onto the map canvas, but this must be geographic ...
user avatar
2 votes

PostGIS: get Circle to GeoJSON

As said in the comments, circle is a native postgres type that is not related to postgis. If using PostGIS, it is better avoid these native types. That being said, if you really have to use the circle ...
user avatar
  • 34.3k
2 votes

ArcPy to include None geometries features

The RFC 7946 - The GeoJSON Format doesn't formally define empty geometries, the closest it gets is: GeoJSON processors MAY interpret Geometry objects with empty "coordinates" arrays as null ...
user avatar
  • 623
2 votes

How to request GeoJSON standard be enhanced to support M-values

It sounds like they've already considered it, and decided against it: The GeoJSON Format (https://datatracker.ietf.org/doc/html/rfc7946) Implementations SHOULD NOT extend positions beyond three ...
user avatar
  • 756
1 vote
Accepted

How to add image in Mapbox with turf.js grid

This is not really a GIS question but more of a general HTML/JS nature, but anyway, here's how you can solve this. You can read each image that has to be repeated only once, draw it on the canvas and ...
user avatar
  • 16.7k
1 vote
Accepted

Why is h3.polyfill(geojson, 15) returning empty list for this polygon?

You need to use h3.polyfill_geojson(geojson, 15) or h3.polyfill(geojson, 15, geo_json_conformant=True)
user avatar
1 vote
Accepted

How to request GeoJSON standard be enhanced to support M-values

Enhancements to geospatial JSON format will likely happen through the "OGC Features and Geometries JSON" https://github.com/opengeospatial/ogc-feat-geo-json. The new standard is in a draft ...
user avatar
  • 51.5k
1 vote
Accepted

Displaying pop ups for overlapping polygons in the same layer in Leaflet?

On way to do it is to use your click processing function zoomToFeature and there with the help of turf.js library function turf.booleanPointInPolygon check which features contain clicked point ...
user avatar
  • 16.7k
1 vote
Accepted

Parse GeoJSON polygons with holes library

I looked at this a few weeks ago on a separate platform: Here is what I said: Well, it looks like the multipolygons are incorrectly generated. From the spec, A linear ring MUST follow the right-hand ...
user avatar
1 vote
Accepted

Leaflet geoJSON - function within setStyle()

Since style_new function returns style object, it must not be embedded in the object specifiers {} when you call it, so code should look like this: this.map_layer.eachLayer(function (layer: any) { ...
user avatar
  • 16.7k
1 vote

Leaflet geoJSON tooltip coordinates

You can control position of the tooltip only for map tooltips (see https://leafletjs.com/reference.html#map-methods-for-layers-and-controls). So if your desired tooltip coordinates would be latlng, ...
user avatar
  • 16.7k

Only top scored, non community-wiki answers of a minimum length are eligible