Questions tagged [topojson]

TopoJSON is an extension of GeoJSON that encodes topology.

Filter by
Sorted by
Tagged with
36
votes
2answers
14k views

Convert GeoJSON to TopoJSON

Question How do you convert GeoJSON data to TopoJSON? Why Topojson files are often smaller than geojson and the conversion allows you to incrementally simplify a dataset, if you wish.
18
votes
1answer
5k views

What is topojson and how is it different than geojson?

This is a conceptual question. What are the differences between these? and what are the pros and cons of these formats?
6
votes
2answers
3k views

Which plugin can draw topoJson right within Leaflet without conversion?

I already have asked how to reduce file size and increase performance for publishing spatial data on the web using Leaflet, here. A conversion to TopoJSON has reduced the file size by approximately ...
5
votes
2answers
3k views

OGR merge shapefiles of different geom type into a single GeoJSON feature collection

I'd like to merge shapefiles of different geometry types into a single geojson feature collection, but OGR says it doesn't support update of GeoJSON files: $ ogr2ogr -f GeoJSON -t_srs crs:84 -lco ...
4
votes
2answers
105 views

Seeking alternatives to Geodatabase to describe topological relations?

According to switchfromshapefile.org, there is no way to describe topological relations in a shapefile. I am aware that this can be done using a Geodatabase and I have heard of TopoJSON. If there are ...
4
votes
1answer
4k views

Conversion from Shapefile to TopoJSON format results in incorrect map when rendered using d3js

I am trying to build a map of Canada showing FSA boundaries using d3js. I got shape data from Statistics Canada [http://www12.statcan.gc.ca/census-recensement/2011/geo/bound-limit/bound-limit-2011-eng....
1
vote
1answer
414 views

Remove some islands from Europe json file

It's the first time I use a JSON file to create a map of Europe. I downloaded these two files: nuts0.json nuts2.json The first represents the states, while the second represents the regions of each ...
0
votes
0answers
570 views

Python library to create topologies [duplicate]

Is there any Python library that facilitates the creation of topologies? I would like to create topologies using an open and portable format such as TopoJSON or GML. The main goal is to save space in ...