{"action":"opened","issue":{"url":"https://api.github.com/repos/GeoNode/geonode/issues/2173","labels_url":"https://api.github.com/repos/GeoNode/geonode/issues/2173/labels{/name}","comments_url":"https://api.github.com/repos/GeoNode/geonode/issues/2173/comments","events_url":"https://api.github.com/repos/GeoNode/geonode/issues/2173/events","html_url":"https://github.com/GeoNode/geonode/issues/2173","id":83235475,"number":2173,"title":"Uploader / Report Projection Error and Hardcode Projection","user":{"login":"pjdufour","id":1438253,"avatar_url":"https://avatars.githubusercontent.com/u/1438253?v=3","gravatar_id":"","url":"https://api.github.com/users/pjdufour","html_url":"https://github.com/pjdufour","followers_url":"https://api.github.com/users/pjdufour/followers","following_url":"https://api.github.com/users/pjdufour/following{/other_user}","gists_url":"https://api.github.com/users/pjdufour/gists{/gist_id}","starred_url":"https://api.github.com/users/pjdufour/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pjdufour/subscriptions","organizations_url":"https://api.github.com/users/pjdufour/orgs","repos_url":"https://api.github.com/users/pjdufour/repos","events_url":"https://api.github.com/users/pjdufour/events{/privacy}","received_events_url":"https://api.github.com/users/pjdufour/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GeoNode/geonode/labels/geoserver-integration","name":"geoserver-integration","color":"ededed"},{"url":"https://api.github.com/repos/GeoNode/geonode/labels/upload","name":"upload","color":"ededed"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-06-01T00:21:24Z","updated_at":"2015-06-01T00:21:24Z","closed_at":null,"body":"Sometimes an upload stalls without an error because it cannot decode the .prj file for a shapefile.  For example, the first block below works but the second block does not.  They both represent EPSG:4326 (WGS 84), but QGIS, ArcGIS, and other programs are not consistent in how they write the .prj file.  Currently, I just manually copy over the .prj before uploading.\r\n\r\nFirst, users should be able to hardcode in the EPSG code when uploading and pass it to the importer like they do for charset.  Second, users should be shown the importer error when there is one and the import should be cleaned out.\r\n\r\n**Works**\r\nGEOGCS[\"WGS 84\", DATUM[\"World Geodetic System 1984\", SPHEROID[\"WGS 84\", 6378137.0, 298.257223563, AUTHORITY[\"EPSG\",\"7030\"]], AUTHORITY[\"EPSG\",\"6326\"]], PRIMEM[\"Greenwich\", 0.0, AUTHORITY[\"EPSG\",\"8901\"]], UNIT[\"degree\", 0.017453292519943295], AXIS[\"Geodetic longitude\", EAST], AXIS[\"Geodetic latitude\", NORTH], AUTHORITY[\"EPSG\",\"4326\"]]\r\n\r\n**Doesn't Work**\r\nGEOGCS[\"GCS_WGS_1984\",DATUM[\"D_WGS_1984\",SPHEROID[\"WGS_1984\",6378137.0,298.257223563]],PRIMEM[\"Greenwich\",0.0],UNIT[\"Degree\",0.0174532925199433],METADATA[\"World\",-180.0,-90.0,180.0,90.0,0.0,0.0174532925199433,0.0,1262]]\r\n"}}