-
-
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
Shapefiles with EPSG 2926 and 2927 Washington State Plane North and South not recognized #21859
Comments
Author Name: Giovanni Manghi (@gioman) 2927 is +proj=lcc +lat_1=47.33333333333334 +lat_2=45.83333333333334 +lat_0=45.33333333333334 +lon_0=-120.5 +x_0=500000.0001016001 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs this shapefiles have +proj=lcc +lat_1=47.33333333333334 +lat_2=45.83333333333334 +lat_0=45.33333333333334 +lon_0=-120.5 +x_0=500000.0001016002 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=us-ft +no_defs there is one tiny difference, but that is enough to make qgis think is a different CRS. The definition on spatialreference.org is http://spatialreference.org/ref/epsg/2927/proj4/ ... +x_0=500000.0001016001 ...
|
Author Name: clifford snow (clifford snow) Changing the longitude to match the .prj file (+x_0=500000.0001016001 to +x_0=500000.0001016002) made no difference.) I also removed the system generated projections, 100001 with no change. QGIS still did not match the projection. |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Giovanni Manghi (@gioman) does not seems a qgis issue to me, but rather a data one. This is what OGR says about the projection of the downloaded data, as you can see there is no "authority" parameter giovanni@sibirica:~/Desktop/Railroads > ogrinfo -so Railroads.shp Railroads Layer name: Railroads After giving the layer the proper projection 2927 the paramter is correctly recognized giovanni@sibirica:~/Desktop/Railroads > ogrinfo -so Railroads.shp Railroads Layer name: Railroads |
Author Name: clifford snow (clifford snow) Typically I don't see authority parameters in .prj files. For example below is an ogrinfo report for a Census roads file for Franklin County, Washington, pulled this morning, that QGIS reports as EGPS:4269 ogrinfo -so tl_2015_53021_roads.shp tl_2015_53021_roads Layer name: tl_2015_53021_roads |
Author Name: Giovanni Manghi (@gioman) clifford snow wrote:
right, but anyway the rationale does not change: QGIS internal CRS DB is made of standard EPSG definition, if a layer has a CRS that does not match (exactly) any of them then QGIS adds the layer with a custom CRS, that still works. You can always (easily) force QGIS to recreate the prj file and give such layers the correct EPSG definition for the CRS. I can't see any QGIS bug here, but of course if I'm wrong please reopen this ticket.
|
Author Name: clifford snow (clifford snow) I'd like to reopen this after discovering prj2epsg.org run by Boundless. When I plug in the .prj (below) the site returns 2285. (I was surprised.) I believe QGIS should return the same.
|
Author Name: Giovanni Manghi (@gioman) clifford snow wrote:
can you attach the data in 2285?
|
Author Name: clifford snow (clifford snow) Attached is the proj file from Skagit County Roads-Named.shp.
|
Author Name: Josiah Wahlrab (Josiah Wahlrab) I believe this comes down to how ESRI and QGIS handle projections differently. A similar situation is described in this "blog post":https://www.northrivergeographic.com/archives/qgis-2-x-you-can-run-but-you-cant-hide-from-projection-issues. I don't believe this to be a QGIS bug, but I do think it would be super useful for QGIS to be able to discern projections like "prj2epsg":http://prj2epsg.org/. |
Author Name: clifford snow (clifford snow)
Original Redmine Issue: 13835
Affected QGIS version: 2.12.0
Redmine category:projection_support
When opening shapefiles from Washington county and state agencies, QGIS defaults to USER:10000X projection instead of either EPSG 2926 or 2927. Both of the projections are in QGIS.
This doesn't impact QGIS use, but as someone new to QGIS and projections, it would help if QGIS recognized and displayed the projection.
Attached is a copy of Pierce County GIS Roads .prj shapefile. Full shapefiles are available at http://gisdata.piercecowa.opendata.arcgis.com/datasets?q=Roads%2FRails
The text was updated successfully, but these errors were encountered: