4,357 questions
-2
votes
1
answer
39
views
I can't display curved polygon structures in mapLibre 3D in bare react native [closed]
I'm working on a 2D/3D map with Maplibre in a bare React Native project. I can display 3D buildings with elevations thanks to Maplibre's fill-extrusion feature. However, Maplibre's fill-extrusion ...
0
votes
0
answers
24
views
How Can I Use String of Coordinates Within a Mapbox Feature?
I am trying to fetch a comma separated list of coordinates from a database and then show them on a Mapbox GL JS map.
By using the following FeatureCollection, I am able to show a Line between ...
1
vote
0
answers
80
views
"GEOSException Error: Shell empty after removing invalid points" when trying to buffer with geopandas
First time posting so apologies if I miss important info. I keep getting this error but it only happens intermittently so I have had a hard time narrowing down the problem. I have an input of a ...
0
votes
0
answers
53
views
Populate folium TimestampedGeoJson features using lambda functions?
I am following some code examples to plot time aware coordinates on a folium map using the folium.plugins.TimestampedGeoJson method. As in the example, I'm using a for-loop to tie coordinates and ...
1
vote
1
answer
170
views
Map visuals with Deneb in Powerbi environment
I'm trying to work my head around map visuals with Vega lite/Deneb within powerbi. I know that alternative exist, but am keen to understand the transaction between powerbi table and deneb.
For my ...
1
vote
0
answers
55
views
Why are features not retained in unclustered layer during Mapbox tileset creation?
I am trying to create/publish a tileset on Mapbox. When I upload the geojson into Mapbox's dataset the locations properly retain their properties. However, when I try to create the tileset thru the ...
0
votes
1
answer
74
views
GeoJSON Object Array in PHP [duplicate]
I am having issues creating this "features object" in php/json
here is an example of this code: https://doc.arcgis.com/en/arcgis-online/reference/geojson.htm
I am getting all of the ...
0
votes
0
answers
26
views
The Type Point in geojson_pydantic is not hashable
I'm using Python 3.11 and I am struggling a lot to understand this.
When I try to access to the Swagger documentation of my service, in localhost, I have this error:
generate_definitions ...
0
votes
2
answers
107
views
Leaflet.js Tooltip Rendering Issue When Binding Dynamic Data to Station Markers in Loop
I'm working on a route visualization tool using Leaflet.js to map Amtrak train routes. I'm loading station coordinates from a JSON array and creating markers with custom tooltips showing station names,...
0
votes
1
answer
46
views
Split the large facet in the geojson file into multiple small facets
I have a geojson file that needs to iterate over all the polygons in all the features, but some of them are very large, making it slow to perform certain tasks, and I would like to split them into ...
1
vote
0
answers
45
views
mapbox-gl-js creates artifacts in corner of edge with geojson data when world-wrapping (only when screen height is > 1024px)
Minimum reproducible example:
I am using mapbox-gl-js on a website (angular)
I am using this dataset for the MRE (minimum reproducible example):
Here is the github repo:
https://github.com/folsze/...
1
vote
0
answers
72
views
ERROR: input of anonymous composite types is not implemented
I am really confused.
I have this postgis query :
with
f as ( SELECT
ST_AsGeoJSON(p.geompos)::json As geometry,
row_to_json((p.id_client, p.design_site, p.adresse)) As properties
FROM ...
1
vote
0
answers
40
views
I am facing difficulty in convertion of GeoJson MultiPolygon. in dart
I am building a screen in flutter where by selecting the city we can see the administrative area of the city using thepolyline. I am using open maps api for that . This is working fine in case of ...
0
votes
1
answer
2k
views
Azure Maps in Power BI - how to show lines
I got data related to streets in my city. Each street has at least 2 sets of coordinates.
My coworkers go through the city and grade the cleanliness.
I would like to show lines on the map with the ...
2
votes
1
answer
100
views
Overlay sf object on ggmap - not aligned, specific to region
I would like to overlay an sf object (mapping geometry with organization's data) over the google map showing terrain features. This was successful when using other US states, but not Alaska.
What do I ...
1
vote
1
answer
22
views
Can't Access GeoJSON Property Elements With D3 Using Mouseover - Returns Undefined
I've made a map of a number of survey sites using GeoJSON data, it all looks fine. I have also set a mouseover command that highlights the site when the mouse is over it.
However, I'm trying to create ...
0
votes
1
answer
79
views
Add links in dash-leaflet geojson popups that have a callback when clicked
I've created an interactive map using dash-leaflet using the geojson module (hope module is the right word).
I have created custom html popups for each marker. I need to incorporate links in the popup ...
0
votes
0
answers
35
views
Geojsonio does not render jsonfile
All,
The geojsonio package is not rendering simple JSON files on geojson.io as it should be. I get empty map as shown below
Here is the Python code I use to render the geojson file.
import geopandas ...
0
votes
0
answers
37
views
Mapbox Static API - How do I add multiple markers using nested GEOJSON
I have seen an example here where you can pass in multiple items in a geojson format.
However, this repeats the image URL for every marker. Given the space restrictions, I want to pass in nested ...
0
votes
0
answers
206
views
How to use a local GeoJSON file (world_110m.json) with Plotly in PySide6 to prevent external fetching?
I’m trying to display a choropleth map using Plotly and PySide6. I want to ensure that all resources, including world_110m.json, are loaded locally and not fetched from the CDN. I already have a ...
0
votes
0
answers
122
views
Looker Studio Custom Map Visualization Breaks After Reload
I'm currently working on an online dashboard in Google Looker Studio, with BigQuery as the database backend.
One of the visualizations involves displaying polygons on a map, which had been working ...
0
votes
0
answers
106
views
Why does the GeoJSON format expect coordinates in an array rather than an object with keys?
Take the following example from their home page:
{
"type": "Feature",
"geometry": {
"type": "Point",
"coordinates": [125.6, 10.1]...
0
votes
0
answers
16
views
Leaflet polygon with multiple geometries [duplicate]
I'm trying to make a weather radar that displays alert polygons from the NWS API. For some of these alerts, the geometry is stored in separate links:
{
"id": "https://api....
0
votes
1
answer
72
views
Styling geoJSON points when adding data
I have a leaflet map where I show some simple geoJSON point markers. Because I'm loading them from external .geojson files, I'm using this function:
async function addPointGeoJson(layername, ...
1
vote
0
answers
55
views
d3.js not displaying geoJSON properly after simplification
I am trying to display a geoJSON map using d3.js. I have a geoJSON file that is far too large. d3 will display that one just fine. However, when I run it through the mapshaper simplification tool, d3 ...