Skip to content
Testaroo

Explore the test library

Find files, editable templates and browser test targets by what you need to make or test. The directory below is cut by format; the two collections under it cut the same library by subject and by workflow.

158 results

Page 1 of 7; 24 results per page.

Show the canonical directory
Preview of Convert v2 Shapefile DBF Companion
dbf
377 B
Actual file preview for Convert v2 Shapefile DBF Companion

Convert v2 Shapefile DBF Companion

Real DBF component from the five-town Kestrel Bay shapefile set, copied byte-for-byte into the Convert v2 reserve. Stable P8 artifact p8-convert-shapefile-dbf.

File
DBF · P8 Convert · 5 records
Use case
Conversion testingGeospatial· Conversion set
Preview of Convert v2 Shapefile Expected GeoJSON
geojson
1.5 KB
Actual file preview for Convert v2 Shapefile Expected GeoJSON

Convert v2 Shapefile Expected GeoJSON

GeoJSON semantic target for the five-town shapefile set, preserving point order, CODE/NAME/POP/FOUNDED attributes, and longitude/latitude coordinates; the omitted .cpg is safe because every copied DBF value is ASCII. Stable P8 artifact p8-convert-shapefile-geojson.

File
GEOJSON · P8 Convert
Use case
Conversion testingGeospatial+1· Conversion set
Preview of Convert v2 Shapefile PRJ Companion
prj
145 B
Actual file preview for Convert v2 Shapefile PRJ Companion

Convert v2 Shapefile PRJ Companion

Real PRJ component from the five-town Kestrel Bay shapefile set, copied byte-for-byte into the Convert v2 reserve. Stable P8 artifact p8-convert-shapefile-prj.

File
PRJ · P8 Convert · 5 records
Use case
Conversion testingGeospatial· Conversion set
Preview of Convert v2 Shapefile SHP Companion
shp
240 B
Actual file preview for Convert v2 Shapefile SHP Companion

Convert v2 Shapefile SHP Companion

Real SHP component from the five-town Kestrel Bay shapefile set, copied byte-for-byte into the Convert v2 reserve. Stable P8 artifact p8-convert-shapefile-shp.

File
SHP · P8 Convert · 5 records
Use case
Conversion testingGeospatial· Conversion set
Preview of Convert v2 Shapefile SHX Companion
shx
140 B
Actual file preview for Convert v2 Shapefile SHX Companion

Convert v2 Shapefile SHX Companion

Real SHX component from the five-town Kestrel Bay shapefile set, copied byte-for-byte into the Convert v2 reserve. Stable P8 artifact p8-convert-shapefile-shx.

File
SHX · P8 Convert · 5 records
Use case
Conversion testingGeospatial· Conversion set
Preview of Coordinate Precision: 1 Decimal Place
geojson
337 B
Actual file preview for Coordinate Precision: 1 Decimal Place

Coordinate Precision: 1 Decimal Place

The same harbour light written to 1 decimal place, enough to identify which country you are in. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: 15 Decimal Places
geojson
371 B
Actual file preview for Coordinate Precision: 15 Decimal Places

Coordinate Precision: 15 Decimal Places

The same harbour light written to 15 decimal places, enough to identify beyond what a float64 can hold for a coordinate at all. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: 2 Decimal Places
geojson
339 B
Actual file preview for Coordinate Precision: 2 Decimal Places

Coordinate Precision: 2 Decimal Places

The same harbour light written to 2 decimal places, enough to identify which town you are in. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: 4 Decimal Places
geojson
343 B
Actual file preview for Coordinate Precision: 4 Decimal Places

Coordinate Precision: 4 Decimal Places

The same harbour light written to 4 decimal places, enough to identify which building you are in. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: 6 Decimal Places
geojson
349 B
Actual file preview for Coordinate Precision: 6 Decimal Places

Coordinate Precision: 6 Decimal Places

The same harbour light written to 6 decimal places, enough to identify which doorway you are standing in. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: 9 Decimal Places
geojson
357 B
Actual file preview for Coordinate Precision: 9 Decimal Places

Coordinate Precision: 9 Decimal Places

The same harbour light written to 9 decimal places, enough to identify far finer than any consumer receiver can fix. The ladder exists because coordinate precision is almost always chosen by accident, and shipping six unnecessary digits multiplies the size of every geometry in a tileset.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of Coordinate Precision: Decimal Places to Metres Reference
csv
526 B
Actual file preview for Coordinate Precision: Decimal Places to Metres Reference

Coordinate Precision: Decimal Places to Metres Reference

What each decimal place is actually worth on the ground, computed on a sphere of mean Earth radius at the territory's latitude. Longitude degrees are shorter than latitude degrees by the cosine of the latitude, which is why the two columns diverge.

File
CSV · Precision · 10 rows
Use case
GeospatialCSV parsing+1· Conversion set
Preview of Coordinate Precision: Float64 Round-Trip Hazards
geojson
1.1 KB
Actual file preview for Coordinate Precision: Float64 Round-Trip Hazards

Coordinate Precision: Float64 Round-Trip Hazards

Five features whose coordinates are the values that break naive JSON number handling: 17-significant-digit doubles, the classic 0.1 + 0.2 artefact, the largest float64 below 180, a 1e-7 offset, and coordinates written in exponent form. Re-serialising this file is where a parser quietly loses or gains a digit.

File
GEOJSON · Precision · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of EWKB: PostGIS Hex With an Embedded SRID
txt
280 B
Actual file preview for EWKB: PostGIS Hex With an Embedded SRID

EWKB: PostGIS Hex With an Embedded SRID

PostGIS EWKB, where the SRID is carried by OR-ing 0x20000000 into the geometry-type word and appending the code. A strict OGC WKB reader sees type 0x20000001 instead of 1 and either fails or, worse, reports an unknown geometry type.

File
TXT · Wkt Wkb · 2 records
Use case
GeospatialSerialization testing+1· Conversion set
Preview of EWKT: PostGIS Extended WKT With an SRID Prefix
wkt
95 B
Actual file preview for EWKT: PostGIS Extended WKT With an SRID Prefix

EWKT: PostGIS Extended WKT With an SRID Prefix

PostGIS's extended WKT, which prefixes the geometry with `SRID=4326;`. It is not part of the OGC standard, so a strict WKT parser rejects the whole string, while a PostGIS-aware one gets the coordinate system for free.

File
WKT · Wkt Wkb · ASCII
Use case
GeospatialSerialization testing+1· Conversion set
Preview of GeoJSON Feature: Null Geometry
geojson
579 B
Actual file preview for GeoJSON Feature: Null Geometry

GeoJSON Feature: Null Geometry

RFC 7946 permits `"geometry": null` for a feature with attributes but no location. Readers that assume every feature has coordinates crash here, and writers that emit an empty Point instead corrupt the record's meaning.

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

GeoJSON Geometry: GeometryCollection

A single Feature whose geometry is a GeometryCollection of a Point, a LineString and a Polygon. Many simple readers flatten or silently drop these, and many writers cannot produce them at all, so it is the usual place a conversion loses data.

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

GeoJSON Geometry: LineString

A one-feature FeatureCollection holding the four-vertex Coast Road, so a reader can be exercised on LineString in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON Geometry: MultiLineString
geojson
1.1 KB
Actual file preview for GeoJSON Geometry: MultiLineString

GeoJSON Geometry: MultiLineString

A one-feature FeatureCollection holding all three roads as one geometry, so a reader can be exercised on MultiLineString in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

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

GeoJSON Geometry: MultiPoint

A one-feature FeatureCollection holding three harbour buoys, so a reader can be exercised on MultiPoint in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON Geometry: MultiPolygon
geojson
2 KB
Actual file preview for GeoJSON Geometry: MultiPolygon

GeoJSON Geometry: MultiPolygon

A one-feature FeatureCollection holding the three parcels as one geometry, so a reader can be exercised on MultiPolygon in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

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

GeoJSON Geometry: Point

A one-feature FeatureCollection holding a single position, so a reader can be exercised on Point in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

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

GeoJSON Geometry: Polygon

A one-feature FeatureCollection holding a simple four-corner parcel, so a reader can be exercised on Polygon in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

File
GEOJSON · Geojson · UTF-8
Use case
GeospatialJSON parsing+1· Conversion set
Preview of GeoJSON Geometry: Polygon with an interior ring
geojson
1.1 KB
Actual file preview for GeoJSON Geometry: Polygon with an interior ring

GeoJSON Geometry: Polygon with an interior ring

A one-feature FeatureCollection holding a parcel with a courtyard cut out of it, so a reader can be exercised on Polygon in isolation. Coordinates come from the Kestrel Bay territory, so the same shape appears again in every other format in this category.

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