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.
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 ...
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 ...
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 ...
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)
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) {
...
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, ...
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 ...
1
vote
Accepted
How to insert a coordinate into an LineString at a specific index
turf.js method turf.nearestPointOnLine returns closest point on line to the given point as feature, where property index tells on which line string segment point was found. Segments are numbered ...
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 ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
geojson × 2380leaflet × 690
javascript × 293
openlayers × 233
qgis × 189
python × 185
postgis × 166
shapefile × 136
json × 135
openlayers-2 × 116
ogr2ogr × 110
coordinate-system × 91
polygon × 81
geoserver × 80
mapbox × 79
openstreetmap × 67
postgresql × 66
gdal × 65
convert × 61
wfs × 44
geopandas × 42
d3 × 41
topojson × 41
kml × 40
markers × 40