An open geographic data format based off of JavaScript Object Notation

learn more… | top users | synonyms

0
votes
0answers
11 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
17 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 ...
0
votes
1answer
19 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
1answer
14 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
23 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
19 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
26 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
32 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
20 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
24 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
21 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
15 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
29 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
15 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
30 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
19 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
23 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
17 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
35 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
33 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
73 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
43 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
57 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
56 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
50 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
23 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
16 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
16 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
60 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
40 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
63 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 ...
0
votes
1answer
42 views

Convert Leaflet WMS layer to Leaflet GeoJSON layer

Using the Leaflet API I am adding a WMS layer through the L.tilelayer.WMS feature. This feature includes only a certain amount of options such as 'layers','crs','style' etc. Through the Leaflet ...
0
votes
3answers
63 views

How to load geojson from geoserver to define a variable in leaflet?

How can I load a geojson file from geoserver in leafletjs? There are lot of suggestions out there, but none of them work for me. Currently my app loads a js file from the server that starts like ...
0
votes
0answers
10 views

Code for displaying a layer on the map from an external GeoJson file [duplicate]

Can anyone please help me with the code for displaying a layer on the map from an external GeoJson file that is stored in the same directory as my html page and for retrieving the GeoJson file from ...
1
vote
1answer
75 views

Openlayers 3.5.0: Problems with GeoJSON in IE11

I seem to have a problem with loading a geojson-file as source for a layer in IE11 using openlayers 3.5.0. IE11 throws an error without any description. The problem seems to occur when the geojson is ...
0
votes
2answers
49 views

How to reduce large dataset for processing by Tippecanoe and upload to Mapbox

I'm a masters student at the University of Washington without any background in geo, so if this question seems naive or unclear, I apologize. Please let me know if I can add any information for ...
0
votes
0answers
58 views

OL3 bbox strategy on geoJSON vector layer?

I try to improve my current OL-3 webmap to load less payload using the bbox strategy. So I altered my code similar to the bbox examples out there: overlayGroup.getLayers().extend([ new ...
0
votes
0answers
15 views

What wrong with this addfeatures (geojson) method into vector source object code?

The following code intends to load geojson objects into a vector source, these objects are previously created as the output of a php routine: var vectorSource = new ol.source.ServerVector({ format: ...
2
votes
1answer
73 views

parse geoJSON using bounding box and Openlayers 3

I have used Openlayers 3 to give me a bounding box extent and then make a WFS call to Geoserver using those extents and returning a geoJSON and it has worked perfectly, giving me the features within ...
0
votes
1answer
20 views

OpenLayers doesn't display US Census-based GeoJSON Layer

I'm getting started with OpenLayers and all was going well until I tried to use my own GeoJSON file. I started with the Cartographic Boundary Shapefiles - Counties from the Census website, loaded it ...
0
votes
1answer
21 views

Where can I find world map shapefiles/GEOJSONs/KMLs for 1950-2015?

I'm looking for world maps showing countries from 1950-2015. Are there shapefiles, KMLs or GEOJSON files of these?
0
votes
1answer
20 views

use a global geoJson layer in leaflet

i´m using getJSON to draw points in leaflet, this is the code: function cargarpapes(movibles){ $.getJSON("papeleras1.php", function(data) { papesjson = L.geoJson(data, { ...
1
vote
1answer
55 views

Is there any method to retrieve SQL queries into a GeoJSON file using JSP?

I want to display the contents of my PostGIS database of various shape-files in leaflet pop-up dynamically. I know there are static methods available that retrieves attributes. But I need to by ...
1
vote
0answers
27 views

How not to enforce lowercase field names in Spatialite?

I use a geojson file to publish a webmap. When I need to update the data I convert it to Spatialite, add the data, then convert back to geojson. Recently in QGIS 2.8 I found that the column names ...
0
votes
1answer
72 views

Leaflet map - custom markers from CSV and referring to CSV / GeoJSON marker properties?

I run a non-profit online resource called the Megalithic Portal and have created a Leaflet map that uses Leaflet.geoCSV to load in points from a CSV file github.com/joker-x/Leaflet.geoCSV To see ...
0
votes
0answers
69 views

GeoJson and D3.js multipolygon

I have this geometric shape file, so no map of a city. I store the two Shapefiles in a GIS database as a geometric form. Now, I want to visualize the geojson data. I created the GeoJson data ...
0
votes
0answers
19 views

Cannot draw geometery on WorldWind

I'm trying to draw my geometery on worldwind but it keeps saying WARNING: Unspecified coordinate system and draws a default blue line in the middle of nowhere. The procedure is that I populate ...
0
votes
0answers
37 views

How can I convert a geojson file to topojson in R?

I have tried the geojsonio package but it does not allow me to convert my geojson to topojson format. I know there are web applications available online to convert from geojson to topojson, but my ...
1
vote
1answer
54 views

Function to merge geojson and csv data in R

I have been using merge() to merge my geojson file with csv data in R. My codes are as follows: map@data <- merge(map@data, csvdata, by.x="ID", by.y="ID") However, after exporting the geojson ...
0
votes
2answers
54 views

How to store a drawn feature in OpenLayers?

I have found a draw tool in OpenLayers-3 which allows us to draw on a map (see http://openlayers.org/en/v3.2.0/examples/draw-features.html). Is there an API in openlayers to store the drawn feature in ...