An open geographic data format based off of JavaScript Object Notation

learn more… | top users | synonyms

0
votes
0answers
18 views

Leaflet: hover over one polygon and another gets styled

I'm currently using Leaflet sync to have two maps side by side. On each side, there are maps with different GeoJson data sets. I am hoping to hover on eg. a lake on map1, then have a similar lake on ...
1
vote
1answer
47 views

Leaflet map.locate, very long response time

I'm using leafletknn to search the nearest geojson element from the user location. I add a map.locate method that zoom to the user location. The response time is longer than when I directly use it... ...
2
votes
0answers
19 views

Wrapping vector tiles generated by geojson-vt

I've followed the example in geojson-vt, and am able to generate vector tiles from my geoJson source. However, I can't read these tiles with mapbox-gl-js or Leaflet.MapboxVectorTile because I don't ...
1
vote
0answers
22 views

Can I use GeoJSON GeometryCollection in QGIS?

I want to create a GeoJSON that contains multiple geometries to be used in QGis later on. Now I red through the specs here: http://geojson.org/geojson-spec.html#geometrycollection When I simply copy ...
0
votes
0answers
23 views

Ol3, dynamic CQL for WFS layer (GeoJSON) from Geoserver

My map in Openlayers (Ol3) contains a WFS layer with GeoJSON format from Geoserver. My intention is to use CQL filters that can be applied by the user through comboboxes next to the map. The CQL ...
0
votes
0answers
29 views

Dynamic data loading in openlayers 3 using Geojson

I am able to load the multiple wfs features using GeoJSON, but now i need to load the features dynamically instead of loading randomly Here is my code // First WFS Layer var url = ...
0
votes
0answers
9 views

Select/unselect features in CartoDB layer with reporting features name of all selected features

I have web app based on http://bl.ocks.org/javisantana/d20063afd2c96a733002 template. I tried to make highlight polygon feature and unselect highlighted feature on mouse click with report names all ...
0
votes
2answers
28 views

Administrative level GeoJSON Polygons for African Countries

I'm very new to GIS and I have spent the last few days trying to find some kind of database with the aforementioned polygons with no luck. The purpose is simply to label a location at district level ...
1
vote
0answers
43 views

Using GEOJSON offline in QGIS

I have some GEOJSON-Layers in my QGIS-project. The problem is, that when I zoom in or out, it takes very long to built up the window again. That's because it always loads it from the server. But I ...
1
vote
1answer
24 views

leaflet / change a geojson divicon html

I have a geojson layer with a divIcon and now i want to change it. i have tried whit seticon but it does not work. How could i do it? This is what I am trying: papesjson.eachLayer(function(layer){ ...
1
vote
0answers
8 views

Editing geojson without separating segment endpoints

I have a few maps of city sidewalks in Geojson format which I need to manually edit to make corrections. However, in the tools that I've tried, geojson.io and QGIS, segments that share an endpoint are ...
1
vote
1answer
34 views

gdal_polygonize with World File

I have this image that I want to convert it to GeoJSON. And I have this World File: 0.0388048118 0.0 0.0 -0.0387897595 697054.11331 4458020.56656 When I try to run the gdal_polygonize command ...
1
vote
1answer
50 views

Points of LinearRing do not form a closed linestring - one point intersection

I'm trying to index geojson data using elasticsearch. There is some kind of polygons that causing an error: "Points of LinearRing do not form a closed linestring". Looks like it happens because ...
0
votes
0answers
17 views

geoJSON isn´t showed

I am working in Openlayers 3. I have been trying to show a *.json (GeoJSON) layer but it doesn´t work and I don´t know why. debug tool shows this message: My code is: Vector layer ...
0
votes
0answers
15 views

Skipping the string serialization in json.loads(OGRGeometry::ExportToJson())

I have a for loop that exports a bunch of OGRGeometry objects to a python array in what will eventually become a GeoJSON feature collection. Something like this: features = [] for feature in ...
2
votes
0answers
52 views

What is the most suitable way to get the boundary of a state or a country or the whole world dynamically?

I am working on a project where I have to create filled map charts based on the data client has provided. The data has latitude and longitude information. Based on the selected level (city or state or ...
0
votes
0answers
32 views

mongodb $geoIntersects query for all documents who's polygon contains a point. no results?

I am trying to find all documents for a point that is within a document's polygon. using mongoTemplate to set up my geo index. mongoTemplate.indexOps(Boundary.class).ensureIndex( new ...
4
votes
0answers
42 views

Describing borehole information with geojson (javascript)

I deal a lot with borehole information and looking the best way to move it around in javascript / take advantage of javascript libraries (e.g. leaflet) for looking at this information on mobile ...
0
votes
0answers
37 views

How to get GeoJSON properties to appear in openlayers 3 popup when using CLUSTERS?

I'm attempting to get my geoJSON properties to appear in my on-click popup but no matter what I try, it either returns the geometry name object Object or Undefined. I think openlayers stores cluster ...
0
votes
0answers
17 views

how to remove duplicate values geojson on feature.properties.name?, using leaflet oneachfeature

I have duplicate value into select combobox, using oneachfeature and geojson the values are into combobox select, I'm trying to remove duplicate caracteristiscas the GeoJSON to populate within a ...
0
votes
3answers
27 views

Make polygon from area not covered by loaded polygons (like invert selection)

See screenshot, from geojson.io, with a geojson file loaded: So how do we make a polygon out of the blank area? Looking for a way which doesn't involve manually copying selected sequences of ...
1
vote
1answer
48 views

Converting OpenStreetMaps PBF to geojson with geocoding

I am able to convert PBF to geojson, but I lack the additional attributes like state, country, city, suburb, type of business etc which is offered by geocoding service like Nominatim. The geojson ...
0
votes
2answers
26 views

Problem loading geojson file on geojson.io

I am newbie in GEOJSON file. I am having difficulty to load my GEOJSON file on geojson.io. Here is my GEOJSON file : https://gist.github.com/anonymous/0abb8f926977d577b52d. The source file is from : ...
0
votes
1answer
64 views

How to get GeoJSON properties to appear in popup on feature click in Openlayers3?

I have a map with a base layer and a geojson cluster layer. I want to be able to click an individual feature on the map and have the contents of the properties be displayed in a popup. I currently ...
0
votes
1answer
23 views

GeoJSON not being shown

I was trying to add a GeoJSON feature implementing leadlet, but with no avail. Cannot figure out what is going on? <!DOCTYPE html> <html lang="en"> <head> <meta ...
1
vote
1answer
42 views

GeoJSON and OSM layers with different projection

I have a GeoJSON from NaturalEarth for world state boundaries and I want to display it with only without backgroung. But also, I want to add a OSM layer as another baselayer option. The code I am ...
3
votes
1answer
43 views

How do I produce a GeoJSON with 1 point at a certain lon/lat?

I need to create a GeoJSON string, which contains exactly one point at lon/lat 132.159633, 43.350116. I'm trying to use GeoTools 12-RC1 for that. Let's say I have following method, which is supposed ...
0
votes
0answers
42 views

Filter geoJSON layer after it has been loaded

I'm declaring and defining a geoJSON layer first, like: var layer1 = L.geoJson(null, { onEachFeature: function(feature, layer) { ... } }); ..and then loading a CSV into it, like: ...
1
vote
1answer
37 views

Reusing tiles between zoom levels of Leaflet?

I have a Leaflet map with a GeoJSON Tile Layer and a custom backend for serving geoJSON tiles. The geometries returned from the backend are simplified depending on the zoom level, but within certain ...
0
votes
1answer
37 views

Methods for importing GeoJSON feature collection into ArcMap?

I have a GeoJSON file containing a feature collection, with the structure/format validated by http://geojsonlint.com/. What do people recommend as the best way to import this into ArcMap? I have ...
0
votes
0answers
25 views

Leaflet with GeoJSON Tiles and a Partitioned Datastore

I'm looking at displaying a frequently updated (potentially thousands of points per second) global dataset of locations on a tiled slippy map. Functionally I'm just going to be putting a marker down ...
1
vote
1answer
33 views

Rectangle Appears Distorted on Map

When displaying two features, a polygon a (see geoJSON) and its minimum bounding rectangle b (see geoJSON), I get the following result when viewing on geojson.io: The minimum bounding rectangle ...
0
votes
0answers
18 views

Why does R(gdal) mangle data when converting to geojson?

I've encountered issues with projections in .geojson files created by rgdal, but I never thought it would destroy my data, until I tried this (reproducible example): ...
2
votes
0answers
42 views

Is there limit on size of GeoJSON files that can be handled by QGIS? [closed]

I'm trying to load a GeoJSON file with about 5K features in QGIS, and it fails, saying Invalid Data Source without further details. If I remove features down to 1K, it works. Is there a limit on the ...
1
vote
0answers
29 views

No output when rendering GeoJSON using Leaflet() package in RShiny

I am creating a Rshiny interface on that can take in the user input when a user click on a point on the map, query the user's selection from postgresql and return another map layer. The package I am ...
0
votes
0answers
36 views

How to convert a geojson from Postgresql to geojson format readable in rCharts in R?

I am creating a Rshiny interface on that can take in user input and SELECT the respectively map layer from Postgresql database based on the input. The package I am using to plot the map is rCharts. ...
0
votes
0answers
33 views

Querying WMS feature using leaflet

I am using lealflet 0.7, I need to query the features based on attribute and spatially. Is there any plugin available to query the features directly from geoserver. I have already tried this to load ...
0
votes
2answers
45 views

working with geojson and vincent on python

I want to import a geojson file into python so I can map it with a visualization package vincent and merge with other data in a pandas data frame. To be specific, the said geojson file is: ...
0
votes
1answer
44 views

mapbox overlay data

I have loaded my geojson into Mapbox Studio sources and then uploaded it to Mapbox. Now I see my upload under my Data tab on mapbox.com. How do I overlay that Data on my map using the Mapbox ...
0
votes
1answer
107 views

Loading GeoJSON data into an array with OpenLayers 3?

First off I'm using OL 3.6 with no additional plugins. Pretty simple question that I thought would have been asked already/would have been much more readily available, is there a way to store points ...
0
votes
1answer
54 views

covert a shape file to geojson

Is there any method in PHP to covert a Shapefile to GeoJson ? I need to upload Shapefile and convert it to PostgreSQL table. I tried PHP exec(), but it didn't work. Please help me
1
vote
0answers
68 views

Help serializing a postGIS query to geojson

I have a query which I would like to serialize to geoJSON: select article_title, pub_date, city, geom from article, location where article.id = location.id; I can serialize the geom field easily ...
3
votes
1answer
92 views

Leaflet JS add GeoJSON shape as a hole in a polygon

I have a dataset which already contains geojson. I can add it to my map with the following line of code. L.geoJson(data.geojson).addTo(map); And I get this But I want to achieve this, where the ...
4
votes
1answer
64 views

Truly lossless TopoJSON / keep all coordinates in TopoJSON

I'm displaying GPX traces on a Leaflet map. I'm using TopoJSON to drastically reduce file size, which works pretty well. My problem is the following : I want to be able to display altitude and ...
1
vote
1answer
36 views

How can I clean/fix polygons in a Node.js application?

I am working on a simple Node.js application where users can walk around an area with a mobile device using GPS. This track is stored as a Polygon, but sometimes (due to inaccurate GPS signals or ...
1
vote
0answers
20 views

Telerik ajax RadMap

I am using telerik RadMap with client side binding in the OnInitialize client event. Copied from the examples: function OnInitialize(sender, args) { var originalOptions = args.get_options(); ...
0
votes
0answers
19 views

Publishing Linked Datasets Format

This past summer for research I was working on linking the NOAA Rivers Database (http://water.weather.gov/ahps/forecasts.php), The National Atlas Lake Database, and the the USBGN datasets so that ...
3
votes
1answer
73 views

Is there a way to reduce tile processing from Openlayers 3 when user pan & zoom a lot?

I have 2 overlays with local tiles (xyz) on my map. When the user zoom in / out and pan the map intentionally a lot, the app becomes very slow because OL tries to render all the tiles it was requested ...
0
votes
1answer
48 views

Plotting GeoJSON data on map using ArcGIS API for JavaScript?

We are developing the portal in which we are using Arcgis javascript APIs.The requirement in our project is one of the weather provider is going to publish the webservice which will return the weather ...
1
vote
0answers
84 views

Rendering TopoJSON in Leaflet from GeoJSON PostGIS output?

I'm using the query found here SQL query to have a complete geojson feature from PostGIS to get a geojson that I can display on a leaflet map. However, the amount of data is kinda big and the ...