datagen

command
v0.0.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 20, 2020 License: LGPL-3.0 Imports: 9 Imported by: 0

README

datagen

This program is converts geojson files into go files containing structs that can be read by rgeo. You can use this if you want to use a different dataset to any of those included.

Usage
go run datagen.go infile.geojson outfile.go

The variable containing the data will be named outfile. Currently rgeo will only look for at the variable called countries110.

Documentation

Overview

This program is converts geojson files into go files containing structs that can be read by rgeo. You can use this if you want to use a different dataset to any of those included.

Usage

go run datagen.go infile.geojson outfile.go

The variable containing the data will be named outfile. Currently rgeo will only look for at the variable called countries110.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL