Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (
Help us improve Python packaging - Donate today!

Merge CSV data into GeoJSON features, and more

Project Description

Merge CSV data into GeoJSON features!

Usage: geojoin [options] csv json

Merges data from a comma- (or tab-, pipe-, etc.) separated file into the
properties of GeoJSON (or TopoJSON) features by joining on a foreign key,
and prints the resulting feature collection to stdout.

-h, --help show this help message and exit
-f FK, --fk=FK The CSV column and GeoJSON feature property name on
which to join. This may either be a single string, or
a colon-separated pair denoting the CSV column name
and GeoJSON feature property name, respectively. The
default is "id".
-m MODE, --mode=MODE
-p PROPS, --props=PROPS
a comma-separated list of keys to merge or replace
--prefix=KEY_PREFIX The key prefix for merged or replaced keys
-P, --pretty Whether to pretty-print JSON (default: not pretty)
--inner Limit features to only those with values in the CSV
-F FS, --field-separator=FS
The CSV file field separator, default: ,
-q FQ, --field-quote=FQ
The CSV file field quote character, default: "

Release History

This version
History Node


History Node


History Node


History Node


Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

File Name & Hash SHA256 Hash Help Version File Type Upload Date
(3.0 kB) Copy SHA256 Hash SHA256
Source Nov 14, 2013

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting