Skip to content
master
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
rdf
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

HackaLOD 2018

Code, data and tools for HackaLOD 2018 hackathon, team Hic Sunt Leones:

Goal: make it easier to browse and find georectified historical maps from the Amsterdam Municipal Archives.

Results

Map Area Data

Map Me

Map area data is available via the Adamlink SPARQL endpoint. Example query:

PREFIX dc: <http://purl.org/dc/elements/1.1/>
PREFIX dct: <http://purl.org/dc/terms/>
PREFIX geo: <http://www.opengis.net/ont/geosparql#>
PREFIX sem: <http://semanticweb.cs.vu.nl/2009/11/sem/>
PREFIX foaf: <http://xmlns.com/foaf/0.1/>
PREFIX wdt: <http://www.wikidata.org/prop/direct/>
select ?kaart ?img ?x ?y ?title {
  ?kaart dct:spatial ?spatial .
  ?kaart foaf:depiction ?img .
  ?kaart dc:title ?title .
  ?spatial dc:type "outline"^^xsd:string .
  ?spatial geo:hasGeometry/geo:asWKT ?wktmap .
  ?spatial wdt:P2046 ?km2 .
  bind (bif:st_geomfromtext("POINT(4.895168 52.370216)") as ?x)
  bind (bif:st_geomfromtext(?wktmap) as ?y)
  FILTER (bif:st_intersects(?x, ?y))
}
ORDER BY ASC(?km2)
limit 5

Amsterdam op de Kaart

Scripts

  1. scrape-beeldbank.js: scrape all georectified maps from the Beeldbank
  2. create-links.js: save permalinks and UUIDs, merge with CSV data
  3. download-tiffs.sh: download all GeoTIFFs from WMS server
  4. extract-masks.sh: use GDAL to turn GeoTIFFs into GeoJSON
  5. to-spacetime.js: convert to NYC Space/Time Directory data format
  6. feature-collection.js: create GeoJSON file with all masks
  7. group-maps.js: group all maps in groups of 25 years

Example links

About

No description, website, or topics provided.

Resources

Releases

No releases published

Packages

No packages published
You can’t perform that action at this time.