CARVIEW |
Select Language
HTTP/2 200
date: Sun, 12 Oct 2025 09:03:15 GMT
content-type: text/html; charset=utf-8
server: cloudflare
access-control-allow-origin: *
cache-control: public, max-age=0, must-revalidate
content-disposition: inline
report-to: {"group":"cf-nel","max_age":604800,"endpoints":[{"url":"https://a.nel.cloudflare.com/report/v4?s=6LM%2F7Gqu6Rm7%2FMzPEKoIZIxoBU9h5J%2Bfb0G3z0aT2zJQ30mgN0sAGxe7ZhyAlzsYYJmHBW%2Bqx3M7yaBQqKeWRSXFlIZ%2FwQxARzB2rfvj1kAAXA%3D%3D"}]}
x-matched-path: /docs/sgr-advanced/integrating-splitgraph/postgis
x-vercel-cache: HIT
x-vercel-id: fra1::lgnnd-1760259794326-90c64a287956
vary: Accept-Encoding
x-varnish: 13303880
age: 414899
via: 1.1 varnish (Varnish/6.5)
x-cache: MISS
nel: {"report_to":"cf-nel","success_fraction":0.0,"max_age":604800}
strict-transport-security: max-age=63072000
cf-cache-status: DYNAMIC
content-encoding: gzip
cf-ray: 98d56c3d8d9f4701-BOM
alt-svc: h3=":443"; ma=86400
PostGIS | Splitgraph Try Now
Advanced sgr usage

Splitgraph has been acquired by EDB! Read the blog post.
Seafowl NEW!
Try Now
- Add DataExplore DataQuery DataSearch Data
Advanced sgr usage
PostGIS
sgr
can also work with PostGIS, an extension for
PostgreSQL that adds support for geospatial data. By default, due to space
requirements, the sgr
engine image doesn't come with PostGIS installed, but
you can upgrade your engine to use a PostGIS-enabled image
(splitgraph/engine:[version]-postgis
):
$ sgr engine upgrade --image splitgraph/engine:stable-postgis
$ sgr sql "CREATE EXTENSION IF NOT EXISTS postgis"
The
PostGIS example
will guide you through plotting a map of votes in New York City in the 2016 US
Presidential Election using sgr
, PostGIS and
GeoPandas.
Splitgraph
Splitgraph Inc, registered in Delaware, USA
Splitgraph Limited, registered in England and Wales No. 11657324
Made with
on four continents.