Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/ghengeveld/graphql-geojson-demo

Demo GraphQL server for graphql-geojson
https://github.com/ghengeveld/graphql-geojson-demo

Last synced: 4 months ago
JSON representation

Demo GraphQL server for graphql-geojson

Awesome Lists containing this project

README

        

# graphql-geojson-demo

```bash
npm start
```

GraphQL endpoint: http://localhost:8000/graphql

## Full query

```graphql
query {
point {
type
coordinates
}
multiPoint {
type
coordinates
}
lineString {
type
coordinates
}
multiLineString {
type
coordinates
}
polygon {
type
coordinates
}
multiPolygon {
type
coordinates
}
feature {
type
id
properties
geometry {
type
coordinates
}
}
featureCollection {
type
features {
type
properties
geometry {
type
coordinates
}
}
}
geometryCollection {
type
geometries {
type
coordinates
}
}
}
```