Rahkonen Jukka (MML) wrote: > That certain dataset contains just geometries but no attributes. I do not > know if geometries are all > polygons of if multipolygons can also appear. However, I hoped that by > setting the environment > variable ATTRIBUTES_SKIP=YES and defining -nlt PROMOTE_TO_MULTI I could make > GDAL to skip the > first pass. I think that in this special case there is already a way to > provide both the the schema and > geometry type. I can also see that GDAL did read the ATTRIBUTES_SKIP setting > correctly.
> GeoJSON: Skip all attributes. > GeoJSON: First pass: 4136960 bytes read I forgot to mention that another existing option that user has for defining the schema and geometrytype is to write data into existing target by using ogrinfo with -append but without -addfields. -Jukka- _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev