I would like to generate a table that has each column header displayed sideways. For example:
\documentclass{article}
\usepackage{rotating}
\begin{document}
\begin{sidewaystable}
\begin{tabular}{cccc}
Name & Location & Latitude & Longitude\\
name1 & loc1 & lat1 & lon1\\
name2 & loc2 & lat2 & lon2\\
\end{tabular}
\end{sidewaystable}
\end{document}
From this example I would like the first 4 arguments (i.e. the column headers) to be orientated vertically. How can this be achieved?

\rotatebox{-90}{\parbox{2cm}{Longitude \\ at a location}}. – Aug 04 '12 at 16:00