this script takes a shapefile (*.shp, *.dbf) and creates a (*.sql)
C Ruby
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
shapefile_src
.gitignore
Makefile
README
batch.rb
mysql_shapefile_to_mongo.rb
to_kml.c
to_mysql.c

README

This C application converts shapefile (.dbf, .shp and .shx files) to mysql .sql dump files

http://en.wikipedia.org/wiki/Shapefile

Just run 'make' or 'make kml' and run the executable - it's written and only tested on Mac OS X.

usage: shapefile_to_mysqldump [FILENAME]
or
usage: shapefile_to_kml [FILENAME]