Skip to content
This repository has been archived by the owner on Aug 20, 2024. It is now read-only.
/ geo2sql Public archive

Small python package that parses geoJSON files and outputs SQL friendly polygons

License

Notifications You must be signed in to change notification settings

budbee/geo2sql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Geo2Sql

A small python package that parses GeoJSON files, extracts the containing polygons and writes the parsed data to stdout on a MySQL friendly format, i.e. POLYGON((x y, x y, ..., x y)).

Setup and usage

Install by downloading the latest source file from https://github.com/budbee/geo2sql/releases or by using pip:

pip install -e git://github.com/budbee/geo2sql.git@{ tag name }#egg={ desired egg name }

Run the module run.py located in the bin folder and specify one or more geoJSON files as arguments like so:

python bin/run.py some/path/file1.json some/path/file2.json

About

Small python package that parses geoJSON files and outputs SQL friendly polygons

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages