Skip to content
Toggle navigation
Sign up
Product
Actions
Automate any workflow
Packages
Host and manage packages
Security
Find and fix vulnerabilities
Codespaces
Instant dev environments
Copilot
Write better code with AI
Code review
Manage code changes
Issues
Plan and track work
Discussions
Collaborate outside of code
Explore
All features
Documentation
GitHub Skills
Blog
Solutions
For
Enterprise
Teams
Startups
Education
By Solution
CI/CD & Automation
DevOps
DevSecOps
Case Studies
Customer Stories
Resources
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Pricing
In this repository
All GitHub
↵
Jump to
↵
No suggested jump to results
In this repository
All GitHub
↵
Jump to
↵
In this organization
All GitHub
↵
Jump to
↵
In this repository
All GitHub
↵
Jump to
↵
Sign in
Sign up
{{ message }}
qgis
/
QGIS
Public
Notifications
Fork
2.6k
Star
7.5k
Code
Issues
4.2k
Pull requests
55
Actions
Projects
1
Wiki
Security
Insights
More
Code
Issues
Pull requests
Actions
Projects
Wiki
Security
Insights
Commit
Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Skip missing geometries when calculating extent (
fixes
#8192
,
#8194
)
Loading branch information
nyalldawson
committed
Aug 4, 2013
1 parent
f6d2d8a
commit
7608faf
Showing
1 changed file
with
1 addition
and
1 deletion
.
Split
Unified
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
src/core/qgsvectorlayer.cpp
Show comments
View file
Edit file
Delete file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
Original file line number
Diff line number
Diff line change
Expand Up
@@ -1161,7 +1161,7 @@ QgsRectangle QgsVectorLayer::extent()
QgsFeature fet;
while
( fit.
nextFeature
( fet ) )
{
if
( fet.
geometry
() )
if
( fet.
geometry
()
&& fet.
geometry
()->
type
() != QGis::UnknownGeometry
)
{
QgsRectangle bb = fet.
geometry
()->
boundingBox
();
rect.
combineExtentWith
( &bb );
Expand Down
Toggle all file notes
Toggle all file annotations
0 comments on commit
7608faf
Please
sign in
to comment.
You can’t perform that action at this time.
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.