Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@shawngraham
Last active August 29, 2015 14:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shawngraham/a49a9834984ae0792345 to your computer and use it in GitHub Desktop.
Save shawngraham/a49a9834984ae0792345 to your computer and use it in GitHub Desktop.

#Notes re A Quick CartoDB Intro

more to follow

We're going to get the URL for a historical map. In the pop up, it says 'xyz'. This means it's looking for a tiles-based URL (like what google maps serves up).

http://warp.worldmap.harvard.edu/maps/tile/2273/{z}/{x}/{y}.png

(If you grabbed a map from the NYPL mapwarper service, those curley brackets would already be there. This is a peculiarity of the Harvard version of mapwarper that those curley brackets are missing. The thing is, the Harvard service will let you upload a map to georectify, whereas the NYPL version only includes maps already in their collection to be rectified).

  • Copy your modified URL, go back to the CartoDB window, and paste that URL in the box for 'XYZ'. Click 'add basemap'.

You now have a map with a historical basemap and real data on top! On the right hand side of the screen, you can use various 'wizards' to style the data you've got. See what you can come up with. Share your map, add its URL to your open notebook.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment