Add parameter to "prime" OGR data sources

Description

Some OGR DataSource objects can keep interesting in memory caches (GeoJSON) or in memory spatial indexes (OpenFileGDB), add an option to "prime" them, that is, to do a full scan of the features on first access by the given DataSource object (without actually reading anything on the Java side, Even shared a neat treat to do the full scan and keep it in the native side only).

Environment

None

Assignee

Andrea Aime

Reporter

Andrea Aime

Triage

None

Components

Fix versions

Priority

Medium
Configure