Opened 10 years ago
Closed 5 years ago
#5374 closed enhancement (wontfix)
Progress callback on OGR GetNextFeature
Reported by: | oleinik | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | closed_because_of_github_migration |
Component: | OGR_SF | Version: | 1.10.1 |
Severity: | normal | Keywords: | |
Cc: |
Description
Can your add possibility to get progress callback during GetNextFeature or get current position in reading datasource as separate function. This method can use approximated value, something like file position.
Change History (5)
comment:1 by , 10 years ago
comment:2 by , 10 years ago
On the large dxf files getfeaturecount works very long and as result reading process time is doubled.
comment:3 by , 10 years ago
ok, I understand the use case better. That might be a worthwhile addition. I'd rather see that as a new method at the layer level than as a callback. If that's something important to you, you might want to contract a GDAL developer to implement it.
comment:4 by , 10 years ago
Thanks for your suggestion. But I'm not so familiar with C++. I'm using GDAL/OGR with Delphi.
comment:5 by , 5 years ago
Milestone: | → closed_because_of_github_migration |
---|---|
Resolution: | → wontfix |
Status: | new → closed |
This ticket has been automatically closed because Trac is no longer used for GDAL bug tracking, since the project has migrated to GitHub. If you believe this ticket is still valid, you may file it to https://github.com/OSGeo/gdal/issues if it is not already reported there.
With getfeaturecount and a counter incremented at each getnextfeature you should be able to have the progress