Skip to content

Instantly share code, notes, and snippets.

@josecarlosgonz
josecarlosgonz / .gitignore
Created June 4, 2014 17:55 — forked from octocat/.gitignore
Gist to gitignore files
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
# Packages #
@josecarlosgonz
josecarlosgonz / writeShapeFile.R
Created August 7, 2014 17:26
Create a shapefile from a csv with latitude and longitude coordinates
# Create a shapefile from a csv with latitude and longitude coordinates in
# decimal degrees
# Install and load rdgal
install.packages(rdgal)
require(rgdal)
# Load data
data <- read.csv("Coordinates.csv")
head(data)