Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Publishing Geospatial Data To The Serverless We...

Publishing Geospatial Data To The Serverless Web With GatsbyJS

Andrew Larcombe

January 16, 2019
Tweet

More Decks by Andrew Larcombe

Other Decks in Technology

Transcript

  1. Publishing Geospatial Data Very broadly: • Expose some bit of

    your SDI onto the internet (ArcGIS, GeoServer, ancillary supporting services) • Export/Import/Link into a CMS • Publish some sort of GeoJSON/TopoJSON at a URL
  2. The Serverless Web? Serverless Web There are servers...somewhere…...probably.... An architectural

    pattern that provides the functionality of a website, but abstracts away the detail of the servers DNS CDN Reverse Proxy Cache Load Balancer Webserver (Apache) Webserver (Apache) Filesystem Operating System AWS Route 53 AWS Cloudfront AWS S3 Cloudflare Azure Storage Github Pages
  3. The Serverless Web? Why? Reduced complexity: easier to configure, maintain,

    monitor, more secure. Infinitely* scalable: scales with your provider’s platform (AWS, Azure, Github etc) Predictable costs: typically much cheaper (effectively per usage costs) Why not? Increased chance of vendor lock in (though this is reducing) Best-practice patterns and supporting tools still emerging (*not actually infinite, probably)
  4. GatsbyJS Wordpress Drupal Contentful Instagram Wordpress Plugin Drupal Plugin Contentful

    Plugin Instagram Plugin GraphQL Templates HTML/JS/CSS Files React Components Serverless File Storage
  5. GatsbyJS GraphQL Templates React Components “A query language for your

    API” Written in Javascript Encapsulated, reuseable components
  6. GatsbyJS Wordpress Drupal Contentful Instagram Wordpress Plugin Drupal Plugin Contentful

    Plugin Instagram Plugin GraphQL Templates HTML/JS/CSS Files React Components Geospatial Data Geo Plugin Serverless File Storage
  7. GatsbyJS Geo Source Plugin Geospatial Data Geo Plugin Utilises OGR

    simple feature library Translates Geospatial features into items that can be queried with GraphQL Almost every format under the sun, Shapefiles, GeoJSON, CSV, KML, DB connections, whatever you use
  8. Demo Published Shapefile to a static site, hosted on github

    pages https://andrewl.github.io/gatsby-source-geo-demo
  9. Demo Published Shapefile to a static site, hosted on github

    pages https://andrewl.github.io/gatsby-source-geo-demo