# JSON-FG — OGC Features and Geometries JSON (JSON-FG)

> JSON-FG (OGC Features and Geometries JSON (JSON-FG)): OGC JSON encoding that extends GeoJSON with non-WGS 84 coordinate systems, time, feature types and solid geometries. Specs, software and free sample files; convert JSON-FG to 39 formats online.

- Page: https://beta.mygeodata.cloud/formats/json-fg



## What is a JSON-FG file?

OGC Features and Geometries JSON (JSON-FG) is an encoding developed by the Open Geospatial Consortium as an extension of GeoJSON. It addresses requirements that GeoJSON deliberately left out. A JSON-FG document stays a valid GeoJSON document, so existing GeoJSON clients can still read the standard geometry member. Additional members carry the extra information: "place" holds geometries in other coordinate reference systems, "coordRefSys" declares the CRS, "time" stores instants or intervals, and "featureType" identifies the kind of feature.

The encoding supports the familiar point, line and polygon types and their multi-part variants. It also adds three-dimensional solids such as polyhedra. A "conformsTo" array declares which parts of the specification a file follows. JSON-FG is aimed at web APIs, particularly OGC API Features services, and at data exchange where projected coordinates or temporal information matter. As a text format it is verbose for large datasets, and software support is still growing.

JSON-FG files are usually exchanged between OGC API Features services and clients, or between organisations that need projected coordinates or time information that plain GeoJSON cannot hold. Files may use the .json or .jsonfg extension, so check the conformsTo array and the place and coordRefSys members to confirm the content. Remember that the standard geometry member may be a reduced version of the data.

### Technical details

| | |
|---|---|
| Full name | OGC Features and Geometries JSON (JSON-FG) |
| Data type | Vector · Web & JSON |
| File extension | .jsonfg, .json |
| Files | Single file |
| Media type | application/geo+json-fg |
| Geometry types | Point, LineString, Polygon, MultiPoint, MultiLineString, MultiPolygon, PolyhedralSurface |
| Multiple layers | No |
| Mixed geometry in a layer | Yes |
| Attribute names | — |
| Coordinate system | Any (EPSG, ESRI, custom) |
| Converter support | Read & write |
| Typical software | GDAL/OGR, QGIS, ldproxy |
| Specification | https://docs.ogc.org/is/21-045r1/21-045r1.html |

### Specifications & references

- https://docs.ogc.org/is/21-045r1/21-045r1.html
- https://github.com/opengeospatial/ogc-feat-geo-json
- https://gdal.org/en/stable/drivers/vector/jsonfg.html

### Sample JSON-FG files — free download

- [Places (points)](https://beta.mygeodata.cloud/static/landing/samples/v1/jsonfg/st-helena-places.jsonfg) — 58 places of Saint Helena (20 settlements, 17 peaks, 21 points of interest) with name, category, elevation from Copernicus DEM and OSM id. OGC JSON-FG. (16.6 kB, EPSG:4326)
- [Land cover in UTM (polygons)](https://beta.mygeodata.cloud/static/landing/samples/v1/jsonfg/st-helena-landcover-utm.jsonfg) — 190 land-cover polygons (forest, scrub, farmland, residential, water, …) from OpenStreetMap with area in hectares. JSON-FG with the native "place" geometry in UTM zone 30S and a WGS 84 "geometry" copy. (485.2 kB, EPSG:32730)

### Convert JSON-FG to other formats

- [JSON-FG to CSV](https://beta.mygeodata.cloud/converter/json-fg-to-csv)
- [JSON-FG to DXF](https://beta.mygeodata.cloud/converter/json-fg-to-dxf)
- [JSON-FG to GeoJSON](https://beta.mygeodata.cloud/converter/json-fg-to-geojson)
- [JSON-FG to GeoPDF](https://beta.mygeodata.cloud/converter/json-fg-to-geopdf)
- [JSON-FG to GPKG](https://beta.mygeodata.cloud/converter/json-fg-to-gpkg)
- [JSON-FG to GPX](https://beta.mygeodata.cloud/converter/json-fg-to-gpx)
- [JSON-FG to KML](https://beta.mygeodata.cloud/converter/json-fg-to-kml)
- [JSON-FG to KMZ](https://beta.mygeodata.cloud/converter/json-fg-to-kmz)
- [JSON-FG to SHP](https://beta.mygeodata.cloud/converter/json-fg-to-shp)
- [JSON-FG to TopoJSON](https://beta.mygeodata.cloud/converter/json-fg-to-topojson)
- [JSON-FG to XLSX](https://beta.mygeodata.cloud/converter/json-fg-to-xlsx)
- [JSON-FG to DGN](https://beta.mygeodata.cloud/converter/json-fg-to-dgn)
- [JSON-FG to FGB](https://beta.mygeodata.cloud/converter/json-fg-to-fgb)
- [JSON-FG to FileGDB](https://beta.mygeodata.cloud/converter/json-fg-to-filegdb)
- [JSON-FG to GML](https://beta.mygeodata.cloud/converter/json-fg-to-gml)
- [JSON-FG to MapInfo](https://beta.mygeodata.cloud/converter/json-fg-to-mapinfo)
- [JSON-FG to MBTiles](https://beta.mygeodata.cloud/converter/json-fg-to-mbtiles)
- [JSON-FG to MIF](https://beta.mygeodata.cloud/converter/json-fg-to-mif)

## Frequently asked questions

### How does JSON-FG differ from GeoJSON?

GeoJSON is limited to WGS84 longitude and latitude and has no time or feature type members. JSON-FG adds place, coordRefSys, time and featureType, and supports solids such as polyhedra. A JSON-FG file remains valid GeoJSON.

### Why does my JSON-FG file open as ordinary GeoJSON?

Software without JSON-FG support reads only the standard geometry member and ignores members such as place, time and featureType. Coordinates may then be shown in WGS84 or be missing. Use a JSON-FG-aware tool such as GDAL/OGR or QGIS to see the full content.

### Is a .json file always JSON-FG?

No. The .json extension is shared by many formats, including GeoJSON. Open the file in a text editor and look for a conformsTo array referencing JSON-FG, or for members such as place, time or coordRefSys.

### What is a JSON-FG file?

OGC Features and Geometries JSON (JSON-FG) is an encoding developed by the Open Geospatial Consortium as an extension of GeoJSON. It addresses requirements that GeoJSON deliberately left out. A JSON-FG document stays a valid GeoJSON document, so existing GeoJSON clients can still read the standard geometry member. Additional members carry the extra information: "place" holds geometries in other coordinate reference systems, "coordRefSys" declares the CRS, "time" stores instants or intervals, and "featureType" identifies the kind of feature.

The encoding supports the familiar point, line and polygon types and their multi-part variants. It also adds three-dimensional solids such as polyhedra. A "conformsTo" array declares which parts of the specification a file follows. JSON-FG is aimed at web APIs, particularly OGC API Features services, and at data exchange where projected coordinates or temporal information matter. As a text format it is verbose for large datasets, and software support is still growing.

### How do I open a JSON-FG file?

JSON-FG files can be opened in GDAL/OGR, QGIS and ldproxy. Without any software you can preview and convert them online in MyGeodata Cloud.

### What can I convert JSON-FG to?

Popular conversions are CSV, DXF, GeoJSON, GeoPDF, GPKG and GPX. In total the Converter writes JSON-FG data to 39 formats.

### How do I create a JSON-FG file?

Convert existing data to JSON-FG — for example from CSV, DWG, DXF, GeoJSON and GeoPDF. Upload the file, choose JSON-FG as output and download the result.

