<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div>Hi Brett,</div><div><br></div><div>Nicolas, is right I'm afraid.</div><div><br></div><div>If you can send some of the suspects (or put somewhere accessible) I'm happy to help find a work around / file bug / find a solution. </div><div><br></div><div>-ramon.</div><div><br>On 28 Nov 2014, at 11:44, Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca">nicolas.cadieux@archeotec.ca</a>> wrote:<br><br></div><blockquote type="cite"><div><p dir="ltr">Qgis will only ask for a projection if it is not embedded in the tif and you have selected the "ask for CSR" if its not specified.  If it is specified, (but wrong) then I am not sure how to force it.  I think you can specify a CSR when you right click on a layer name. I have seen this option go by but never used it and I am not sure what it does.</p>
<p dir="ltr">My first reaction would be to try the "assign projection" that uses gdal_warp.  You seem to have had a bit of an issue with that :(  It would be nice to try and replicate this problem so we could do a bug report. (Did you use the same directory to open and save the file?) I have never seen this one before.</p>
<p dir="ltr">My second option would probably be to use a linear algorithm in the georeferencing module in order to see if you could create a world file that could then be modified with a text editor but this is a guess.  I think you can also specify a wold file and a new projection in the "save as" but I am far from a box now so I can't check.</p>
<p dir="ltr">Well it seem you have found the problem with the wrong CRS so I am happy for you and I wish you the best.</p>
<p dir="ltr">Nicolas Cadieux M.Sc.<br>
Les Entreprises Archéotec inc. <br>
8548, rue Saint-Denis Montréal H2P 2H2<br>
Téléphone: 514.381.5112  Fax: 514.381.4995</p>
<div class="quote">Le 2014-11-27 20:51, "Brett Adams-2 [via <a href="http://OSGeo.org">OSGeo.org</a>]" <<a href="/user/SendEmail.jtp?type=node&node=5175408&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<br type="attribution"><blockquote style="border-left:2px solid #CCCCCC;padding:0 1em" class="quote">

        <meta http-equiv="Content-Type" content="text/html; charset=utf-8"><meta name="Generator" content="Microsoft Word 14 (filtered medium)"><!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]--><div class="WordSection1"><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">How do I force QGIS to ask for a projection?    None of the options under <b><i>Settings>>Options>>CRS</i></b> enforce this.     QGIS sees the tif has a projection, doesn’t recognise it, then assigns it with unrecognised WGS84 based projection.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">Tried running raster/ projection/ assign projection in batch mode.  It deleted all of the tif images!  That’ll have to be a separate thread but I guess it’s not a common problem.<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">I was able to trace the projection problem back to the original gridded image used to create the tif.   The grid used GDA94 / MGA51S instead of GDA94/ MGA51.  Image processing accepted 51S but when it wrote the tiff it wasn’t able to assign a sensible projection.     So QGIS got it right<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D">brett<o:p></o:p></span></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Nicolas Cadieux [mailto:<a href="/user/SendEmail.jtp?type=node&node=5175400&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>] <br><b>Sent:</b> Thursday, 27 November 2014 10:01 PM<br><b>To:</b> Brett Adams<br><b>Subject:</b> RE: [Qgis-user] [QGIS-user] Prompt for projection when importing raster - QGIS 2.6<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><p>Hi<o:p></o:p></p><p>When you open a file and then Qgis asks for a projection, where does the file end up? Is it at the right coordinate but in the wrong CRS or is it near 0,0?<o:p></o:p></p><p>If its near 0,0 then it's not georeferenced.  If it's in the right coordinates but in the wrong place, then the EPGS code is not in the .tif<o:p></o:p></p><p>If you use gdalinfo (raster \ Miscellaneous \ information), do you see  the line "authority ["EPSG...] Under  the line " unit"?  Can you see the code of your projection?<o:p></o:p></p><p>In MapInfo, the projection may be in a .tab file (or an other text file) or in the workspace so isolate the file in a folder and try opening it in blank workspace.  If it is not is the right spot, then MapInfo is not getting the information from the .tif<o:p></o:p></p><p>I just checked and you can use raster/ projection/ assign projection in batch mode. No need for Processing.  <o:p></o:p></p><p>Nicolas Cadieux M.Sc.<br>Les Entreprises Archéotec inc. <br>8548, rue Saint-Denis Montréal H2P 2H2<br>Téléphone: 514.381.5112  Fax: 514.381.4995<o:p></o:p></p><div><p class="MsoNormal">Le 2014-11-27 02:17, Brett Adams <<a href="/user/SendEmail.jtp?type=node&node=5175400&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<o:p></o:p></p><div><p class="MsoNormal">Nicolas,<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">Tried setting  "use project CRS" when CRS is not specified.  However I’m guessing there is a difference between unrecognised and not set.  So this didn’t help.<span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">The TIF files are georeferenced. They load into Mapinfo with the correct projection so I’m confident the information is there.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I’ll need to read up on the processing plugin, its not something I’ve ever used.<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">I thought there was an option such that all imported raster data had to be defined on import?<o:p></o:p></p><p class="MsoNormal"><o:p> </o:p></p><p class="MsoNormal">BA<o:p></o:p></p><p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D"><o:p> </o:p></span></p><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="/user/SendEmail.jtp?type=node&node=5175400&i=2" target="_top" rel="nofollow" link="external">[hidden email]</a> [<a href="/user/SendEmail.jtp?type=node&node=5175400&i=3" target="_top" rel="nofollow" link="external">[hidden email]</a>] <b>On Behalf Of </b>Nicolas Cadieux<br><b>Sent:</b> Thursday, 27 November 2014 10:16 AM<br><b>To:</b> <a href="/user/SendEmail.jtp?type=node&node=5175400&i=4" target="_top" rel="nofollow" link="external">[hidden email]</a><br><b>Subject:</b> Re: [Qgis-user] [QGIS-user] Prompt for projection when importing raster - QGIS 2.6<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p><p>Hi,<br>In your default CSR options, set "use project CRS" when CRS is not specified.  The CSR may not be included in the .tif files even if it is georeferenced. You can probably use the processing plugin to batch that.<o:p></o:p></p><p>Nicolas Cadieux M.Sc.<br>Les Entreprises Archéotec inc. <br>8548, rue Saint-Denis Montréal H2P 2H2<br>Téléphone: 514.381.5112  Fax: 514.381.4995<o:p></o:p></p><div><p class="MsoNormal">Le 2014-11-26 20:45, "Brett Adams-2 [via <a href="http://OSGeo.org">OSGeo.org</a>]" <<a href="/user/SendEmail.jtp?type=node&node=5175200&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a>> a écrit :<o:p></o:p></p><div><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Hi Folks,<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">How do I set QGIS 2.6 to prompt for projection when importing a raster file with a projection it doesn’t recognise?<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">The TIF images are GDA94/MGA zone51 but for some reason it doesn’t always recognise the projection.    I know they can be reset later, but when theirs 20 images that gets a bit laborious.<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Thanks<o:p></o:p></p><p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Brett <o:p></o:p></p></div><p class="MsoNormal" style="margin-bottom:12.0pt"><br>_______________________________________________ <br>Qgis-user mailing list <br><a href="/user/SendEmail.jtp?type=node&node=5175193&i=0" target="_top" rel="nofollow" link="external">[hidden email]</a> <br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a> <o:p></o:p></p><div class="MsoNormal" align="center" style="text-align:center"><hr size="1" width="100%" noshade="" style="color:#CCCCCC" align="center"></div><div><div><p class="MsoNormal"><b><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444">If you reply to this email, your message will be added to the discussion below:<o:p></o:p></span></b></p></div><p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#444444"><a href="http://osgeo-org.1560.x6.nabble.com/QGIS-user-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175193.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/QGIS-user-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175193.html</a> <o:p></o:p></span></p></div><div style="margin-top:4.8pt"><p class="MsoNormal" style="line-height:18.0pt"><span style="font-size:8.5pt;font-family:"Tahoma","sans-serif";color:#666666">To start a new topic under Quantum GIS - User, email ml-node+<a href="/user/SendEmail.jtp?type=node&node=5175200&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br><a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" target="_top" rel="nofollow" link="external"><span style="font-size:7.0pt;font-family:"Times New Roman","serif"">NAML</span></a> <o:p></o:p></span></p></div></div><p class="MsoNormal"><o:p> </o:p></p><div><div class="MsoNormal"><hr size="3" width="300" style="width:180.0pt" align="left"></div></div><p class="MsoNormal">View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Re-QGIS-user-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175200.html" target="_top" rel="nofollow" link="external">Re: [QGIS-user] Prompt for projection when importing raster - QGIS 2.6</a><br>Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html" target="_top" rel="nofollow" link="external">Quantum GIS - User mailing list archive</a> at <a href="http://Nabble.com">Nabble.com</a>.<o:p></o:p></p></div></div></div><br>_______________________________________________
<br>Qgis-user mailing list
<br><a href="/user/SendEmail.jtp?type=node&node=5175400&i=5" target="_top" rel="nofollow" link="external">[hidden email]</a>
<br><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" target="_top" rel="nofollow" link="external">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>

        
        
        
        <br>
        <br>
        <hr noshade="noshade" size="1" color="#cccccc">
        <div style="color:#444; font: 12px tahoma,geneva,helvetica,arial,sans-serif;">
                <div style="font-weight:bold">If you reply to this email, your message will be added to the discussion below:</div>
                <a href="http://osgeo-org.1560.x6.nabble.com/Re-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175400.html" target="_top" rel="nofollow" link="external">http://osgeo-org.1560.x6.nabble.com/Re-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175400.html</a>
        </div>
        <div style="color:#666; font: 11px tahoma,geneva,helvetica,arial,sans-serif;margin-top:.4em;line-height:1.5em">
                To start a new topic under Quantum GIS - User, email <a href="/user/SendEmail.jtp?type=node&node=5175408&i=1" target="_top" rel="nofollow" link="external">[hidden email]</a> <br>
                To unsubscribe from Quantum GIS - User, <a href="" target="_top" rel="nofollow" link="external">click here</a>.<br>
                <a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=macro_viewer&id=instant_html%21nabble%3Aemail.naml&base=nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&breadcrumbs=notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="nofollow" style="font:9px serif" target="_top" link="external">NAML</a>
        </div></blockquote></div>

        
        
        
<br><hr align="left" width="300">
View this message in context: <a href="http://osgeo-org.1560.x6.nabble.com/Re-Prompt-for-projection-when-importing-raster-QGIS-2-6-tp5175400p5175408.html">Re: Prompt for projection when importing raster - QGIS 2.6</a><br>
Sent from the <a href="http://osgeo-org.1560.x6.nabble.com/Quantum-GIS-User-f4125267.html">Quantum GIS - User mailing list archive</a> at <a href="http://Nabble.com">Nabble.com</a>.<br>
</div></blockquote><blockquote type="cite"><div><span>_______________________________________________</span><br><span>Qgis-user mailing list</span><br><span><a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a></span><br><span><a href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a></span></div></blockquote></body></html>