Bug report #19215
KML coordinate format
Status: | Closed | ||
---|---|---|---|
Priority: | Normal | ||
Assignee: | Even Rouault | ||
Category: | Data Provider/OGR | ||
Affected QGIS version: | 3.0.3 | Regression?: | No |
Operating System: | Win 7 64bit | Easy fix?: | No |
Pull Request or Patch supplied: | No | Resolution: | up/downstream |
Crashes QGIS or corrupts data: | No | Copied to github as #: | 27044 |
Description
The attached KML file is displayed correctly in QGIS 2.18.1 Las Palmas (Compiled against GDAL/OGR 2.1.2)
In QGIS 3.0.3-Girona it is not displayed correctly, there are just a couple of straight lines visible.
The <coordinates> tag contains the coordinate triples seperated by a carriage return, not by a space. If I change these carriage returns to spaces it works fine.
The file is generated by an external provider, so changing the way the coordinates are stored in the file is not an option.
---------------------------
installed QGIS Info:
QGIS version 3.0.3-Girona
QGIS code revision 8a899c8758
Compiled against Qt 5.9.2
Running against Qt 5.9.2
Compiled against GDAL/OGR 2.2.4
Running against GDAL/OGR 2.2.4
Compiled against GEOS 3.5.0-CAPI-1.9.0
Running against GEOS 3.5.0-CAPI-1.9.0 r4084
PostgreSQL Client Version 9.2.4
SpatiaLite Version 4.3.0
QWT Version 6.1.3
QScintilla2 Version 2.10.1
PROJ.4 Version 493
History
#1 Updated by Even Rouault about 6 years ago
- Resolution set to up/downstream
- Assignee set to Even Rouault
- Status changed from Open to Closed
Fixed/workaround in GDAL:
- master: https://github.com/OSGeo/gdal/commit/b7ae35320a4300822d556396be8e7b3f507012b6
- release/2.3: https://github.com/OSGeo/gdal/commit/2957de2c8bc039c0b96299bffec0ddea3be22772