From spatial data to API in three steps Upload your data Import GeoParquet, GeoJSON, Shapefile, GeoPackage, FlatGeobuf, CSV, GML, MapInfo or File Geodatabase into PostGIS tables, with options for coordinate reference systems and reprojection. Get instant APIs Query with parameterized SQL over REST or WebSocket and auto-generated GraphQL. Publish layers through OGC API Features & Maps and WMS/WFS. Build your app TypeScript SDK with OAuth helpers, realtime subscriptions with server-side filtering, and fine-grained access control. Built for geospatial work, end to end PostGIS built in Find nearby features with ST_DWithin, intersect geometries with ST_Intersects, and transform coordinates with spatial SQL. Import your spatial data Bring GeoParquet, GeoJSON, Shapefile, GeoPackage, FlatGeobuf, CSV or GML into your database and expose it through APIs. Scheduled imports Keep tables in sync with files, WFS services and feeds on a cron schedule. Imports are atomic, runs are tracked, and a snapshot can be queued after each one. Snapshots as GeoParquet Export tables as dated GeoParquet or FlatGeobuf files with a STAC catalog, and query them straight from DuckDB, Python or a web map over HTTP range requests. OGC APIs & map services Read GeoJSON with OGC API Features, render images with OGC API Maps, and connect GIS tools through WMS/WFS. Edit features via WFS-T. GraphQL, auto-generated Queries, mutations and subscriptions derived from your schema. Realtime over WebSocket Subscribe to table changes with server-side filtering (shapes). Control access to your data OAuth 2.0 (PKCE, password, device flows), sub-users, table-level privileges and SQL rules. AI-agent ready Connect AI assistants to inspect schemas, query spatial data and manage your backend through the official MCP server. Functions for your workflows Run Node.js or Python code on demand, on a schedule, or in response to events, with access to your data. Open source roots Built on Geocloud2 (AGPLv3) by MapCentia, with 10+ years of geospatial domain expertise. Query spatial data. Connect your stack. Run PostGIS queries over REST or WebSocket, or use the TypeScript SDK with built-in OAuth helpers. Bind values with named parameters such as :lng, :lat and :radius to find nearby features without building your own API server. -- POST your SQL to /api/v4/sql with named parametersSELECT name, category, ST_Distance( geom::geography, ST_SetSRID(ST_MakePoint(:lng, :lat), 4326)::geography ) AS distance_metersFROM locationsWHERE ST_DWithin( geom::geography, ST_SetSRID(ST_MakePoint(:lng, :lat), 4326)::geography, :radius)ORDER BY distance_meters ASCLIMIT 10; Open standards: OGC API, WMS & WFS Browse collections and read GeoJSON through OGC API Features, or render styled map images with OGC API Maps. Filter features by bounding box, page through results and choose a supported coordinate reference system. The OGC API provides read-only REST access to your published layers, with the same privileges and geofence rules as WMS/WFS. Connect QGIS, OpenLayers, Leaflet and other GIS clients through WMS/WFS, and edit features through WFS-T. Configure map styling with classes, styles and labels through the Layer API. # Read a collection as GeoJSON (OGC API Features)GET https://api.gc2.io/api/v4/ogc/database/mydb/collections/parks.areas/items?limit=10 HTTP/1.1Accept: application/geo+jsonAuthorization: Bearer your-access-token# Render a styled map image (OGC API Maps)GET https://api.gc2.io/api/v4/ogc/database/mydb/collections/parks.areas/map?width=1024&f=png HTTP/1.1Accept: image/pngAuthorization: Bearer your-access-token What developers build on GC2 Web maps with live data Realtime layers without building a sync pipeline. Field data collection Upload from the field, query from the office. Open data portals Publish spatial datasets as queryable APIs. GIS + AI workflows Let agents query and manage spatial data via MCP. Desktop GIS integration Connect QGIS directly over WMS/WFS and edit with WFS-T. Analytics on dated snapshots Query GeoParquet exports in DuckDB and compare how a dataset looked on any date. Location-based applications Find nearby places, intersect service areas and build spatial queries into your app. Your geospatial platform. Your choice of deployment. Managed geospatial BaaS Build on GC2 Cloud Start with a managed PostGIS backend. Import your data and connect your apps and GIS tools while GC2 handles the infrastructure. Managed PostgreSQL and PostGIS Data APIs, OGC services and authentication Free during beta — see limits in the FAQ Geospatial infrastructure Run it on your infrastructure Deploy the open source stack with Docker Compose. Keep control of your runtime, networking and data environment, from local development to production. App, WebSockets, PostGIS and Redis Your servers and deployment environment Open source under AGPLv3 Build your next geospatial application Bring your spatial data. Start with managed cloud or deploy the platform yourself, then connect your maps, apps and GIS tools.
AI NEWS JOURNAL
Hacker News Show HNAI NEWS / JOURNAL
Show HN: GC2 (Geo Compute Cloud)
Article URL: https://gc2.io/ Comments URL: https://news.ycombinator.com/item?id=50404243 Points: 2 # Comments: 0
번역 서비스가 일시 중지되어 원문을 표시합니다.