Skip to content
Novus Examples

Explore the test library

Find files, editable templates and browser test targets by what you need to make or test. Explore complete business kits for connected records, templates and expected results.

5297 results

Page 86 of 221; 24 results per page.

Show the canonical directory
Preview of GeoJSON: Antimeridian Polygon Split into a MultiPolygon
geojson
1.2 KB
Actual file preview for GeoJSON: Antimeridian Polygon Split into a MultiPolygon

GeoJSON: Antimeridian Polygon Split into a MultiPolygon

The straddling block cut at 180 into two polygons that share an edge on the meridian: the interoperable form. Use it as the expected output when testing an antimeridian-splitting routine against the unsplit twin.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialConversion testing+1· Conversion set
Preview of GeoJSON: Bare Geometry Object (no Feature)
geojson
298 B
Actual file preview for GeoJSON: Bare Geometry Object (no Feature)

GeoJSON: Bare Geometry Object (no Feature)

A top-level Geometry object with no Feature or FeatureCollection around it. This is legal GeoJSON and is what PostGIS `ST_AsGeoJSON` returns, but a surprising number of importers only accept a FeatureCollection.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: bbox on Every Feature
geojson
2.5 KB
Actual file preview for GeoJSON: bbox on Every Feature

GeoJSON: bbox on Every Feature

Three features that each carry their own bbox. Spatial indexes are often built from these declared boxes instead of the geometry, so a wrong or stale one produces a query that silently misses features.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: bbox on the FeatureCollection
geojson
1.8 KB
Actual file preview for GeoJSON: bbox on the FeatureCollection

GeoJSON: bbox on the FeatureCollection

The five towns with a four-element bounding box on the collection, ordered west, south, east, north as RFC 7946 requires. The values are the true extent of the contained points, so a reader that recomputes the box can be scored against the declared one.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Clockwise Exterior Ring (right-hand rule violated)
geojson
1.1 KB
Actual file preview for GeoJSON: Clockwise Exterior Ring (right-hand rule violated)

GeoJSON: Clockwise Exterior Ring (right-hand rule violated)

Both rings of the Mill Court parcel are wound the wrong way round: the exterior clockwise, the interior counter-clockwise. RFC 7946 mandates the right-hand rule, and consumers that rely on winding to tell holes from shells will read this polygon inside out.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Deeply Nested and Mixed-Type Properties
geojson
886 B
Actual file preview for GeoJSON: Deeply Nested and Mixed-Type Properties

GeoJSON: Deeply Nested and Mixed-Type Properties

One feature whose properties mix every JSON type and nest three levels deep. Formats with a flat attribute table (shapefile DBF, most SQL layers) cannot represent this, so the fixture shows whether a converter flattens, JSON-encodes, or discards the nested values.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Empty FeatureCollection
geojson
52 B
Actual file preview for GeoJSON: Empty FeatureCollection

GeoJSON: Empty FeatureCollection

A structurally valid FeatureCollection with an empty `features` array: what a spatial query legitimately returns when nothing matches. It is the standard fixture for the empty-state path of a map component.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Empty GeometryCollection
geojson
300 B
Actual file preview for GeoJSON: Empty GeometryCollection

GeoJSON: Empty GeometryCollection

A GeometryCollection with an empty `geometries` array: structurally valid, semantically the empty geometry. Converters that map a collection onto a multi-geometry type usually emit null here, quietly changing the record's meaning.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Empty LineString Geometry
geojson
295 B
Actual file preview for GeoJSON: Empty LineString Geometry

GeoJSON: Empty LineString Geometry

A feature carrying a LineString with an empty coordinate array. Empty geometries are what spatial operations legitimately return (an intersection that misses, a clip that removes everything), and index and rendering code routinely assumes at least one coordinate exists.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Empty Polygon Geometry
geojson
289 B
Actual file preview for GeoJSON: Empty Polygon Geometry

GeoJSON: Empty Polygon Geometry

A feature carrying a Polygon with no rings at all. Empty geometries are what spatial operations legitimately return (an intersection that misses, a clip that removes everything), and index and rendering code routinely assumes at least one coordinate exists.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Foreign Members at Every Level
geojson
420 B
Actual file preview for GeoJSON: Foreign Members at Every Level

GeoJSON: Foreign Members at Every Level

RFC 7946 section 6 allows members it does not define to sit alongside the ones it does, and requires parsers to ignore rather than reject them. This collection carries three such members at the top level.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Legacy 2008 `crs` Member (removed in RFC 7946)
geojson
1.8 KB
Actual file preview for GeoJSON: Legacy 2008 `crs` Member (removed in RFC 7946)

GeoJSON: Legacy 2008 `crs` Member (removed in RFC 7946)

A FeatureCollection carrying the `crs` member from the 2008 GeoJSON specification. RFC 7946 removed it and fixed the CRS as WGS 84, so a modern reader should treat this as an ignorable foreign member, but plenty of exporters still write it and some readers still obey it.

File
GEOJSON · Crs
Use case
GeospatialConversion testing+1· Conversion set
Preview of GeoJSON: LineString Crossing the Antimeridian (unsplit)
geojson
431 B
Actual file preview for GeoJSON: LineString Crossing the Antimeridian (unsplit)

GeoJSON: LineString Crossing the Antimeridian (unsplit)

A two-point line whose longitudes step from 179.6 to -179.7. Interpolating naively draws a 359.3-degree line all the way back around the world instead of the 0.7-degree hop across the 180th meridian: the classic antimeridian artefact.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: LineString Passing Over the North Pole
geojson
496 B
Actual file preview for GeoJSON: LineString Passing Over the North Pole

GeoJSON: LineString Passing Over the North Pole

A flight path that goes up one meridian, touches the pole, and comes down the antipodal meridian, so longitude jumps by exactly 180 degrees at the middle vertex. Renderers that interpolate in longitude draw a horizontal streak across the whole map instead.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Longitude Written Beyond 180
geojson
459 B
Actual file preview for GeoJSON: Longitude Written Beyond 180

GeoJSON: Longitude Written Beyond 180

The same transect with its eastern end written as 180.3 rather than the normalised -179.7. Producers that accumulate longitudes across the antimeridian emit this constantly; RFC 7946 restricts longitude to -180..180, so a strict reader must reject or normalise it.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Mixed-Geometry FeatureCollection
geojson
4.7 KB
Actual file preview for GeoJSON: Mixed-Geometry FeatureCollection

GeoJSON: Mixed-Geometry FeatureCollection

All seven RFC 7946 geometry types in a single FeatureCollection. Formats with a single-geometry-type-per-layer model (shapefile, most database tables) cannot hold this in one layer, so it is the fixture that reveals how a converter splits or refuses it.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialConversion testing+1· Conversion set
Preview of GeoJSON: Non-ASCII Property Values
geojson
1.5 KB
Actual file preview for GeoJSON: Non-ASCII Property Values

GeoJSON: Non-ASCII Property Values

Four features whose labels are written in Latin with diacritics, katakana, right-to-left Arabic, and a decomposed combining sequence: all stored as raw UTF-8 rather than \u escapes. Shapefile DBF export is where these usually turn into question marks.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialEncoding detection+1· Conversion set
Preview of GeoJSON: Null and Empty Property Bags
geojson
767 B
Actual file preview for GeoJSON: Null and Empty Property Bags

GeoJSON: Null and Empty Property Bags

One feature with `"properties": {}`, one with `"properties": null` and one fully populated. Both empty forms are legal, and attribute-table writers routinely fall over on the null form when they try to enumerate its keys.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Numeric Feature Identifiers
geojson
1.4 KB
Actual file preview for GeoJSON: Numeric Feature Identifiers

GeoJSON: Numeric Feature Identifiers

The same five towns keyed by numeric ids. RFC 7946 allows an id to be either a string or a number, and code that assumes one type breaks on the other, usually by stringifying 1 into "1" and then failing to match on a later join.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: Points Exactly at the Poles
geojson
940 B
Actual file preview for GeoJSON: Points Exactly at the Poles

GeoJSON: Points Exactly at the Poles

Three points at exactly plus or minus 90 degrees latitude, two of which are the same physical place written with different longitudes. Web Mercator cannot represent either pole (latitude 90 projects to infinity), so this is the fixture that catches divide-by-zero and NaN in a reprojection path.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Polygon Enclosing the North Pole
geojson
884 B
Actual file preview for GeoJSON: Polygon Enclosing the North Pole

GeoJSON: Polygon Enclosing the North Pole

A ring that encloses the north pole by running along 85 N and closing across the top of the graticule. Planar area and centroid routines return meaningless answers here, and many renderers draw a rectangle rather than a cap.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Polygon Straddling the Antimeridian (unsplit)
geojson
676 B
Actual file preview for GeoJSON: Polygon Straddling the Antimeridian (unsplit)

GeoJSON: Polygon Straddling the Antimeridian (unsplit)

A rectangle whose east edge is at 179.7 W and west edge at 179.6 E. Read literally in planar coordinates it wraps the entire globe and inverts the inside/outside test, so point-in-polygon queries return the exact opposite of the truth.

File
GEOJSON · Geojson Edge Cases · UTF-8
Use case
GeospatialError handling+1· Conversion set
Preview of GeoJSON: Single Feature (no FeatureCollection)
geojson
232 B
Actual file preview for GeoJSON: Single Feature (no FeatureCollection)

GeoJSON: Single Feature (no FeatureCollection)

One Feature at the top level, with properties and an id but no enclosing collection: the shape a single-record API response takes. Pair it with the bare-geometry fixture to find readers that only handle one of the three legal root types.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON: String Feature Identifiers
geojson
1.5 KB
Actual file preview for GeoJSON: String Feature Identifiers

GeoJSON: String Feature Identifiers

Five features whose `id` is a string and sits on the Feature itself rather than inside `properties`: the placement RFC 7946 specifies and the one most CSV-shaped importers get wrong by flattening it into an attribute.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set