2
votes
1answer
35 views

Unicode Decode Error for shapefile in Python

I have Python script for converting shapefiles to Geojson. My code works well if I use some usa data, but when I want to use some other encoding, it gives me this error: Traceback (most recent ...
2
votes
1answer
33 views

GeoJSON and HTML/JavaScript vs Shapefile and Silverlight

I'm developing a map application (Several shapefiles with OpenstreetMap or BingMap on background and some dynamically generated features on the map). I'vs created some part of it with Telerik RadMap ...
3
votes
1answer
25 views

Lambert_Conformal_Conic: converting from shapefile to geojson fails

I have a shapefile that also contains a proj file that looks like so: PROJCS [ "MGI_Austria_Lambert", GEOGCS [ "GCS_MGI", DATUM [ "D_MGI", ...
1
vote
2answers
41 views

Row-crop field boundaries

I'm on the hunt for field boundary coordinates in the US in the form of GeoJSON, a Shapefile or any structured format that I can use to overlay on a map. I've tried looking at the US Department of ...
1
vote
2answers
23 views

Converting Shapefile data to GeoJSON

I have access to some open data for which I want to obtain some coordinates to put onto a map. Unfortunately, the data is in the Shapefile format which is rather difficult to work with. I am trying to ...
-1
votes
1answer
47 views

What is the best conversion tools?

I need to obtain a lot of base map in the following formats from a PostgreSQL DB: *.shp *.tab *.js (GEOJSON) I know that ogr2ogr is able to obtain these formats type. Do you know of other tools ...
0
votes
1answer
57 views

Optimum set up for large data sets such as mobile service coverage maps [closed]

When serving up large data sets such as mobile coverage maps (custom tile) mashed up with MapQuest maps and MapQuest POIs, is there any performance benefit to using shape file VS WMS tile PNGs? Any ...
1
vote
1answer
28 views

How to limit GEOjson data to specific area?

I am currently working with a shapefile from the United States Drought Monitor that countains all drought data from all of the states in the US. I am converting it to geojson with ogr2ogr and would ...
1
vote
2answers
82 views

Georeferencing Vector Layer (shp) from Mollweide Projection to Custom CRS in QGis

the title might be a little complex. Its part of a massive project: I'm working on a fantasy world; a map, to be more specific. I basicly just started to paint a world map in Photoshop, but over time ...
0
votes
1answer
57 views

Filter geojson or shapefiles

I'm trying to create a geojson file with a few shapes of roads from OSM. Now, I've been able to get shapefiles of the greater region (province) these roads are in from http://download.geofabrik.de/ . ...
0
votes
2answers
49 views

Is there any way to use open source tools to make sure that lines on a map dont overlap?

I am a generalist developer getting the hang of basic gis. I made this geojson map by clipping and converting different shapefiles. The problem is that the precincts of New Orleans extend into the ...
2
votes
3answers
161 views

ShapeFile to GeoJson conversion

I am working with OpenLayers. I want to convert ShapeFile into GeoJson format and send it to browser to show with OpenLayers. But problem is when the size of my shape file is so big like 60MB or ...
2
votes
1answer
177 views

Converting JSON/GeoJSON files to Shapefiles

I have a quick question please about converting JSON/GeoJSON files. I'm trying to convert some JSON files into something I know how to work with (shapefile, R objects or PostGIS). I'm afraid I have ...
2
votes
3answers
143 views

How to get a bbox selection of huge shapefile as GeoJSON?

I have a 4.29 GB Shapefile from which I want to extract features as GeoJSON, defined by a bounding box. This should be as fast as possible, because I want to use it in a web application. My first ...
0
votes
0answers
28 views

Find area that it's in one GeoJSON file but not the other

I have two GeoJSON files, A and B. The features in A contain everything in B, and more (they're contour lines, and A is a lower elevation). How can I get the difference between the two files? As ...
0
votes
1answer
154 views

Why do Shapefiles and GeoJSON behave differently in GDAL Python?

I have a test.shp. I loop over the file, buffer the features, and write the buffers to a new file. I tested writing the buffers to a Shapefile and to a GeoJSON. If I try to use the new buffer layer ...
5
votes
1answer
196 views

Python3 libraries for GIS analysis

I am trying to do some spatial data analysis in Python 3 now, and I was wondering what the best libraries are for GIS in Python 3. The Fiona library was developed with Python 3.3 but the Python 3+ ...
5
votes
2answers
301 views

Can we merge shapefiles with different geometries (point and polygon) to get a single layer which shows both geometries?

I want to merge two shape files in which one is of point geometry type and other is polygon type in order to get a single layer containing both points and polygon in a single map.
4
votes
1answer
414 views

Geotools: Efficiently writing a GeoJSON stream into a Shapefile

I've been trying a few solutions to efficiently convert GeoJSON into a shapefile without having to store all features in memory. I'm using GeoTools 9.2. The problem is not so much in how to stream ...
0
votes
0answers
271 views

Continents geometry data / extracting contours of continents from country geometry

I have an ESRI Shapefile data from Natural Earth (Admin-0 Countries). I converted it to geoJSON format. There is no world or continents geometry there, only the county one. And I'd like to extract eg. ...
2
votes
1answer
107 views

Which fields are standardized to describe a ShapeFiles feature?

I would like to store data into a database which is available here either as JSON or as ShapeFiles. The JSON looks something like this: { "type": "FeatureCollection", "features": [ { ...
1
vote
1answer
314 views

Looking for a GeoJSON describing the french departments

Is there any place where I could find a GeoJson describing the borders of the french departments, or do I have to convert a .shp file?
2
votes
1answer
261 views

Kartograph Open Street Maps

Firstly, congratulations to Gregor Aisch for creating such a wonderful library, thank you! I am having a little trouble rendering an svg from some osm data. I downloaded the Sweden transportation ...
1
vote
4answers
285 views

Does shapefile or MapInfo TAB have advantage as source format for OGR conversion to GeoJSON?

I'm relatively new to OGR and GIS in general. Most of the sources I look at give a choice of ESRI shapefile and MapInfo formats. I'm using ogr2ogr to convert these to GeoJSON for import into ...
0
votes
1answer
156 views

Saving part of OSM shapefile in QGIS as GeoJSON strips 'name' field to 25 characters long [duplicate]

I want to copy part of OSM data in ESRI Shapefile (downloaded from http://download.geofabrik.de/europe/ukraine.html ) and save in in GeoJSON to style later in Tilemill. After saving, I see that ...
1
vote
1answer
76 views

BBox missing when converting TIGER to GeoJSON

I can't get the bounding boxes of polygons if TIGER/Line shape files when converting them to GeoJSON using FWTools. The other default information is present and there is no difference between the ...
2
votes
2answers
631 views

GeoJSON to Shape file conversion with geotools

Can someone please provide me an example of how to convert GeoJSON to Shape file using geotools?
2
votes
1answer
129 views

Natural Earth: How to get the position of all provinces that belong to a state

This question is about Natural earth 1:10 states and provinces.shp file. I'm using ogr2ogr and want to know the name of the id i need to pass . In purpose of pulling out the right states regions. ...
1
vote
3answers
1k views

Exporting 2 shp layers to geojson using quantum GIS

I will explain with an example: I have 2 shp files for Tanzania. Tanzania inland waters http://www.diva-gis.org/data/wat/TZA_wat.zip Tanzania administrative boundaries ...
8
votes
4answers
1k views

GeoJSON too bulky - what to do?

I am using leaflet.js to allow web users to select a region. Valid regions are US states, Canadian providences, and world countries (except for US and Canada). I constructed a shapefile myself using ...
10
votes
3answers
5k views

How to create a GeoJSON that works with D3?

I'm simply trying to convert a .shp file to a geoJSON format using: ogr2ogr -f geoJSON output.json input.shp After executing the command nothing seems to be wrong. Here's an excerpt from the ...
5
votes
1answer
761 views

Working examples of Leaflet/Polymaps with GeoJSON tiles generated from Tilestache using Shapefiles?

I'm looking to create choropleths using GeoJSON tiles generated from ESRI Shapefiles by TileStache(or similar), in either Leaflet or Polymaps. So far reading and drawing GeoJSON from both Leaflet and ...
12
votes
2answers
6k views

ogr2ogr converting to shapefile - how to select feature types?

Shapefiles can only have one geometry type, but many other formats (kml, geojson) can have multiple types. When converting to shapefiles, is it possible to to tell ogr2ogr to create multiple ...
2
votes
4answers
4k 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 ...
1
vote
0answers
45 views

How to load GeoJSON files directly onto QGIS? [duplicate]

Possible Duplicate: Plugin or script to get QGIS to display geoJSON in a layer Is there a way to do this? Or is there a way i can put it onto PostGIS and then load it onto QGIS? I actually ...
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' ...
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 ...