\documentclass[10pt,a4paper]{article} % Packages \usepackage{fancyhdr} % For header and footer \usepackage{multicol} % Allows multicols in tables \usepackage{tabularx} % Intelligent column widths \usepackage{tabulary} % Used in header and footer \usepackage{hhline} % Border under tables \usepackage{graphicx} % For images \usepackage{xcolor} % For hex colours %\usepackage[utf8x]{inputenc} % For unicode character support \usepackage[T1]{fontenc} % Without this we get weird character replacements \usepackage{colortbl} % For coloured tables \usepackage{setspace} % For line height \usepackage{lastpage} % Needed for total page number \usepackage{seqsplit} % Splits long words. %\usepackage{opensans} % Can't make this work so far. Shame. Would be lovely. \usepackage[normalem]{ulem} % For underlining links % Most of the following are not required for the majority % of cheat sheets but are needed for some symbol support. \usepackage{amsmath} % Symbols \usepackage{MnSymbol} % Symbols \usepackage{wasysym} % Symbols %\usepackage[english,german,french,spanish,italian]{babel} % Languages % Document Info \author{Morfalou} \pdfinfo{ /Title (maps-v.pdf) /Creator (Cheatography) /Author (Morfalou) /Subject (Maps V Cheat Sheet) } % Lengths and widths \addtolength{\textwidth}{6cm} \addtolength{\textheight}{-1cm} \addtolength{\hoffset}{-3cm} \addtolength{\voffset}{-2cm} \setlength{\tabcolsep}{0.2cm} % Space between columns \setlength{\headsep}{-12pt} % Reduce space between header and content \setlength{\headheight}{85pt} % If less, LaTeX automatically increases it \renewcommand{\footrulewidth}{0pt} % Remove footer line \renewcommand{\headrulewidth}{0pt} % Remove header line \renewcommand{\seqinsert}{\ifmmode\allowbreak\else\-\fi} % Hyphens in seqsplit % This two commands together give roughly % the right line height in the tables \renewcommand{\arraystretch}{1.3} \onehalfspacing % Commands \newcommand{\SetRowColor}[1]{\noalign{\gdef\RowColorName{#1}}\rowcolor{\RowColorName}} % Shortcut for row colour \newcommand{\mymulticolumn}[3]{\multicolumn{#1}{>{\columncolor{\RowColorName}}#2}{#3}} % For coloured multi-cols \newcolumntype{x}[1]{>{\raggedright}p{#1}} % New column types for ragged-right paragraph columns \newcommand{\tn}{\tabularnewline} % Required as custom column type in use % Font and Colours \definecolor{HeadBackground}{HTML}{333333} \definecolor{FootBackground}{HTML}{666666} \definecolor{TextColor}{HTML}{333333} \definecolor{DarkBackground}{HTML}{171BA3} \definecolor{LightBackground}{HTML}{F0F0F9} \renewcommand{\familydefault}{\sfdefault} \color{TextColor} % Header and Footer \pagestyle{fancy} \fancyhead{} % Set header to blank \fancyfoot{} % Set footer to blank \fancyhead[L]{ \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{C} \SetRowColor{DarkBackground} \vspace{-7pt} {\parbox{\dimexpr\textwidth-2\fboxsep\relax}{\noindent \hspace*{-6pt}\includegraphics[width=5.8cm]{/web/www.cheatography.com/public/images/cheatography_logo.pdf}} } \end{tabulary} \columnbreak \begin{tabulary}{11cm}{L} \vspace{-2pt}\large{\bf{\textcolor{DarkBackground}{\textrm{Maps V Cheat Sheet}}}} \\ \normalsize{by \textcolor{DarkBackground}{Morfalou} via \textcolor{DarkBackground}{\uline{cheatography.com/194511/cs/40735/}}} \end{tabulary} \end{multicols}} \fancyfoot[L]{ \footnotesize \noindent \begin{multicols}{3} \begin{tabulary}{5.8cm}{LL} \SetRowColor{FootBackground} \mymulticolumn{2}{p{5.377cm}}{\bf\textcolor{white}{Cheatographer}} \\ \vspace{-2pt}Morfalou \\ \uline{cheatography.com/morfalou} \\ \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Cheat Sheet}} \\ \vspace{-2pt}Published 10th October, 2023.\\ Updated 10th October, 2023.\\ Page {\thepage} of \pageref{LastPage}. \end{tabulary} \vfill \columnbreak \begin{tabulary}{5.8cm}{L} \SetRowColor{FootBackground} \mymulticolumn{1}{p{5.377cm}}{\bf\textcolor{white}{Sponsor}} \\ \SetRowColor{white} \vspace{-5pt} %\includegraphics[width=48px,height=48px]{dave.jpeg} Measure your website readability!\\ www.readability-score.com \end{tabulary} \end{multicols}} \begin{document} \raggedright \raggedcolumns % Set font size to small. Switch to any value % from this page to resize cheat sheet text: % www.emerson.emory.edu/services/latex/latex_169.html \footnotesize % Small font. \begin{multicols*}{2} \begin{tabularx}{8.4cm}{x{3.36 cm} x{4.64 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Components and Issues}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{{\emph{Component}}}} & {\bf{{\emph{Issue}}}} \tn % Row Count 1 (+ 1) % Row 1 \SetRowColor{white} {\bf{Street number}} & Incorrect or missing street number \tn % Row Count 3 (+ 2) % Row 2 \SetRowColor{LightBackground} {\emph{Extensions}} & Extensions are part of the street number too, if incorrect of missing, same as street number \tn % Row Count 7 (+ 4) % Row 3 \SetRowColor{white} {\emph{Address Range}} & If result street number is outside the range, does not exists, does not match the odd/even numbering system \tn % Row Count 12 (+ 5) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 12 (+ 0) % Row 5 \SetRowColor{white} {\bf{Unit, apt}} & If not present in the result (when the official address had one) or a unit/apt given in the results when there is no confirmation of it in its official address \tn % Row Count 19 (+ 7) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 19 (+ 0) % Row 7 \SetRowColor{white} {\bf{Street name}} & If Incorrect or missing street name \tn % Row Count 21 (+ 2) % Row 8 \SetRowColor{LightBackground} {\emph{Alternate names}} & If the older/alternate name is no longer in use \tn % Row Count 24 (+ 3) % Row 9 \SetRowColor{white} {\emph{Misspelled street names}} & Including diacritics \tn % Row Count 26 (+ 2) % Row 10 \SetRowColor{LightBackground} {\emph{Street directions and types}} & Wrong type of street, missing or additional direction \tn % Row Count 29 (+ 3) % Row 11 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 29 (+ 0) % Row 12 \SetRowColor{LightBackground} {\bf{Sub-locality}} & If wrong or missing sub-locality (if sub-locality is required) \tn % Row Count 32 (+ 3) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.36 cm} x{4.64 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Components and Issues (cont)}} \tn % Row 13 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) % Row 14 \SetRowColor{white} {\bf{Locality}} & Misspellings within the locality name (including diacritics) \tn % Row Count 3 (+ 3) % Row 15 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 3 (+ 0) % Row 16 \SetRowColor{white} {\bf{Region, state}} & Depending on the country, but if missing when required, that's an issue \tn % Row Count 7 (+ 4) % Row 17 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 7 (+ 0) % Row 18 \SetRowColor{white} {\bf{Postal code}} & Depends on the country (for some of them Postal Code is not mandatory -if present, rate {\bf{{\emph{Correct}}}} as long as the postal code applies to at least part of the feature-) \tn % Row Count 15 (+ 8) % Row 19 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 15 (+ 0) % Row 20 \SetRowColor{white} {\bf{Country}} & Always be included when the result is located in a country other that the test locale \tn % Row Count 19 (+ 4) \hhline{>{\arrayrulecolor{DarkBackground}}--} \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{If address as one of those issues, rate it {\bf{{\emph{Incorrect}}}}} \tn \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Other Issues}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Address doesn't exist}} & If strong evidence that there is no building or no plot of land officially assigned at the address, rate {\bf{{\emph{Incorrect}}}} \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} & If not enough ressources, rate {\bf{{\emph{Can't Verify}}}} \tn % Row Count 9 (+ 3) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 9 (+ 0) % Row 3 \SetRowColor{white} {\bf{Language/Script issue}} & The address must match the test language, the user query or the result region \tn % Row Count 13 (+ 4) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 13 (+ 0) % Row 5 \SetRowColor{white} {\bf{Country Specific issue}} & Used when the address problem is not covered by available checkboxes \tn % Row Count 17 (+ 4) % Row 6 \SetRowColor{LightBackground} & Instances when an address also requires a municipality with locality or state but missing or inccorrect component \tn % Row Count 23 (+ 6) % Row 7 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 23 (+ 0) % Row 8 \SetRowColor{LightBackground} {\bf{Other issue - Must leave a comment}} & Duplicate address components, name or POI reappears in address details, Natural features that contain street address elements, PO Box addresses \tn % Row Count 31 (+ 8) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{3.92 cm} x{4.08 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Other Issues (cont)}} \tn % Row 9 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) % Row 10 \SetRowColor{white} {\bf{Correct with formatting issue}} & Not in format expected: unexpected components' order, non required but correct components, extra spacing, double commas, valid but redundant or unnecessary components \tn % Row Count 9 (+ 9) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{3.68 cm} x{4.32 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Can't Verify}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{General Rules}} & Cannot be confirmed {\bf{{\emph{Correct}}}} or {\bf{{\emph{Incorrect}}}} \tn % Row Count 3 (+ 3) % Row 1 \SetRowColor{white} & Lack of resources: no official webpage, no official address listed, general lack of resources, street imagery \tn % Row Count 9 (+ 6) % Row 2 \SetRowColor{LightBackground} & Unexpected address format: Intersection, Exit, Descriptive address \tn % Row Count 13 (+ 4) % Row 3 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 13 (+ 0) % Row 4 \SetRowColor{LightBackground} {\bf{Can't Verify for street number}} & Example: 156 Morfa Ave not found but existence of a Morfa Ave with number from 103 to 175 \tn % Row Count 18 (+ 5) % Row 5 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 18 (+ 0) % Row 6 \SetRowColor{LightBackground} {\bf{For a street name}} & Usually in intersection addresses when we can't confirm it \tn % Row Count 21 (+ 3) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Result Expectations}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Business or POI}} & Street number, name, locality, region, postal code, country, same physical location listed on official resources \tn % Row Count 6 (+ 6) % Row 1 \SetRowColor{white} {\emph{Research and resources}} & Official social media (updated last 6 months), recent street imagery, postal authorities, Gov property registries \tn % Row Count 12 (+ 6) % Row 2 \SetRowColor{LightBackground} & If more than one official address for the same location, all of them are {\bf{{\emph{Correct}}}} \tn % Row Count 17 (+ 5) % Row 3 \SetRowColor{white} & If no official resources: articles in primary publications, crowdsourced user review sites \tn % Row Count 22 (+ 5) % Row 4 \SetRowColor{LightBackground} {\emph{Alternate addresses}} & If valid (found in official resources), rate {\bf{{\emph{Correct}}}} \tn % Row Count 25 (+ 3) % Row 5 \SetRowColor{white} {\emph{Alternative address}} & {\bf{{\emph{Correct}}}} when it matches the address of any department or entity as the same location complex or campus \tn % Row Count 31 (+ 6) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Result Expectations (cont)}} \tn % Row 6 \SetRowColor{LightBackground} & {\bf{{\emph{Correct}}}} when it lists the correct locality for the entity \tn % Row Count 4 (+ 4) % Row 7 \SetRowColor{white} & {\bf{{\emph{Can't verify}}}} is exact locality is unclear (entity borders multiple localities) \tn % Row Count 9 (+ 5) % Row 8 \SetRowColor{LightBackground} & {\bf{{\emph{Incorrect - Locality}}}} if no locality provided \tn % Row Count 12 (+ 3) % Row 9 \SetRowColor{white} & Region and Postal Codes must appear in countries where they are mandatory components \tn % Row Count 17 (+ 5) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 17 (+ 0) % Row 11 \SetRowColor{white} {\bf{PO Box, mailing addresses and Management Offices}} & Addresses pointing to a different location or building are rated {\bf{{\emph{Incorrect - Other Issue}}}} \tn % Row Count 22 (+ 5) % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 22 (+ 0) % Row 13 \SetRowColor{white} {\bf{Business or POI with moving locations}} & Either a fixed schedule or move at random, some appear to be moving but can be permanently based at the same location \tn % Row Count 28 (+ 6) % Row 14 \SetRowColor{LightBackground} {\emph{Random schedule}} & Can't be predicted or shown on the map, either closed or does not exist \tn % Row Count 32 (+ 4) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Result Expectations (cont)}} \tn % Row 15 \SetRowColor{LightBackground} {\emph{Fixed schedule}} & Such as food trucks, schedules are posted on official sources, the most accurate location is the one the Business stays the most in a time period \{\{nl\}\} Other addresses are {\bf{{\emph{Incorrect - Other Issue}}}} in cases of tie, any of those locations are {\bf{{\emph{Correct}}}} \tn % Row Count 13 (+ 13) % Row 16 \SetRowColor{white} {\emph{Fixed location}} & Stationary bus or truck are evaluated like a standard business \tn % Row Count 17 (+ 4) % Row 17 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 17 (+ 0) % Row 18 \SetRowColor{white} {\bf{Events}} & Regular (farmer's market), annual (Burning Man, festivals), seasonal (halloween store) \tn % Row Count 22 (+ 5) % Row 19 \SetRowColor{LightBackground} & If query and location intent are clear, assign an appropriate relevance rating, otherwise {\bf{{\emph{Bad}}}} \tn % Row Count 27 (+ 5) % Row 20 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 27 (+ 0) % Row 21 \SetRowColor{LightBackground} {\bf{Singular or non established events}} & If no any map significance, rate it {\bf{{\emph{Closed - Does not exist}}}} except if this location become a POI (historical importance) \tn % Row Count 34 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Type of results}} \tn % Row 0 \SetRowColor{LightBackground} {\bf{Address}} & Has to be associated with a building or plot of land assigned officially \{\{nl\}\} PO boxers are not valid addresses {\bf{{\emph{Incorrect - Other Issue}}}} \tn % Row Count 8 (+ 8) % Row 1 \SetRowColor{white} {\emph{Format}} & Depends on each country \tn % Row Count 10 (+ 2) % Row 2 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 10 (+ 0) % Row 3 \SetRowColor{white} {\bf{Street result}} & Local road should carry the locality and state name, longer roads don't require it (but if present, must be accurate) \tn % Row Count 16 (+ 6) % Row 4 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 16 (+ 0) % Row 5 \SetRowColor{white} {\bf{Locality}} & City, village, municipality or neighbourhood \tn % Row Count 19 (+ 3) % Row 6 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 19 (+ 0) % Row 7 \SetRowColor{white} {\bf{Postal Code}} & Returned when the user query matches the specific numbers or letters \tn % Row Count 23 (+ 4) % Row 8 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 23 (+ 0) % Row 9 \SetRowColor{white} {\bf{State, region, territory result}} & If query made from a country code outside the state or region result, the result must be accompanied by the country name \tn % Row Count 29 (+ 6) % Row 10 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 29 (+ 0) % Row 11 \SetRowColor{white} {\bf{Country result}} & Highest administrative level and has no other address components \tn % Row Count 33 (+ 4) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Type of results (cont)}} \tn % Row 12 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) % Row 13 \SetRowColor{white} {\bf{Features without an expected address}} & Natural features (beach, glacier, etc), if a street address is present, it's {\bf{{\emph{Incorrect - Other Issue}}}} \tn % Row Count 6 (+ 6) % Row 14 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 6 (+ 0) % Row 15 \SetRowColor{white} {\bf{POIs without an expected address}} & Like parks, monuments, national landmarks, squares, transit POIs etc \tn % Row Count 10 (+ 4) % Row 16 \SetRowColor{LightBackground} & Locality must be shown (minimum requirement) \tn % Row Count 13 (+ 3) % Row 17 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 13 (+ 0) % Row 18 \SetRowColor{LightBackground} {\bf{Official address}} & Some may have an official address (even if not expected), only results not respecting the minimum requirement and street name or number will be {\bf{{\emph{Incorrect}}}} \tn % Row Count 21 (+ 8) % Row 19 \SetRowColor{white} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 21 (+ 0) % Row 20 \SetRowColor{LightBackground} {\bf{Partial street address}} & Can be rated {\bf{{\emph{Can't Verify}}}} if the address does not belong to another POI and the street within the result address matches the street listed as the official address, otherwise {\bf{{\emph{Incorrect}}}} \tn % Row Count 31 (+ 10) \end{tabularx} \par\addvspace{1.3em} \vfill \columnbreak \begin{tabularx}{8.4cm}{x{4 cm} x{4 cm} } \SetRowColor{DarkBackground} \mymulticolumn{2}{x{8.4cm}}{\bf\textcolor{white}{Type of results (cont)}} \tn % Row 21 \SetRowColor{LightBackground} \mymulticolumn{2}{x{8.4cm}}{} \tn % Row Count 0 (+ 0) % Row 22 \SetRowColor{white} {\bf{No official address}} & Can be rated {\bf{{\emph{Can't Verify}}}} or {\bf{{\emph{Incorrect}}}} \tn % Row Count 3 (+ 3) % Row 23 \SetRowColor{LightBackground} {\emph{Can't Verify}} & Address belongs to a building associated with the intended POI, street provides access to the intended POI \tn % Row Count 9 (+ 6) % Row 24 \SetRowColor{white} & User must be able to reach the POI by walking or driving (T-intersections, street providing access by following the boundaries) \tn % Row Count 16 (+ 7) \hhline{>{\arrayrulecolor{DarkBackground}}--} \end{tabularx} \par\addvspace{1.3em} % That's all folks \end{multicols*} \end{document}