Skip to content

Instantly share code, notes, and snippets.

View markgis's full-sized avatar

Mark Baguma Allen markgis

View GitHub Profile
@manuelroth
manuelroth / index.js
Last active May 18, 2023 07:51
A very simple node.js server for serving vector tiles from an mbtiles file
var express = require("express"),
app = express(),
MBTiles = require('mbtiles'),
p = require("path");
// Enable CORS and set correct mime type/content encoding
var header = {
"Access-Control-Allow-Origin":"*",
"Access-Control-Allow-Headers":"Origin, X-Requested-With, Content-Type, Accept",
"Content-Type":"application/x-protobuf",
@jgomo3
jgomo3 / python.rst
Last active March 20, 2024 08:32
Proposal of Python examples for GeoServer REST API Documentation

Python

The examples in this section use the scripting language Python. They will be based en the cURL examples.

We'll be working with Python3 and only with the `Python Standard