An open geographic data format based off of JavaScript Object Notation
8
votes
5answers
3k views
How to convert ArcGIS Server JSON to GeoJSON?
I'm creating a web map using Leaflet, and I want to be able to grab feature layers from our ArcServer. I have successfully been able to retrieve a feature class as JSON, but Esri's JSON objects don't ...
12
votes
3answers
2k views
Converting SimpleGeo Places GeoJSON file to shapefile?
SimpleGeo has recently made their "Places" data set freely available which is GREAT, because now we can use it for our own purposes, even offline. So I went about downloading the 2GB dataset, which ...
11
votes
4answers
4k views
Create Vector Tiles for Polymaps
Ok, likely my bad for not making it to WhereCamp5280 and asking the FortiusOne geeks directly, but what's the process for creating GeoJSON 'tiles' for use in Polymaps?
The Population example over at ...
8
votes
1answer
596 views
arcpy.geometry __geo_interface__ and AsShape() function: loss of precision and holes
I'm serializing my arcpy geometries as geojson so that I can 'hydrate' them back as geometries later and I'm having 2 problems in the cycle.:
PROBLEM 1: Precision
R0 = ...
7
votes
1answer
1k views
How to display geoJSON from an URL in a layer?
I am looking for some type of plugin or code which would allow me to add a geojson URL, define the areas to input the lat/long variables from the visible Qgis canvas map and call/render the results ...
5
votes
3answers
693 views
GeoJSON Styling information
As far as I can see there is nothing in the GeoJSON standard to store styling information, i.e. line colours, thicknesses etc.
Am I missing something or is this just something that GeoJSON doesn't ...
4
votes
3answers
84 views
How to insert a GeoJSON polygon into a PostGIS table?
I need to insert a polygon from GeoJSON to my PostGIS table. This is how the SQL query looks like.
INSERT INTO tablename (name, polygon)
VALUES
(
'Name',
ST_GeomFromGeoJSON
(
{
...
4
votes
2answers
796 views
GeoJSON/GeoCouch questions from a newb [duplicate]
I am new to JSON and GeoJSON and would like to start to use this but I am a little confused about some things. Perhaps you can help me out:
1) Is there a GeoJSON validator out there?
2) Is the text ...
2
votes
1answer
2k views
How do I get GeoJSON data from GeoServer into show up on my Leaflet map?
I'm trying to create a simple "Green" map for my city. The idea being that it is a website with a map and layers you can turn on and off. I am serving the data through GeoServer and am using GeoJOSN ...
2
votes
1answer
625 views
Parsing a GeoJSON file with jQuery
I'm trying to iterate through a GeoJSON file (below) and eventually populate an array with a few attributes within "properties". I keep coming up short working through various examples I can find. Do ...
1
vote
4answers
2k views
How to convert SHP into GPX or JSON?
I would like to convert the tree inventory shape files of London (Canada) into a GPX file and if possible into a JSON file. You can download the archive from their Open Data website. It contains the ...
5
votes
2answers
1k views
How to Validate a GeoJSON
I have a small script that I'm using to generate GeoJSON data from a data format not currently supported by GIS software.
I would like to validate the output, but when I use ogr2ogr to read it, it ...
5
votes
2answers
594 views
Generating GeoJSON with Python
Hi I want to programatically create a GeoJSON file using polygons from a shapefile but adding attributes from my own application.
This is easily done for a shapefile:
def ...
2
votes
1answer
720 views
OpenLayers GeoJSON Data Store
Background: I have a single geoJSON data object that backs multiple Vector Layers of its features. I do this because the feature data has many attributes and can be presented in many different ways, ...
1
vote
1answer
421 views
How can I add an infowindow to an OpenLayers GeoJSON layer?
In my OpenLayers script I refer to an geojson layer. Is it possible to add an info window?If yes, how can I create this. Script is as follows:
var lon = 5,
lat = 52,
zoom = 7,
epsg4326 = ...
4
votes
1answer
618 views
Open a GeoJSON file with QGis
If I have a GEOJson file, for example a file named test.js with inside the following:
{ "type": "FeatureCollection",
"features": [
{ "type": "Feature",
"geometry": {"type": "Point", "coordinates": ...
2
votes
2answers
265 views
how we create line between two cordinates on polymap?
I am working on d3 and polymaps, I plot map and create circle on the given latitude and longitude which retrieves from the JSON file but now I want to connect those circles with line. I tried to do it ...
0
votes
1answer
36 views
PostGIS error reads “Geometry has Z dimension but column does not” [duplicate]
I try to store a polygon in GeoJSON format into my PostGIS table. Both are using the CRS EPSG:3857. This is how the polygon is defined. Note that I put in some whitespace to make it more readable.
{
...
0
votes
2answers
722 views
leaflet and geojson tiles
New to mapping.
Trying to create a heat map with data that updates every hour for US Counties with leaflet.js similar to http://leaflet.cloudmade.com/examples/choropleth-example.html. But, adding ...

