-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
sometimes data in 900913 crs is not shown #18391
Comments
Author Name: Jürgen Fischer (@jef-n) which errors do you get?
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Regina Obe (Regina Obe) Haven't had a chance to test this again. I have to refind the data I was working with. It didn't give an error just didn't show anything. I'll check the logs next time to see what it shows. |
Author Name: Giovanni Manghi (@gioman) Regina Obe wrote:
then maybe we can close this ticket as we can't replicate the issue, and eventually reopen it again should it show again.
|
Author Name: Regina Obe (Regina Obe) Keep this closed for now. Might be a PostGIS issue (testing with PostGIS 2.1.2 on windows with QGIS 2.4 OSGEO4W) I finally found the dataset in question and tested in QGIS 2.4. QGIS 2.4 doesn't seem to have quite same issue and doesn't prompt so its better but the extent it uses is way off and all I see is a tiny speckle. Might be a postgis bug and not a QGIS bug. I suspect maybe QGIS is relying on the ST_EstimatedExtent value, which seems to be way off for this dataset and maybe it didn't in previous versions I used of QGIS. If I load the polygon layer first it works fine (presumably because no estimates for polygon so QGIS is using the true extent). Attached is the sql for the linestring set in question and related polygon set. For reference: BOX(-7913644.17 5215347.13,-7912393.22 5216020.92) --note how this is way different from real extent -- @select ST_Extent(way) from planet_osm_polygon;@ @select ST_EstimatedExtent('planet_osm_polygon', 'way');@
|
Author Name: Regina Obe (Regina Obe) Nevermind if it was a PostGIS bug, its fixed. I did a vacuum analyze on the table and now it displays fine. Sorry for the noise. |
Author Name: Regina Obe (Regina Obe)
Original Redmine Issue: 9863
Affected QGIS version: 2.2.0
Redmine category:projection_support
I'm not sure if this is a similar issue to #17880 (which should be fixed), but after loading OSM data In PostGIS 2.1.1 with osm2pgsql on Windows. If I select for example the planet_osm_polygon layer (which is in srid: 900913), it prompts for SRID and regardless what I pick (EPSG:3785) or if I cancel, most of the time it does not draw the layer and doesn't give an error though somtimes it does (very odd).
However if I change my table way column with:
It no longer prompts and works fine.
This is running QGIS version 2.2.0-Valmiera 64-bit, PROJ.4 Version 480 on Windows
The text was updated successfully, but these errors were encountered: