shp2textThis utility dumps shapefiles and associated data into various formats. It was created specifically because of a desire to dump data into Google Maps (see example above).
shp2text.c (single source file)
shp2text.zip (build directory, linux binaries, windows command line executable)
bike-cape_islands-geo.xml (example output) The above files were processed with the command line "shp2text --gpx bike-cape_islands-geo.shp 6 0 > output.gpx". This work is derived from the shplib shape file library. See also the ERSI
White Paper on Shapefile GIS Format. For information on the map loader see gpx_loader.
|