Linked Questions
16 questions linked to/from Loading external GeoJSON file into Leaflet map?
2
votes
1answer
7k views
Loading External geojson into leaflet [duplicate]
I have experience working in python but limited knowledge of Java Script.
I need help loading in a external Geojson located on my computer into a leaflet map. I read that I need to use a technique ...
1
vote
1answer
266 views
mapbox geojson + leaflet + custom markers [duplicate]
In the geojson file the following can be found for a marker (coming from mapbox geojson)
"marker-color":"#1087bf","marker-symbol":"monument"}
I would like to find a solution so monument will be ...
0
votes
0answers
33 views
Reading GeoJSON from external file in Leaflet [duplicate]
I found the following script on the web but I don't know how to change the way to read JSON code.
In the script the JSON code is included in a var called sitec but I need to read that code from an ...
27
votes
3answers
44k views
Converting GeoJSON to Python objects? [closed]
New to the site, and to geoJSON, and to python.
My goal is to read in a file with geoJSON data, and use it to generate shapes to be used in an application that is using python scripting. Python ...
8
votes
1answer
13k views
Custom marker and properties from geoJSON in Leaflet
I am having some issues with two things in a Leaflet map 1) custom marker 2) pulling attributes from a geoJSON file and putting it in the pop-up.
I should qualify things, I am really new to Leaflet ...
2
votes
1answer
5k views
Load external geojson file into leaflet map
Have studied How to load external GeoJSON file into Leaflet map but not getting desired result.
My index.html looks like this:
<!DOCTYPE html>
<html>
<head>
<meta charset=...
0
votes
1answer
3k views
Geojson not displayed within leaflet
I made some more complex leaflets before, but here I'm stucked. You can find my geojson file here:
https://gist.github.com/Supermarmotte/16e0466c9d17f4ab341b6fdb805bb849
It is displayed correctly and ...
2
votes
1answer
2k views
Unable to use fillColor values from GeoJSON with Leaflet
I have a web page which fetches some remote GeoJSON and displays a combination of marker points, polygons and lines on my map.
Within that JSON is the fillColor, fillOpacity, etc that I wish to use ...
1
vote
2answers
1k views
Load geojson files from a dropdown list
I would like to load geoJSON from a dropdown list. Everything i found was internal plugin for leaflet such as leaflet-geojson-list. I have a html dropdown list but I don't know how to link my geoJSON ...
0
votes
1answer
3k views
Leaflet L.geoJSON from a js variable geojson object not showing on map
I create a js geojson object variable in my code. I would like to then create a layer based on the geojson variable and add to the map. I have tested the geojson object (When I stringify the geojson ...
2
votes
2answers
1k views
Loading .json files into Leaflet and filtering them [closed]
I am new to web development and Leaflet/GIS in general.
I have a couple of shapefles, let's say they are roads.shp and utilities.shp. And let's say I have the means to convert these shape files into ....
2
votes
2answers
553 views
How to work with GeoJSON, Leaflet and pixel coordinates?
I'm a noob trying to piece together a - as I thought - simple thing:
A Leaflet map based on a raster picture with markers coming from a GeoJSON file. As this is a fictional map, I use the CRS.Simple ...
2
votes
1answer
669 views
Cannot get local GeoJSON file to load features on server hosted Leaflet map [duplicate]
The answers I have tried prior to asking this question:
Loading external GeoJSON file into Leaflet map?
Load external geojson file into leaflet map
Issue in loading external geojson file into ...
0
votes
0answers
465 views
How to add GeoJSON layer with GraphHopper?
I have a GeoJSON file containing some POI that I would like to be able to display within a separate layer with GraphHopper.
But after several tries and search over internet, i can't manage to get a ...
1
vote
2answers
257 views
GeoJSON does not appear on my Leaflet map
I'm a beginner in Leaflet and I need help to deal with GeoJSON files.
I succeeded in creating a Leaflet basemap. I can add markers without troubles but I cannot manage to show a GeoJSON layer.
Here ...