[gdal-dev] Meaning of First pass in reading GeoJSON

Even Rouault even.rouault at spatialys.com
Thu Sep 13 01:28:27 PDT 2018


On jeudi 13 septembre 2018 08:00:00 CEST Rahkonen Jukka (MML) wrote:
> Hi,
> 
> What does GDAL do when it reads the whole GeoJSON file as "GeoJSON: First
> pass"? Could it make the total process faster if user could give the same
> information that is gathered with the First pass somehow directly, or is
> that step needed in any case?

The first pass does a full scan of the file to mostly detect the attribute 
schema and the layer geometry type.
In theory it could be omitted if the user had a way to provide that 
information, but that would mean a new format & code for that...

Even

-- 
Spatialys - Geospatial professional services
http://www.spatialys.com


More information about the gdal-dev mailing list