Skip to content

Commit

Permalink
Fixed formatting of readme.md
Browse files Browse the repository at this point in the history
  • Loading branch information
jones1618 authored Aug 21, 2019
1 parent 6cd7a33 commit f91f7a9
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,19 @@ By default, the script expects CSV data be in the format specified in the sample

csvToGeoJSON arguments (all optional):

-h, --help Show this help message and exit
--verbose, --v Show parameters, detailed messages and geoJSON output
--csv CSV Filepath/name of CVS input file
-h, --help Show this help message and exit
--verbose, --v Show parameters, detailed messages and geoJSON output
--csv CSV Filepath/name of CVS input file
Default: sample.csv
--output OUTPUT Filepath/name of GeoJSON output file
--output OUTPUT Filepath/name of GeoJSON output file
Default: output.geojson
--columns COLUMNS JSON-formatted dictionary that maps CSV column names to
--columns COLUMNS JSON-formatted dictionary that maps CSV column names to
GeoJSON fields.
Default: "{ 'id':'id', 'latitude':'lat', 'longitude':'lon', 'name':'name', 'value':'pop' }"
where each name:value pair is {geoJSON-column}:{CSV-column}
Note: CSV columns don't have to appear in a particular order since the position of the data columns will be determined from their order in the CSV header (first row).
If CSV contains no ID field, specifying 'id':'-auto-' will automatically generate an ID value based on the row # of the CSV. Otherwise, the ID value will be 0.
Note: CSV columns don't have to appear in a particular order since the position of the data columns
will be determined from their order in the CSV header (first row).
If CSV contains no ID field, specifying 'id':'-auto-' will automatically generate an ID value based
on the row # of the CSV. Otherwise, the ID value will be 0.

Questions and comments to [email protected]
Questions and comments to [email protected] or [email protected]

0 comments on commit f91f7a9

Please sign in to comment.