Overview
To improve the interoperability of geospatial data in the IIIF Georeference Viewer, we added support for data structures conforming to the Linked Places Format (LPF). This article explains the overview of LPF and the implementation details.
What is Linked Places Format (LPF)?
Linked Places Format is an interoperability format for gazetteer data developed by the Pelagios Network. It extends GeoJSON and incorporates Linked Data (JSON-LD) concepts, enabling sharing and linking of place information across different datasets.
Features of LPF
- JSON-LD compatible: Supports the Semantic Web using
@idand@context - GeoJSON extension: Adds metadata while maintaining standard GeoJSON structure
- Link functionality: Expresses references to external datasets using
linksarrays - Temporal information: Describes temporal information through the
whenproperty
Official Specification
- GitHub: https://github.com/LinkedPasts/linked-places-format
- JSON-LD Context: https://raw.githubusercontent.com/LinkedPasts/linked-places/master/linkedplaces-context-v1.1.jsonld
Comparison with Previous Format
Previous Format (metadata object)
The previous format stored all metadata within the metadata object. While simple, it had the following issues:
- Low interoperability with other tools due to non-standard format
- Difficult to use as Linked Data
- Unable to express the type of links to external resources (same, similar, etc.)
New Recommended Format (LPF-compliant)
Format Design Details
Placement of @id
GeoJSON standard (RFC 7946) and Linked Places Format differ in where identifiers are placed:
| Format | Key | Location | Purpose |
|---|---|---|---|
| GeoJSON standard | id | Directly under Feature | Simple ID within a file |
| Linked Places Format | @id | Directly under Feature | URI identifier for RDF/Linked Data |
Checking the official LPF samples, @id is placed directly under Feature:
Placement of title
In LPF, title is placed within properties. This design ensures that information is retained as attribute data when loaded in GIS software (such as QGIS).
links Array
links is placed directly under Feature and expresses references to external resources. Each link has a type and identifier:
Link Types
| Type | Description | Example Usage |
|---|---|---|
exactMatch | Identical resource | Getty TGN, GeoNames |
closeMatch | Similar resource | Other gazetteers |
primaryTopicOf | Web page about this place | Wikipedia, Google Maps |
subjectOf | Document mentioning this place | Historical documents |
seeAlso | Related resource | Related information |
Implementation Details
Type Definition Updates
ID Resolution Priority
To support both old and new formats, IDs are resolved in the following priority:
Popup Display Updates
GeoJSON Conversion for MapGL
Backward Compatibility
To avoid breaking existing data, the legacy metadata object format continues to be supported. Even when old and new formats are mixed, everything works correctly:
Benefits of Adopting LPF
1. Improved Interoperability
LPF is designed for data exchange between gazetteers. It facilitates integration with projects such as:
2. Linked Data Support
By using @id, each place can be uniquely identified by URI and utilized as Linked Data. This enables:
- Easy conversion to RDF
- Querying via SPARQL
- Integration into the Semantic Web
3. Explicit Link Relationships
The links array allows explicit expression of relationships with external resources:
- exactMatch: “This place is identical to this entry in Getty TGN”
- closeMatch: “This place is similar to this Wikidata entity”
- primaryTopicOf: “For this place, refer to this Wikipedia article”
4. GIS Tool Compatibility
By placing title and tags within properties, they are displayed as attribute tables when loaded in GIS tools like QGIS.
Future Outlook
Temporal Information Support
LPF allows describing temporal information through the when property:
In the future, we are considering adding timeline display features utilizing this temporal information.
FeatureCollection-level @context
For full LPF support, we plan to support @context specification at the FeatureCollection level:
0
Summary
By adopting Linked Places Format, the IIIF Georeference Viewer has significantly improved the interoperability of geospatial data. While maintaining backward compatibility with existing data, incorporating Linked Data concepts enables richer metadata representation and integration with external resources.
We hope this will facilitate sharing and referencing place information across different datasets in historical geography research and digital archive projects.