GML 3.2 — CRS84 srsName (longitude first)
The same five towns as the territory GML twin, but declared with the CRS84 URN instead of the EPSG one — which flips the axis order to longitude first. The two files are otherwise identical in structure, so together they isolate axis-order handling from everything else.
<?xml version="1.0" encoding="UTF-8"?>
<kb:FeatureCollection xmlns:kb="https://examples.novusstreamsolutions.com/ns/kestrel-bay" xmlns:gml="http://www.opengis.net/gml/3.2" gml:id="fc-crs84">
<kb:featureMember>
<kb:Town gml:id="town-KB">
<kb:name>Kestrel Bay</kb:name>
<kb:population>4820</kb:population>
<kb:location>
<gml:Point gml:id="pt-KB" srsName="urn:ogc:def:crs:OGC:1.3:CRS84"><gml:pos>-12.482 47.064</gml:pos></gml:Point>
</kb:location>
</kb:Town>
</kb:featureMember>
<kb:featureMember>
<kb:Town gml:id="town-MR">
<kb:name>Marram</kb:name>
<kb:population>1180</kb:population>
<kb:location>
<gml:Point gml:id="pt-MR" srsName="urn:ogc:def:crs:OGC:1.3:CRS84"><gml:pos>-12.3915 47.112</gml:pos></gml:Point>
</kb:location>
</kb:Town>
</kb:featureMember>
<kb:featureMember>
<kb:Town gml:id="town-HW">
<kb:name>Holloway</kb:name>
<kb:population>2670</kb:population>
<kb:location>
<gml:Point gml:id="pt-HW" srsName="urn:ogc:def:crs:OGC:1.3:CRS84"><gml:pos>-12.551 47.018</gml:pos></gml:Point>
</kb:location>
</kb:Town>
</kb:featureMember>
<kb:featureMember>
<kb:Town gml:id="town-NP">
<kb:name>Ninepin</kb:name>
<kb:population>640</kb:population>
<kb:location>
<gml:Point gml:id="pt-NP" srsName="urn:ogc:def:crs:OGC:1.3:CRS84"><gml:pos>-12.4402 46.9725</gml:pos></gml:Point>
</kb:location>
</kb:Town>
</kb:featureMember>
<kb:featureMember>
<kb:Town gml:id="town-QC">
<kb:name>Quillan Cross</kb:name>
<kb:population>310</kb:population>
<kb:location>
<gml:Point gml:id="pt-QC" srsName="urn:ogc:def:crs:OGC:1.3:CRS84"><gml:pos>-12.6135 47.0885</gml:pos></gml:Point>
</kb:location>
</kb:Town>
</kb:featureMember>
</kb:FeatureCollection>
Specifications
- Format
- GML 3.2
- Features
- 5
- Srs Name
- urn:ogc:def:crs:OGC:1.3:CRS84
- Coordinate Order
- longitude latitude
- Encoding
- UTF-8
- Line Endings
- LF
- Contrast With
- kestrel-bay-territory.gml, which uses EPSG::4326 and latitude first
Testing contract
Expected to pass- Scenario
- Convert both this file and the EPSG-URN territory GML and compare the resulting coordinates.
- Expected result
- Both yield towns at 47 N, 12.5 W; a reader that hardcodes one axis order gets one of the two files wrong by swapping longitude and latitude.
What is a .gml file?
GML (Geography Markup Language) is the OGC's XML grammar for geographic features. Features carry typed properties and geometry elements such as gml:Point, gml:LineString, gml:Polygon, and their aggregates, with coordinates in gml:posList or gml:coordinates and the coordinate reference system named by an srsName attribute. It is the payload format of WFS services and the base of several national and INSPIRE data standards.
How to use this file
Use an example .gml file to test GML parsers and XML-based GIS pipelines, checking namespace handling, srsName resolution including the axis-order rules that differ between GML versions, and conversion to GeoJSON or shapefile.
How to use this file for testing
“GML 3.2 — CRS84 srsName (longitude first)” is a deterministic Novus Examples fixture for Geospatial, Conversion testing, Error handling. GeoJSON, GPX, and KML files with points, lines, polygons, and tracks — for testing map tools, route parsers, and geo importers.
Documented properties for this file: UTF-8 · LF · GML 3.2. Compare results against paired or grouped companions on this page when present (clean↔damaged, searchable↔scanned, or format twins) so scores stay reproducible across runs.
Download the file once, keep the path stable in CI or local scripts, and treat the spec table as the contract: dimensions, seeds, field lists, and roles are intentional. Corrupt or invalid samples are labelled as such — expect parsers to fail loudly rather than silently accept them.
Geospatial fixtures publish one invented territory across formats, with the coordinate reference system and feature counts documented in specs. Convert or reproject and diff against the twin in the same group; edge-case geometries state exactly which assumption they are built to break.
Related files
- geojsonGeoJSON — Antimeridian Line Split per RFC 7946The same transect cut at the 180th meridian into a two-part MultiLineString, which is what RFC 7946 section 3.1.9 recommends. The split latitude is the linear interpolation of the unsplit twin, so the two files describe the same ground path.

- geojsonGeoJSON — Antimeridian Polygon Split into a MultiPolygonThe 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.

- geojsonGeoJSON — 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.

- geojsonGeoJSON — Intentionally Invalid: Hole Outside Its ShellIntentionally invalid: the second ring is a whole separate parcel filed as an interior ring of the first, which OGC Simple Features forbids. It is what happens when a MultiPolygon is flattened into a Polygon by concatenating rings.

- geojsonGeoJSON — Intentionally Invalid: Latitude Before LongitudeIntentionally invalid: the five towns with their coordinates written latitude-first. RFC 7946 fixes the order as longitude then latitude, and this is the mistake that arrives via an EPSG-URN-ordered source such as the GML twin in the territory subcategory.

- geojsonGeoJSON — Intentionally Invalid: Self-Intersecting RingIntentionally invalid: a bowtie ring whose two lobes wind in opposite directions, so the shoelace areas nearly cancel. Buffer, intersection and area operations on this geometry return nonsense rather than failing, which is why it belongs in a validation suite.

Generated by generation/geospatial.py. Free for any use, no attribution required — license.