An open geographic data format based off of JavaScript Object Notation

learn more… | top users | synonyms

3
votes
4answers
638 views

Can ArcPy's AsShape be used with GeoJSON FeatureCollection of Polygons with Labels?

The AsShape documentation provides examples that work very well. However, I have been given what I believe to be valid GeoJSON that is a FeatureCollection of two polygons each with a Label. It ...
1
vote
2answers
900 views

Convert ArcGIS Javascript api Geometry Object to GeoJson [duplicate]

Possible Duplicate: How to convert ArcGIS Server JSON to GeoJSON? How to convert ArcGIS Javascript api Geometry Object to GeoJson using Javascript?
1
vote
1answer
301 views

Polymaps / Tilestache tiling grid mismatch

I have set up a basic PostGIS / Tilestache / gunicorn / nginx / Polymaps test environment, rendering my dataset from PostGIS to GeoJSON and shipping it out to be rendered in Polymaps. That works ...
4
votes
2answers
1k views

Using QGIS, how can I add a bounding box attribute?

I have a shapefile where I am exporting the features to GeoJSON objects with ogr2ogr based on a simple where clause. One thing that I would like to be included in the GeoJSON object is the 'bbox' ...
0
votes
1answer
2k views

Building Floor Plan map using OpenLayers and json

How to show map of building floor plan using OpenLayers and json. moreover, i want to know that how to change features dynamically with zoom based from json files. Let's take example, Initial the ...
2
votes
3answers
597 views

How to create a efficent linestring out of geography points using postgis

I'm trying to create a linestring out of geography points. At the moment I'm doing it like this: select ST_GeographyFromText(ST_Makeline(a.record_point)) from ( select (record_point::geometry) from ...
2
votes
1answer
1k views

How to render GeoJSON tiles from Tilestream for polymaps?

Have been using polymaps successfully till now. Need to generate GeoJSON tiles for Canada Provinces. Found Tilestream and got it working with Tilemill. Is there a way I can make Tilestream hand ...
7
votes
4answers
7k views

Source for GeoJSON data for the US

Does anyone know of any good sources for US data (counties, congressional districts, etc) in GeoJSON format? Has anyone converted public-domain shapefiles/sources to GeoJSON that they would be willing ...
10
votes
1answer
3k 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 ...
0
votes
1answer
2k views

Data request to GeoServer: “Could not determine geoserver request from http request GET /geoserver/ows?service=WFS HTTP/1.1”

I am using ExtJS ajax to send a data request to geoserver (which is in another domain different from web server), codes are as follows: Ext.Ajax.request({ //send data request url : ...
1
vote
1answer
577 views

How to update GML layer without reloading local file?

I set up a GML layer with local GeoJSON file as data source: veclayer = new OpenLayers.Layer.GML("vector", "localfile.json", { format: OpenLayers.Format.GeoJSON, strategies: [new ...
10
votes
4answers
1k views

Alternatives to ogr2ogr for loading large GeoJson file(s) to PostGIS

I have a 7GB GeoJson file that I would like to load into a PostGIS database. I have tried using ogr2ogr but it fails because the file is too big for ogr2ogr to load into memory and then process. ...
4
votes
1answer
2k views

What's up with the GeoJSON spec and CRS as a IRM?

I'm writing a web API to our GIS data, currently revamping our geocoding service. I'm creating the option for folks to specify the output type as GeoJSON so I'm trying to follow the spec. Our data is ...
10
votes
2answers
3k views

How to Export Feature GeoJSON from PostGIS

I'd like to do a GeoJSON dump of a PostGIS table, but I want to export features (the geometry and the properties) not just the geometry. I've been digging into the ST_AsGeoJSON function but it looks ...
6
votes
3answers
424 views

What is the intended Behavior of -skipfailures in ogr2ogr?

I am trying to run ogr2ogr to convert some geojson to shapefile. All is good until any of the geojson features have an invalid geometry (for example, the coordinate array of point geometry is empty). ...
13
votes
3answers
4k 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 ...
10
votes
2answers
4k views

How do dissolve polygons from shapefile using open source tools?

In my current project I'm visualizing data on a map representing some values for each administrative areas of a country. I'm given a shapefile of this country, which I'm converting to GeoJSON for use ...
9
votes
1answer
2k views

Setting up TileStache

I want to set up TileStache, but I'm new enough to the world of GIS to find the TileStache docs a bit impenetrable. I've just about figured out that I need to run tilestache-server.py -c ...
6
votes
2answers
885 views

Generating GeoJSON tiles from GeoDjango - basic overview?

I'm working with the glorious PolyMaps and I want to build a map similar to the population example. I understand that this needs GeoJSON tiles. I have a GeoDjango database, with a bunch of County ...
14
votes
9answers
9k 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 ...
4
votes
2answers
1k 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 ...
3
votes
1answer
950 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, ...
8
votes
1answer
1k 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 = ...
10
votes
2answers
2k views

polymaps & poly… polygons

I've been playing with Bing Maps + Polymaps recently. It has become apparent that Bing is the only mapping resource available to Polymaps that includes satellite imagery. Is this true? I am trying ...
19
votes
3answers
6k views

How to store lines and polygons in JSON documents?

Looking at the increasing NoSQL movement and considering that databases like MongoDB offers a new perspective in flexible data storage for GIS. What is the best way to store lines and polygons in ...
9
votes
4answers
3k views

Trying to find a .NET GeoJSON library

I'm trying to find a .NET GeoJSON library which I can use to export my SqlServer2008 spatial boundaries (in binary format -> eg. STAsBinary()) from my .NET code to my HTML frontend to display on a ...
1
vote
2answers
328 views

OpenLayers data moves when panning map

I have an OpenLayers map. On to this I have loaded a GeoJSON file. When I pan the map the GeoJSON data moves relative to the basemap. Surely this isn't right! Can anyone shed some light no why ...
3
votes
3answers
1k views

Definitions and limitations of MapInfo TAB file objects

I am working on a MapInfo plugin to convert MapInfo files to GeoJSON files. I am having trouble matching up the object types of the two formats. Each GeoJSON object type is described in the ...
6
votes
2answers
1k views

Converting MapInfo TAB to GeoJSON

Is there an easy way to convert MapInfo TAB files into GeoJSON? I am working on a web-based mapping system which will use GeoJSON to transfer data. I also use MapInfo and would like to be able to ...
8
votes
2answers
933 views

Future for geospatial on App Engine?

2 years ago, this question was posted here at Gillies's blog, on date of 2009-05-15. Future for geospatial on App Engine? At that time there was no news relating to any apps of GIS web services ...
13
votes
4answers
5k 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 ...
9
votes
6answers
3k views

Is there an existing library for converting ArcGIS Features to Json?

Is there an existing library for converting ArcGIS IFeature types to and from Json/GeoJson?