786 questions with no answers
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 ...
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
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
0
answers
31
views
React Native and Expo GeoJson information of the current location
I'm using React Native and Expo. I want to display a map with GeoJson data. This works without any problems. The current location is displayed correctly. Now I want to display information like the ...
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
0
answers
31
views
Where can I obtain Level 10 administrative polygon boundary data?
I'm trying to find polygon boundary data for neighborhoods in the US. On google maps, all the neighborhoods have boundaries, however, I can't find how to access it on the google places api ...
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
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 ...
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 ...
0
votes
0
answers
93
views
Trying to show shapefile in folium through javascript
I have a shapefile with postal codes in Belgium. In addition I have a distance-matrix from store-locations of one brand to all postal-codes. I managed to add markers to my map in PyQt5 QMainWindow ...
1
vote
0
answers
21
views
One Json file, 2 values to filter, followed by inclusion in the Leaflet Menu Control
I have been on Leaflet maps for a few weeks. We are switching from Google maps to Leaflet. I work with a non-profit organization providing support for citizen water quality samplers.
I do not mind ...
0
votes
0
answers
54
views
Swift Json Decoder how to get a nested part of the object without decoding it
I receive server response which contains geojson I need to have the geojson as string and don't want to decode it, but this code throws type mismatch exception.
init(from decoder: Decoder) throws {
...
1
vote
0
answers
91
views
deck.gl GeoJSON point layer not extruding
I have a GeoJSON layer in deck.gl which I'm trying to extrude based on the elevation property.
E.g.
{
"type": "Feature",
"geometry": {
...
1
vote
0
answers
85
views
Plotly Express choropleth giving error "Object of type bytes is not JSON serializable"
I am trying to use Choropleth from Plotly Express to plot data in US zip codes. I have a GeoJSON from this GitHub repo and am trying to use it in conjunction with a CSV which gives zip codes and the ...
0
votes
0
answers
22
views
Remove dbl quotes from dict value during dataframe .collect
iterating rows of a dataframe (code below) I need to strip the outer/enclosing double quotes from row.geometry value.
Instead of:
{"type": "FeatureCollection", "features":...
0
votes
0
answers
34
views
Styling GeoJSON features from a select html give me an error
I continue working on the style classification of GeoJSON features based on the selection in a select html. The function that defines a general style classified by colors works without problem if i ...
1
vote
0
answers
58
views
Using the Google Map API to get GeoJSON map data
I want to request GeoJson data( not my own data, but all map data like OSM ) from the Google Map API to then use in Babylon.js to create a 3D model. Is this possible? I see there is a lot of ...
0
votes
0
answers
166
views
GeoJSON MultiPolygon Inversion Works for All Federal Districts of Russia Except Siberia in D3.js Map
I'm working on a map visualization using D3.js and GeoJSON data for Russian federal districts. The goal is to display each district as a filled polygon fill to highlight certain areas.
I followed the ...
0
votes
0
answers
57
views
how to detect door in floor plan image file using emgu.cv in C#
What i have tried ?
I have image file and geojson file, i need to overlay the geojson file on the image and do some color changes in the room and door.
i have used the emgu.cv library to detect the ...
1
vote
0
answers
35
views
EPSG:4326 layer on top of a EPSG:27700 base layer
I have a base layer in arcgis for javascript in spatial reference EPSG:27700. I want to overlay a boundary layer which is in the format of a geojson file.
I initially generated the geojson with a crs ...
1
vote
0
answers
56
views
Issues with Splitting GeoJSON Path
Hello Stack Overflow Community,
I am working on a React application using React-Leaflet for mapping functionalities. I'm facing an issue with dynamically splitting a GeoJSON LineString path based on a ...
0
votes
0
answers
100
views
I need to draw lines on HTML canvas from the provided lat/long
I am having Below lat/log
[
[26.680863912523936, -80.1179154920308],
[26.680835153186823, -80.11685065504936],
[26.679931626985823, -80.11687479493054],
[26.679979559590112, -80....