Skip to content
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

layer's SRS not recognized (at *first load* only) #11145

Closed
qgib opened this issue May 13, 2008 · 3 comments
Closed

layer's SRS not recognized (at *first load* only) #11145

qgib opened this issue May 13, 2008 · 3 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation

Comments

@qgib
Copy link
Contributor

qgib commented May 13, 2008

Author Name: Maciej Sieczka - (Maciej Sieczka -)
Original Redmine Issue: 1085

Redmine category:projection_support
Assignee: nobody -


Even if the layer's SRS is not prone to bug #11139, as described in #11139 comment:2, QGIS fails to recognize the layer's SRS at each first, but only at first load. Example:

The attached layer is in EPSG:32633, which is in proj4 lingo:

+proj=utm +zone=33 +ellps=WGS84 +datum=WGS84 +units=m +no_defs

the layer's ogrinfo output confirms:

$ ogrinfo -al -so sample_utm33n
INFO: Open of @sample_utm33n'
      using driver @ESRI Shapefile' successful.

Layer name: area
Geometry: Polygon
Feature Count: 1
Extent: (564573.435057, 5660045.542715) - (633165.320045, 5739296.325524)
Layer SRS WKT:
PROJCS["WGS_1984_UTM_Zone_33N",
    GEOGCS["GCS_WGS_1984",
        DATUM["WGS_1984",
            SPHEROID[[WGS_1984]],
        PRIMEM[[Greenwich]],
        UNIT[[Degree]],
    PROJECTION[[Transverse_Mercator]],
    PARAMETER[[latitude_of_origin]],
    PARAMETER[[central_meridian]],
    PARAMETER[[scale_factor]],
    PARAMETER[[false_easting]],
    PARAMETER[[false_northing]],
    UNIT[[Meter]]
cat: Real (11.0

Quit any QGIS instances you running. Load the shapefile into QGIS. Depending on your setting in Settings > Options > Projection, QGIS will assign your default SRS or it will prompt you to pick on from the list - which means that QGIS fails to recognize the layer's SRS. Interstingly, at each subsequent loading of the same layer this problem does not take place anymore!

I suspect this is a QGIS issue. If it's down to GDAL or anything else please forward the ticket where it belongs.


@qgib
Copy link
Contributor Author

qgib commented Jun 9, 2008

Author Name: Maciej Sieczka - (Maciej Sieczka -)


The bug is gone. I don't know why exactly. I cannot find anything possibly related in recent QGIS SVN comits. But I might be wrong (not C++ savvy I am). Closing it for now.


  • resolution was changed from to worksforme
  • status_id was changed from Open to Closed

@qgib
Copy link
Contributor Author

qgib commented Jun 9, 2008

Author Name: Jürgen Fischer (@jef-n)


Replying to [comment:1 msieczka]:

The bug is gone. I don't know why exactly. I cannot find anything possibly related in recent QGIS SVN comits. But I might be wrong (not C++ savvy I am). Closing it for now.

maybe 2b3bb91 (SVN r8593)

@qgib
Copy link
Contributor Author

qgib commented Aug 21, 2009

Author Name: Anónimo (Anónimo)


Milestone Version 0.9.2 deleted

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation labels May 24, 2019
@qgib qgib closed this as completed May 24, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Projections/Transformations Related to coordinate reference systems or coordinate transformation
Projects
None yet
Development

No branches or pull requests

1 participant