An open geographic data format based off of JavaScript Object Notation

learn more… | top users | synonyms

2
votes
0answers
30 views

How to make a network /tower coverage map in in mapbox

I am new to mapping and currently I am trying to make a map showing coverage of a network provider here in my country. The map I am trying to achieve should look similiar to that at ...
2
votes
2answers
59 views

PostGIS convert point->raster->GeoJSON

My question is a follow up to Convert a raster to GeoJSON polygons in PostGIS I'm trying to accomplish querying point data from the database, and then turn that into a raster for calculating ...
1
vote
0answers
13 views

OpenLayers3 creating large GeoJSON layers off the main thread

I am pretty new to this field and struggling to find out whether my idea is worth pursuing further. The problem I am facing is that I have to load a couple of large GeoJSON layers into my OpenLayers ...
3
votes
2answers
45 views

Is GeoJSON an OGC format

I am using geometries in a JavaScript page and it is best to use JSON objects rather than GML which is XML based. I heard of GeoJSON, but is it an OGC open format?
0
votes
1answer
34 views

Speeding up large GeoJSONs in Leaflet maps

I've been racking my head around this problem for some time and I could use some help; I am trying to use Leaflet to make a map which displays multiple projection boundaries, i.e. UTM, State Plane, ...
3
votes
1answer
37 views

Geojson in postgis Geometry : Z dimension error

i had this php code : ...
2
votes
1answer
35 views

GeoSpatial queries and indexes in memory

I am currently using Spark/Scala to process some data, and I am at the point that I need to run ~3M of geospatial queries. One common solution would be using MongoDB or PostGIS (or Magellan for Spark ...
1
vote
1answer
37 views

hide unhide layers in leaflet

I want to hide somme layers when I click in a layer and resotore the visibility back after clicking out I tried with this code but it doesn't work here also the punker code Hide show layers var ...
2
votes
1answer
59 views

Why won't GeoJSON load?

I'm working with openlayers3 and I wanted to load a GeoJSON file from my local ../assets/data/countries.geojson. Nothing is wrong but it didn't appear on the screen. This is my code: <!doctype ...
1
vote
1answer
38 views

Stubborn geojson layer misaligned with mapbox (leaflet) tiles only in production website, not in codepen or other online sandboxes

You can see my code and expected result in this running swiftly in codepen! Other online sandboxes work as expected too. The exact same code running in my php file on my wordpress site, shows the ...
0
votes
1answer
46 views

GeoJSON properties not displaying in popup-leaflet GeoDjango

I want to show the markers in different colours based on column(rastervalues) values in leaflet. My geojson data is {'geojson': "[{'type': 'FeatureCollection', 'features': [{'type': 'Feature', 'ge ...
1
vote
1answer
59 views

Convert a raster to GeoJSON polygons in PostGIS

I'm trying to convert a raster to a polygon and export it from PostGIS as GeoJSON. Specifically I want each pixel to be a polygon with associated the raster value. PostGIS seems to have a few ...
0
votes
0answers
32 views

populating a geojson from postgresql with php depending on zoom level

i am about to load a few thousand polygons (a grid 500x500m) from a postgresql db into a leaflet map with php script converting the data into a geojson. the php script populates the geojson depending ...
2
votes
0answers
22 views

Unable to load and display data from geoJSON source in OpenLayers

It seems like OpenLayers library changes from day to day and loses compatibility with the previous minor version each time... But, actually, I have another question to ask. The problem I face, is that ...
1
vote
1answer
33 views

OpenLayers 3 Vector layer

Can i add two sources to Vector layer, i want regular feature source, and geojson source? Maybe can I do something like: var layer = new ol.layer.Vector({source: VectorSource, GeoJsonSource}); My ...
1
vote
0answers
26 views

Plot a bubble chart in d3.js by giving an local geojson file as an input

This is the content in my geojson file { "type": "FeatureCollection", "features": [{ "type": "Feature", "properties": { "profit": 326, "npa": 174.000000 } }, { "type": ...
1
vote
1answer
19 views

How to include a GeoJSON FeatureCollection inside another FeatureCollection?

In the GeoJson spec 'An object of type "FeatureCollection" must have a member with the name "features". The value corresponding to "features" is an array. Each element in the array is a ...
2
votes
1answer
50 views

European postal code shapes provider

I am looking for a single (paid) provider of postal (zip) code shapes (boundaries) for countries in Europe. I hope to find reliable partner with reasonable pricing and update policy. What I need are ...
1
vote
1answer
50 views

Leaflet marker cluster not working on GeoJSON with MultiPoint geometry

I have a GeoJSON file of fly tipping incidents that I have managed to display on a basic Leaflet map. I am now trying to incorporate the marker cluster plugin, but I am having problems as it does not ...
1
vote
2answers
46 views

How can obtain geojson geometry ? OL3

I need to get a GeoJSON geometry of this, then use a buffer for the TURF library. Get get data from GeoJSON turf but would not admit it in any way. any ideas ? This is my code: var feature_buff = ...
0
votes
0answers
45 views

Failed to load resource: the server responded with a status of 404 (Not Found) Django while displaying geojson data on map

I'm getting the following error when I try to diplay geojson data on map. http://localhost:8000/geojson/%7B%22type%22:%22Point%22,%22coordinates%22:[76.996944,31.58]%7D Failed to load resource: the ...
1
vote
0answers
15 views

How to display Geojson file over OSM, google satellite as abase layer (at correct location) in open layer?

How to display Geojson file over OSM, google satellite as a base layer in open layers. It is showing somewhere. var map = new OpenLayers.Map('map',{ projection: "EPSG:900913", ...
7
votes
2answers
133 views

Format a specific GeoJSON file into the correct format

I want to use this json file it is no GeoJSON file yet but I noticed that it contains several Features and not one which I find confusing. I wanted to ask if you know some tool where I can merge all ...
1
vote
2answers
40 views

geojson data not getting displayed on map (Openlayers) in Geodjango

I have the following code models.py class PFT(models.Model): species=models.CharField(max_length=50) geom = models.PointField(srid=4326) objects=models.GeoManager() def ...
0
votes
2answers
83 views

Adding one search box for multiple GeoJSON polygon layers?

Multiple GeoJSON markers can be combined to one group layer then search on a specific attribute but doesn't work for GeoJSON polygons. How to put multiple GeoJSON markers and polygons in one search ...
1
vote
3answers
76 views

Windows software to convert GeoJSON (> 6Mb) to Excel/CSV?

I am trying to convert OpenStreetmap data GeoJSON to Excel (or .csv files). Few online converters are there. However, when the file is big (example: 6Mb Geojson), the browser is becoming ...
1
vote
0answers
23 views

WebMapping Charts Overlap Issue LeafletJS

I am a beginner in webmapping development using LeafletJS and JS. I am the owner of the website built under LeafletJS. I have faced some problems with charts overlapping. On the right top of the map ...
0
votes
4answers
76 views

How to add remote GeoJSON data to a Leaflet map as a new layer?

I seem to be having a problem parsing the GeoJson and adding the layer to a Leaflet map. var terrain = ...
1
vote
0answers
29 views

Mysql 5.5 spatial to Google Maps API

I've got a mysql table with points and polygons spatial geometries. I can see that MySQL 5.5 doesn't have the ST_AsGeoJSON() function to extract to GeoJSON. I'm looking for the simplest way to ...
0
votes
0answers
32 views

Add vector icons and popups in openlayers 3.11

here's what I am working on: http://environmentalobservatory.net/Calumet/3scale.html It works great so far and now I want to put icons, or what we used to call "markers" on it. But I can't find any ...
0
votes
2answers
101 views

Point in Polygon - geojson - using Shapely / Python returning incorrect results

I'm trying to test if a point is inside a polygon using this example: http://stackoverflow.com/questions/20776205/point-in-polygon-with-geojson-in-python However, my output says that none of the ...
1
vote
2answers
45 views

Displace Lat/Long by meters

Sorry for the inflammatory title, Yes, I know these cannot be added. Problem: I have a vehicle that is reporting LL84, coordinates. It has a sensor that reports footprints of obstacles (LineString, ...
0
votes
1answer
48 views

Build a leaflet polygon(s) from GeoJSON feature(collection)

I find it quite practical to work with leaflet Polygon and it would be great to be able to build such objects directly from GeoJSON content. I did not find any Polygon constructor taking neither a ...
3
votes
0answers
49 views

Loading GEOJSON in Leaflet and separating attributes

I'm making a cloropleth map with geoJSON and Leaflet. Right now each year has a separate geoJSON file and I load each of them as below: function loadGeoJSON(data) { var json = null; ...
0
votes
1answer
61 views

Open Layers 3, GeoJson EPSG:4326

I have two layers: 1) var layer = new ol.layer.Tile({source: new ol.source.OSM()}); 2) var layer_g=new ol.layer.Vector({ projection : 'EPSG:4326', style: new ol.style.Style( { ...
0
votes
0answers
12 views

MapInfo2leafletjs tool

I've downloaded a tool to export a table from MapInfo GIS to leafletjs. The base map from Openstreetmap has been created, but the choropleth map of regions is not being displayed. One possible ...
2
votes
1answer
23 views

ElasticSearch behaving different between cities

I'm experiencing some very strange behavior from Elasticsearch. I am using geo_bounding_box to search the area visible in Google Maps. I have data in New York and San Fransisco. New York behaves as ...
0
votes
0answers
27 views

Pivoting around Geojson variable symbology in Leaflet Map

I currently have geoJson loaded in to a leaflet map where I want to change the variable symbolised. The symbology rules can all be the same for each variable visualised. I need to find a way of ...
0
votes
1answer
30 views

Conflicting layer styles for geojson in Leaflet map

Assigning a style to a geojson layer but it is visualising with the aforementioned style as well as the default blue style assigned to geojsons. Can't work out what is causing <!DOCTYPE ...
0
votes
0answers
35 views

Having trouble getting geojson to show up with leaflet from geoserver

I have enabled jsonp in geoserver/WEB-INF/web.xml. It appears in my layer preview in geoserver. I cannot seem to get my geojson layer to show up in my map. The tiles show up but with no layer. Not ...
0
votes
2answers
78 views

Toggle geojson labels using control with leaflet

I am attempting to create my first leaflet map. I am using OpenStreetMap tiles and adding geojson features as overlay layers. I have been following tutorials with much success, until I started trying ...
2
votes
0answers
92 views

GeoJSON not showing in leaflet map?

I'm trying to load a geojson file in to my leaflet map and can't see what's going wrong. From looking at other questions i've used Jquery Ajax to call the geojson. The geojson is in the same directory ...
0
votes
0answers
44 views

Leaflet - divIcon size options are not applied

I am using a divIcon (an svg) for markers given to a point layer from a geoJSON for a map built with Leaflet/Mapbox. I can set the (initial) icon size with a css class, but if I try to set the ...
3
votes
1answer
39 views

Leaflet geojson styling leaves gaps between polygon

I'm styling a geojson polygon composed of multiple closely placed vertical segements which doesnot have a gap in between (i've checked the topology). I want to display just the fill and without ...
1
vote
1answer
58 views

Given a collection of polygons, how do you find which one contains a given point? Java or Python

I'm looking for Java or Python libraries that will help me answer this question efficiently: given a collection of polygons (via shape files or GeoJSON), which one of them contains a given point? The ...
0
votes
0answers
12 views

Leaflet geoJSON point layer with divIcons (SVGs) how to toggle visiblity?

I have posted a few related questions about this topic here here and here. I have tried to set the opacity of the layer, then reset it with setStyle on a zoom event like so: Layer18 = ...
1
vote
1answer
119 views

Import GeoJSON into PostGIS

I want to import GeoJSON avaliable in the following dump into PostGIS but I am not able to import it. I already imported geousa data available in this public dump into MongoDB smoothly. Let me know is ...
1
vote
1answer
59 views

Importing GeoJSON into MySQL?

I want to import GeoJSON data into MySQL to compare performance with other databases. Is there any way I can import following data into MySQL. And if it possible, how to create table for such records. ...
0
votes
0answers
31 views

how to add multiple divIcons to each point in a geoJSON - Leaflet

I am trying to add divIcons (SVGs) as markers to a point layer from a geoJSON in a webapp using Leaflet. I need to have different sized markers at different zoom levels. I have asked related ...
0
votes
0answers
66 views

Leaflet / JQuery -cannot add or remove class to divIcon marker

(this is related to a previous question of mine) I am adding a divIcon (an svg) as the icon for features in a geoJSON, using Leaflet. I can add a class to the html property of the icon, but I cannot ...