Moves the iterator to the layer with the given name, if present.
If the layer is not found, the current layer will be set to null and the function will return false. Layers are typically omitted if they are empty, so don't assume that a layer in the schema will always be present.
The iterator's current feature will be null after calling this function; use [ method@VectorReaderIter.next_feature] to advance to the first feature in the layer.
| this |
A VectorReader. |
|
true if the layer was found, false otherwise. |