Skip to main content

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.

Options:
-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
data.
-F FS, --field-separator=FS
The CSV file field separator, default: ,
-q FQ, --field-quote=FQ
The CSV file field quote character, default: "

Project details


Download files

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

Source Distribution

geojoin-0.2.1.tar.gz (3.0 kB view details)

Uploaded Source

File details

Details for the file geojoin-0.2.1.tar.gz.

File metadata

  • Download URL: geojoin-0.2.1.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for geojoin-0.2.1.tar.gz
Algorithm Hash digest
SHA256 467bc09f181d990f9eec3d8d78a2978bc89f4abda153f73bd2d4d98c9633d0f2
MD5 12e11e1005ffaf505bbfb6048d6284f3
BLAKE2b-256 bab1fb0d8a5f1395502facd5bf30ba4582d5f428b1b587af6d2ecab3a05fcf21

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page