4,357 questions
0
votes
1
answer
242
views
Uploading a geojson file to a geoserver with Python
I'm trying to figure out how to upload a geoJson via Python to my Geoserver. But it doesn't seem to be possible, neither a ".shp" file.
Is there any way to automatically upload such files? ...
0
votes
1
answer
248
views
Creating Geojson polygon string in CSV format
I am trying to receive a layer a polygons output in geojson format, in a new geometry attribute table field at my project in Qgis.
I used Chatgpt to try and find a tool or a way in Qgis to add a ...
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
1
answer
1k
views
View Geojson on flutter_map
I want to display Geojson data on a map to draw polygons and points
I used Flutter_map library: ^4.0.0
I tried converting from geojson to latlng and did not find a way
The libraries that should help ...
0
votes
1
answer
101
views
Type Error : list indices must be integers or slices, not str
I am trying to iterate different GeoJSON files but I am facing this error.
20 for feature in features:
21 # Extract properties and geometry
---> 22 properties = ...
2
votes
1
answer
341
views
Displaying geojson data sent by flask server in folium map
I am currently working on a teaching tool for aviation and I need to display realtime data in a 1s interval in a GUI on a map. I decided to use PySide6 and folium for this.
The realtime data is simple ...
1
vote
0
answers
77
views
geoJson parse issue
I keep getting an error on my code that says:
"AJAX Error: parsererror SyntaxError: JSON.parse: unexpected character at line 1 column 1 of the JSON data"
Or it will sometimes say:
"...
0
votes
1
answer
111
views
Leaflet geoJson and Mysql, how to optimize an extremely slow query
I need to create a geoJson polygon layer, the data is in a mysql db and it refers to regions of a country. Specifically I need to count the number of objects in each region. My map shows the regions ...
-1
votes
2
answers
87
views
Create single column GeoJSON using R
I am trying to create an excel file, ready for use within Power Apps Geospatial features: https://learn.microsoft.com/en-us/power-apps/maker/canvas-apps/geospatial-map-draw-shapes#import-geojson-...
1
vote
2
answers
42
views
Can I use surrogate fields in BSON?
Can I make MongoDb replace field representations with a surrogate type?
I would like to have a metadata struct with location. To save conversion back and forth, I want to share the model with my JSON (...
2
votes
1
answer
227
views
Calculating distance between two geographic coordinates in MongoDB aggregation pipeline
I have a MongoDB collection containing documents with geographic coordinates stored as GeoJSON objects. Each document represents an item with two locations (location_1 and location_2). Here's an ...
0
votes
1
answer
61
views
Converting Here API WKTShapeType Multipolygon To GeoJSON?
I have access to a data source that looks like:
"Shape": {
"_type": "WKTShapeType",
"Value": "MULTIPOLYGON (((-128.9102 50.82492, -128.90881 50.82422,...
1
vote
1
answer
171
views
Managing empty features/nulls when parsing and converting a raw geojson string to geodataframe
I have a pandas dataframe with geojson data embedded within a column similar to the example below:
# Test data frame
data = {'Geojson': ['{"geometry": {"coordinates": [[[24.950899, ...
1
vote
1
answer
856
views
How to parse GeoJSON in TypeScript with the geojson module and the @types/geojson type?
My TypeScript application is reporting that property parse does not exist on ./path/to/node_modules/@types/geojson/index. Which is true when inspecting the interfaces for the geojson type definition.
...
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
221
views
Folium GeoJson not displaying fill color correctly
I'm working on a project where I need to display GeoJSON data using Folium in Python. I'm facing an issue with the fill color not displaying correctly.
I'm using the following code:
import folium
...
0
votes
0
answers
22
views
iterate through a geoJSON file to create a dropdown menu [duplicate]
Hi guys im new to php so weould really appreicate the help. i have a geoJSON file with all countries in the format below. i am trying to create a select (dropdown menu) populated by the info from this ...
0
votes
1
answer
544
views
React-Leaflet GeoJSON Tooltip Appears in Two Places - How to Fix?
I'm working with React-Leaflet and have encountered an issue with tooltips in a GeoJSON layer. I've used the onEachFeature function to add a tooltip to each feature using bindTooltip with sticky: true....
1
vote
1
answer
742
views
Displaying Feature IDs from Map Layers in Flutter using Mapbox Maps
I'm working on a Flutter application that utilizes Mapbox Maps, and I'm facing challenges in displaying feature IDs when users click on specific map layers.
So basically, i have a Mapbox map in my ...
0
votes
0
answers
239
views
Openlayers add features to vectorLayer from getFeatureInfo query
Stack:
OpenLayers 8.2.0, Typescript 5.3.3, GeoServer 2.22
Goal:
Clicking on a map triggers a GetFeatureInfo request which returns feature info (correctly displayed) and geometries. I would like to ...
-2
votes
1
answer
80
views
How can I seperate square brackets content into seperate column using sql
Help me convert this single column [[-101,32],[-105,36],[-107,38]]
Column A
[[-101,32],[-105,36],[-107,38]]
into below column where each pair refers to a row.
Column A
-101,32
-105,36
-107,38
I am new ...
2
votes
2
answers
387
views
ArcGis json transform to geojson
I am currently working with geospatial data and I have encountered a situation where I need to convert data from an ArcGIS JSON format into a GeoJSON format. I understand that GDAL, specifically its ...
0
votes
1
answer
59
views
Generate json file with single slash by python
I have a json file as below, in which the value of geometry is a string. I need to add a single slash in front of each double quote inside the string
from:
{"geometry":
"{"type&...
0
votes
1
answer
264
views
Popup in Leafleat in Nuxt with GeoJson
I have a nuxt 3 site. I've added a leaflet map that displays the polygons of a geojson.
I'd like to display a popup on each of the polygons. The popup would display information from the geojson.
I can'...
0
votes
0
answers
224
views
How to display a leafletjs overlay image with geojson type MultiPolygon
I am trying to add an image overlay on a map using data provided to me in a geoJSON file.
geoJSON:
{
"type": "FeatureCollection",
"features": [
{
...