-
-
Notifications
You must be signed in to change notification settings - Fork 2.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
QGIS Failing to read some values from MDB joined to GPKG #43369
Comments
What does ogrinfo report? |
Not sure exactly how you want me to query these data, but here's what I have thus far:
|
If you query the "inventory" table using ogrinfo, does it show the missing values? |
Sorry it took me so long. Didn't know how to use OGRInfo and wasn't at work.
It looks like OGR isn't reading some of the values properly, at least according to stderr. I guess these are the ones that read out as 0 when they should not be. It is tricky to pick out in the stdout because BEGIN_MP of 0 is totally valid, especially for a segment that begins that roadway (the milepoint of that roadway would normally begin at 0.0mi and increase from there). However, END_MP and LENGTH can NEVER be 0, so any records that OGR parses with those as 0 are erroneous. NULL is perfectly acceptable. |
@Saijin-Naib so probably this is an upstream issue. |
Thanks, I've filed an Issue there. Do we park this in feedback or close for now? |
@Saijin-Naib maybe we can leave it here in feedback, please please add the link/reference of the upstream ticket. |
Upstream (GDAL) Issue: |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Awaiting merge of upstream fix to QGIS codebase to attempt reproducing again. |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Still awaiting upstream to reproduce. |
Ah, I can 100% confirm this is an upstream issue |
The QGIS project highly values your report and would love to see it addressed. However, this issue has been left in feedback mode for the last 14 days and is being automatically marked as "stale". |
Still pending. |
Fixed on GDAL side. @Saijin-Naib does it work now in QGIS? |
I will have to test, but I'm no longer on windows where I opened the issue, though I'm not sure it matters. Might take a while to get to my desktop to reproduce it, so sorry in advance. |
Ok, I tested it and it is fixed. I don't have missed values in the END_MP and LENGTH fields. |
Describe the bug
For some odd reason QGIS does not properly read some records from some columns of a vanilla/aspatial Access MDB when joined against a GPKG with mixed spatial/aspatial data.
How to Reproduce
Have GPKG with geometries and some tabular data joined against a completely vanilla/aspatial MDB
Note that some records in QGIS are not parsed/loaded correctly (For example, CAMP_Length)
Verify that these records can be recalled properly outside of QGIS
QGIS view:
![image](https://user-images.githubusercontent.com/19295950/119404253-8dd76600-bcad-11eb-8533-534a3049596a.png)
Note how many segments have a CAMP_Length of 0. This is not valid. Some records in the dataset are NULL, but they show properly as NULL.
Compare to the view in CAMP-RS:
![image](https://user-images.githubusercontent.com/19295950/119404336-a778ad80-bcad-11eb-8674-ac6a1208b03e.png)
Compare to the view in MDBPlus:
![image](https://user-images.githubusercontent.com/19295950/119404431-cbd48a00-bcad-11eb-9a6f-2d61641bbe1a.png)
QGIS and OS versions
QGIS version
3.18.3-Zürich
QGIS code revision
735cc85
Compiled against Qt
5.15.2
Running against Qt
5.15.2
Compiled against GDAL/OGR
3.3.0
Running against GDAL/OGR
3.3.0
Compiled against GEOS
3.9.1-CAPI-1.14.2
Running against GEOS
3.9.1-CAPI-1.14.2
Compiled against SQLite
3.35.2
Running against SQLite
3.35.2
Compiled against PDAL
2.2.0
Running against PDAL
2.2.0 (git-version: 365171)
PostgreSQL Client Version
13.0
SpatiaLite Version
5.0.1
QWT Version
6.1.3
QScintilla2 Version
2.11.5
Compiled against PROJ
8.0.1
Running against PROJ
Rel. 8.0.1, March 5th, 2021
OS Version
Windows 10 Version 2009
Active python plugins
CalculateGeometry;
MemoryLayerSaver;
slyr;
zoom_level;
db_manager;
MetaSearch;
processing
Additional context
Same dataset as Issue #43287
#43287 (comment)
The text was updated successfully, but these errors were encountered: