An open geographic data format based off of JavaScript Object Notation

learn more… | top users | synonyms

0
votes
1answer
11 views

How to obtain the shape or width of a road in GeoJson

I'm new to openstreet maps and the geojson format. I'm drawing buildings and roads using GeoJson. A Building is represented as a Polygon, thus i can create the proper geometry as needed, but a Road ...
1
vote
0answers
15 views

JSON Layer does not show when .setview Changes

I've set a Mapbox map with a geoJSON layer overlaying it. The problem is that with the default set values, the json layer shows up just fine. However, If I change the .setView too much, the json layer ...
3
votes
2answers
86 views

Read (GEO)JSON file from web service using FME Desktop

I have a webmap of bike stations and there is a json service for these stations behind the map. It is possible to provide this URL as the source dataset, using FME Desktop? Does FME Desktop support ...
0
votes
1answer
18 views

Leafletjs : combine location data in geoJSON/KML/GPX with other information in CSV through key field

I've been able to load CSV having lat-long co-ordinates into leaflet using this useful solution. Looking for ways to cross-link co-ordinates from a different source and data from another. Describing ...
1
vote
0answers
16 views

QGIS/GeoJSON: Dissolve featurecollection consisting of polygons and multipolygons into a large multipolygon

I've read this question. I would like to know how to do this in QGIS. I have a Geojson file with a featurecollection, starting with: ...
0
votes
0answers
23 views

Javascript - Problems getting GeoJSON from Geoserver

I already read other posts regarding this topic. However, I cannot make it run. This is what I have: var geoJsonUrl = ...
2
votes
3answers
51 views

GeoJSON Rendering in Leaflet

I have published a wms using the QGIS Cloud and on top of it I am overlaying the same data (countries of Europe), using GeoJSON. Have a look at an example here: http://jsfiddle.net/j21kh7ao/ At a low ...
0
votes
0answers
13 views

Any other FuseSearch.js examples in Leaflet?

Have been researching about using FuseSearch and using this example. The only difference is that am using polygons.Its working well but not highlighting polygons on results click. Has anyone done a ...
2
votes
3answers
115 views

FME and elasticsearch

We are developing a system to disseminate information about roadkills. The source data comes from three different databases. We have set up a FME project which pulls geojson from the source databases, ...
0
votes
1answer
48 views

How to export point geomtery geojson from QGIS?

I want export geojson (from shapefile), for leaflet project. But QGIS 2.6 exported geojson is multipoint geometry(leaflet doesn't read that), so its way to export point geometry geojson from QGIS?
1
vote
0answers
27 views

How to get geoJSON from spring REST Controller?

I am developing a GIS application with java(Spring-4.1.5 + Hibernate-4.3.8) and OpenLayers. For this project I use GeoTools-13RC, HibernateSptial-4.3, jts-1.13 and jackson-2.5. In this project, I have ...
0
votes
1answer
31 views

Is there a website that has collection of GeoJSONs? [closed]

I specifically look for GeoJSON for all dry lands in the globe.
1
vote
0answers
16 views

How get geoJson layer whit geoTools? [duplicate]

I have a class in java: "MyPoint" Class: @Entity @Table(name="MyPoint") public class MyPoint{ @id @GeneratedValue(strategy = GenerationType.IDENTITY) private Long Id; @Column ...
1
vote
0answers
23 views

GeoDjango Setup: Python 'GDALAllRegister' Attribute Error

I am trying to setup Geodjango 1.8 in a virtualenv with Python 2.7.9 (Win32). I have installed and setup Postgres/PostGis and have my Path setup to my OSGeo4W directory. I have also installed the ...
0
votes
1answer
23 views

Batch Edit GeoJSON Markers with Mapbox.js

I cannot figure out how to style all feature points from a local GeoJson file at once using the Mapbox.js. My GeoJSON file has roughly 500 points. I could go through each point in the GeoJSON file and ...
4
votes
1answer
34 views

Dump a GeoJSON FeatureCollection from Spatialite query with Python

Given a Spatialite database, holding a table with a geometry column and some other attribute columns. I want to query that table in a Python script and get a GeoJSON FeatureCollection string in return ...
0
votes
1answer
33 views

Querying GeoJSON polygons from Django models in Leaflet?

Am developing an application in GeoDjango and using Leaflet to show my data.I have loaded my data successfully into the map and added a sidebar where I have my textboxes to input values and a search ...
0
votes
1answer
18 views

How to add hyperlink in geojson popup in Leaflet?

I am trying to add a geojson layer with interactive functionality to my leaflet map. I am mostly using this (dated)blog: ...
0
votes
1answer
12 views

Geojson mapevent second mouse click

I am trying to add a geojson layer with interactive functionality to my leaflet map. I am mostly using this (dated)blog: ...
1
vote
3answers
61 views

How to delete a feature from a GeoJSON with Python

Given a GeoJSON like following: { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": { "city": "city1" }, "geometry": { ...
1
vote
1answer
29 views

Adjacency matrix from polygons in GeoJSON

I have a set of polygon features in a GeoJSON file. They are neigbourhoods in Chicago. I would like to produce an adjacency matrix A, in CSV format or any other form, where the i,j element of A is 1 ...
1
vote
1answer
23 views

Loading Vector data into OpenLayers3 from Geoserver

I'm using Geoserver to serve my spatial data which is being displayed using OpenLayers 3. I've so far been able to load my data as TilesWMS from my geoserver, but in order to select the data I need ...
1
vote
1answer
79 views

Store a GeoJSON FeatureCollection to postgres with postgis

I am new to GeoJSON. I have a GeoJSON features collection as shown and would like to store it in postgres table (testtable). My postgres table has a serial id and geometry column. { "type": ...
0
votes
1answer
44 views

Display more than 1000 lines on web map

I've a scenario that I need to display many lines on the map (for instance all road links of Manchester in UK). I am using Leaflet as map plugin. I use geoJSON as source of data, when I try to load ...
0
votes
1answer
71 views

open layers 3 problem with feature overlay and

Edit -- I left out some very relevant information in my first post. I realized the issue I'm having isn't because of the counties layer itself but of the Feature overlay that is created when the user ...
1
vote
1answer
47 views

How to nest GeoJSON features based on their geometry in javascript?

I have a GeoJson object with polygon features. Some of them have same geometry. They look like this: squareData = { "type": "FeatureCollection", "crs": { "type": "name", "properties": { "name": ...
0
votes
1answer
73 views

Request JSONP from Geoserver using AJAX request in Openlayers 3

I am creating a web application using OpenLayers 3 and I am looking to import my vector layers into this. I currently have my data in Geoserver and I am trying to use the following code, but when I ...
0
votes
0answers
42 views

Error when trying to bind popup on geojson, failed to execute 'appendChild'

I'm trying to load more than 13 thousand points in leaflet from a geoJson file, everything seems to work just fine except the Popup function. I've looked everywhere for a solution and most answers out ...
2
votes
1answer
63 views

Accessing geojson properties using OpenLayers3

Is it possible to access geojson properties using the OpenLayers library? I tried to search for it but couldn't find any proper answer. According to my research, the library converts each geojson ...
2
votes
4answers
133 views

How can I publish a Google Sheet to the web as a GeoJSON file?

I am trying to create a map in Mapbox to be embedded on a website and have the embedded map automatically update every time the source data is updated. I have my source data in a Google sheet and have ...
1
vote
0answers
19 views

How widely supported are nested FeatureCollections in GeoJSON?

I know that FeatureCollections inside FeatureCollections are not supported according to the GeoJSON spec, but I have seen multiple implementations that do support it. Are nested feature collections ...
0
votes
0answers
32 views

GRIB data interpolation

I've been wrangling around in GFS grid based data (GRIB - mostly 0.5 degree resolution). I'm interested in plotting these by converting to geojson with ogr2ogr (which is quite easy). However, is there ...
1
vote
1answer
42 views

dissolve polygons of GeoJSON with gdal/ogr

I have a GeoJSON with only polygons in it. I have to dissolve (merge) the polygons with the same "DN"-value. I found out that you can do it with shapefiles like this: ogr2ogr outputfile.shp ...
0
votes
1answer
30 views

OpenLayers not displaying GeoJSON layer with features added after the fact

I have a vector layer with a GeoJSON source layer. OpenLayers isn't showing the layer when I try to add features using the addFeatures method: myGeoJSONObject = { /* some GeoJSON */ }; editLayer ...
1
vote
0answers
31 views

Merge multiple geojson-polygons

Lets say I have a very big image With a polygon in it: I want to polygonize this very big image with gdal polygonize. But the image is too big, so I dont have enough memory to polygonize that ...
0
votes
0answers
20 views

Working with Google Maps Android API v2 and WKB

I have a service which returns a list of routes (geometrycollection of linestrings) in WKB format. I want to display the routes on the google maps android api. What's the right way to achieve that? ...
0
votes
1answer
43 views

Leaflet Geojson Styling

How can external Geojson feeds be styled in leaflet? To add my external feed I'm using the snip below: var mygeojson = new L.geoJson(); mygeojson.addTo(map); $.ajax({ dataType: "json", url: ...
1
vote
1answer
42 views

Mixing POINT and MULTIPOINT in PostGIS table

I'm trying to load a bunch of GeoJSON files into one PostGIS table. I get this kind of error: Warning 1: Geometry to be inserted is of type Point, whereas the layer geometry type is Multi Point. ...
2
votes
5answers
116 views

What are some ways to convert a csv file to geojson while preserving data types?

Assuming said csv file is properly structured with Latitude and Longitude. I'm having problems find converters that won't mess up the data types (putting string around integers).
0
votes
0answers
25 views

Join GeoJson with additional info files

I have a GeoJson-file [1] with multiple polygons exported from OpenStreetMap that will be updated regularly and I want to add additional information (to the properties) from another file [2] (JSON ? ...
0
votes
0answers
16 views

How do I begin creating my open layers Web Map? [duplicate]

I'm completely new in the world of web mapping. I am however determined to learn and create a web map within a month or less. I have some geographical areas that have sites (Solar PV Sites) I want to ...
0
votes
1answer
41 views

Mapbox.js setStyle differently for each element

I'm using geoJson in a featureLayer so I can use the setFilter-Function. My question is: How can I use the setStyle-Function and give Elements with different properties different colors? My Code: ...
0
votes
0answers
20 views

Subtract parts of polygon that overlap with ocean

I have some seismic data in format of shapefiles/geojson. The data has no relevance in the oceans so I am looking to strip away those parts of the polygon. What I am currently doing is using the ...
0
votes
1answer
41 views

Converting JSON to GeoJSON MultiPoint using `ogr.CreateGeometryFromJSON`

I am trying to convert a JSON array to a geom in Python, by first converting it to a GeoJSON. I have point coordinates in a JSON array, [{'lat':100.0, 'lng':0.0},{'lat':101.0, 'lng':1.0'}] that ...
1
vote
0answers
41 views

create image out of geojson (gdal_rasterize?)

Short version: I need to know how I can convert a .geojson-file to an according .png-file (or any other image format) long version: I have a .geojson which was created by gdal_polygonize from a .png ...
1
vote
0answers
54 views

Global POI database in JSON format?

Does anyone knows if there is a flat file database of points of interest in a json format somewhere available for download? If not how would one set off to create such a database? Are there any tools ...
1
vote
1answer
40 views

Parsing large GeoJson geometry to WKT

I'm reading a very large json file as an InputStream in Android with JsonReader. This json has a geometry object like so.. "geometry":{ "type":"MultiPolygon", "coordinates":[ ...
0
votes
0answers
53 views

Openlayers 3, geosearch type function

I'm still new to Openlayers 3 and I am wondering if it has a control that enables a text search for WFS? Something similar to leaflet's "geosearch" control. If not, does anyone have a good example ...
0
votes
1answer
55 views

allow client to upload Layers to Openlayers 3

I want to allow the clients to add vector layers in form of a geojson to openlayers 3. It should look like in this fiddle . I know how to add multiple layers but I want the client to be able to add a ...
0
votes
0answers
23 views

Bulk geocoded data of historic empires / countries of the world?

Is there an open dataset (of the likes of Pleidas) which provides geojson data (or similiar) of empires / areas of the world? There was a similar question here (link), however, I am looking for a ...