<div dir="ltr"><div>Thank you.   I have been doing some additional testing, it appears to relate to having a few maps on the canvas that use the Open Street Map underlay.  Even with a single OSM underlay, while I do get an export, the underlay is not complete, i.e. jagged edges where some tiles are missing in the exported png, even though they do appear on the map.<br><br></div>Dick<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Dec 29, 2015 at 3:00 PM,  <span dir="ltr"><<a href="mailto:qgis-user-request@lists.osgeo.org" target="_blank">qgis-user-request@lists.osgeo.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Send Qgis-user mailing list submissions to<br>
        <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:qgis-user-request@lists.osgeo.org">qgis-user-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:qgis-user-owner@lists.osgeo.org">qgis-user-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Qgis-user digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: 1928-1930 USGS maps (Jan Becket)<br>
   2. Re: 1928-1930 USGS maps (William Kyngesburye)<br>
   3. Re: Exporting png or pdf from print composer does not work,<br>
      empties canvas (Lyon) (Anita Graser)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 28 Dec 2015 12:12:34 -1000<br>
From: Jan Becket <<a href="mailto:janbecket.net@gmail.com">janbecket.net@gmail.com</a>><br>
To: William Kyngesburye <<a href="mailto:kyngchaos@kyngchaos.com">kyngchaos@kyngchaos.com</a>><br>
Cc: <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] 1928-1930 USGS maps<br>
Message-ID: <<a href="mailto:0F0FCD6B-DB74-4705-AE55-5154DA9A562C@gmail.com">0F0FCD6B-DB74-4705-AE55-5154DA9A562C@gmail.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
With your suggestions and those of Nicolas I was able to make the maps appear. I trashed the copies I had altered in Photoshop, loaded the original (black) images, set the min as 0 and the max as 1 and then stretched to min/max. That turned out to be easy. Thanks for the help!<br>
<br>
- Jan<br>
<br>
<br>
> On Dec 28, 2015, at 4:42 AM, William Kyngesburye <<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>> wrote:<br>
><br>
> Or, QGIS should be able to read 16bit greyscale images without breaking them with Photoshop.  You just need to set a min and max to include the 16bit range and stretch the contrast to minmax.  Make sure you are not using QGIS 2.10 - that had a broken raster styling on OS X.<br>
><br>
> Alternately, use GDAL to convert to 8bit, not Photoshop.  "gdal_translate -scale -ot Byte" should do it (in Terminal, I don't see the -scale or -ot options in QGIS GDAL convert format).<br>
><br>
>> On Dec 28, 2015, at 12:53 AM, Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca">nicolas.cadieux@archeotec.ca</a>> wrote:<br>
>><br>
>> Hi,<br>
>> You are correct, you have stripes the CRS info from the map because Photoshop does not know what to do. If you load the map, you can click on raster.. Something... Gdal-info.  That should give you all the tagged info left in the image.<br>
>><br>
>> Load the map in QGIS and click on "zoom to layer extent".  If you still don't see it, make sure you are in a CRS that is projected in meters.  You should be able to see it.  The map should be at 0,0.<br>
>><br>
>> All is not loss...  You can reproject the map to the correct CRS using the gdal georeferencing tool.    Always back up your data before manipulating it.<br>
>> Hope this helps!<br>
>><br>
>> Nicolas Cadieux M.Sc.<br>
>> Les Entreprises Archéotec inc.<br>
>> 8548, rue Saint-Denis Montréal H2P 2H2<br>
>> Téléphone: <a href="tel:514.381.5112" value="+15143815112">514.381.5112</a>  Fax: <a href="tel:514.381.4995" value="+15143814995">514.381.4995</a><br>
>> <a href="http://www.archeotec.ca" rel="noreferrer" target="_blank">www.archeotec.ca</a><br>
>><br>
>> On Dec 28, 2015 01:16, "Jan Becket [via OSGeo.org]" <[hidden email]> wrote:<br>
>> After much effort, I obtained an old set of 1928-1930 USGS topo maps of Oʻahu Island, Hawaiʻi - for a project I am working on. The maps are without collars and used by a local archaeological firm. The geotiff maps at first showed as completely black on my Mac system (10.10.5 - Yosemite). However I found this link with a resultuion for the issue:<br>
>><br>
>> <a href="http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image</a><br>
>><br>
>> I opened the 16 quads for Oʻahu in Photoshop and applied auto levels, after which they became discernable quad maps. However, when imported into QGIS, they are now invisible. I wonder if it is possible that I stripped away the geotiff CRS information. Prior to the Photoshop operation, the maps did appear correctly referenced to Oʻahu Island (although they were totally opaque / black).<br>
>><br>
>> Now, the maps in QGIS are not visible, although the geotiffs are several megabytes in size and are visible when opened in Photoshop, Preview, or whatever image viewer.<br>
>><br>
>> I should mention that I have successfully imported other sets of USGS maps of Oʻahu for this project - the 1902 series, the 1916 series, the 1935 series - as well as the current series. The early maps used the Old Hawaiian CRS (EPSG 3564) but more modern maps use WGS83, Zone 4N (EPSG 3711). I have on the fly projection enabled and have tried many CRS settings for the maps, but nothing results in a visible quad appearing.<br>
>><br>
>> Suggestions very welcome ...<br>
>><br>
>> _______________________________________________<br>
>> Qgis-user mailing list<br>
>> <a href="/user/SendEmail.jtp?type&#61;node&amp;node&#61;5243052&amp;i&#61;0">[hidden email]<br>
>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>><br>
>> If you reply to this email, your message will be added to the discussion below:<br>
>> <a href="http://osgeo-org.1560.x6.nabble.com/1928-1930-USGS-maps-tp5243052.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/1928-1930-USGS-maps-tp5243052.html</a><br>
>> To start a new topic under Quantum GIS - User, email <a href="mailto:ml-node%2Bs1560n4125267h38@n6.nabble.com">ml-node+s1560n4125267h38@n6.nabble.com</a><br>
>> To unsubscribe from Quantum GIS - User, <a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;unsubscribe_by_code&amp;node&#61;4125267&amp;code&#61;bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg&#61;&#61</a>;">click here.<br>
>> <a href="<a href="http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro&#61;macro_viewer&amp;id&#61;instant_html%21nabble%3Aemail.naml&amp;base&#61;nabble.naml.namespaces.BasicNamespace-nabble.view.web.template.NabbleNamespace-nabble.view.web.template.NodeNamespace&amp;breadcrumbs&#61;notify_subscribers%21nabble%3Aemail.naml-instant_emails%21nabble%3Aemail.naml-send_instant_email%21nabble%3Aemail.naml</a>" style="font:9px serif">NAML<br>
>><br>
>> View this message in context: Re: 1928-1930 USGS maps<br>
>> Sent from the Quantum GIS - User mailing list archive at Nabble.com.<br>
>> _______________________________________________<br>
>> Qgis-user mailing list<br>
>> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
>> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
>> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
> -----<br>
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
> <a href="http://www.kyngchaos.com/" rel="noreferrer" target="_blank">http://www.kyngchaos.com/</a><br>
><br>
> "Those people who most want to rule people are, ipso-facto, those least suited to do it."<br>
><br>
> - A rule of the universe, from the HitchHiker's Guide to the Galaxy<br>
><br>
><br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 28 Dec 2015 16:38:57 -0600<br>
From: William Kyngesburye <<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>><br>
To: Jan Becket <<a href="mailto:janbecket.net@gmail.com">janbecket.net@gmail.com</a>><br>
Cc: <a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a><br>
Subject: Re: [Qgis-user] 1928-1930 USGS maps<br>
Message-ID: <<a href="mailto:A068BC41-70DF-45B1-BAFE-EF8E63C771A4@kyngchaos.com">A068BC41-70DF-45B1-BAFE-EF8E63C771A4@kyngchaos.com</a>><br>
Content-Type: text/plain; charset=utf-8<br>
<br>
Max 1?  Odd for a greyscale image.  Or are they 1bit images?<br>
<br>
At least it's working.<br>
<br>
> On Dec 28, 2015, at 4:12 PM, Jan Becket <<a href="mailto:janbecket.net@gmail.com">janbecket.net@gmail.com</a>> wrote:<br>
><br>
> With your suggestions and those of Nicolas I was able to make the maps appear. I trashed the copies I had altered in Photoshop, loaded the original (black) images, set the min as 0 and the max as 1 and then stretched to min/max. That turned out to be easy. Thanks for the help!<br>
><br>
> - Jan<br>
><br>
><br>
>> On Dec 28, 2015, at 4:42 AM, William Kyngesburye <<a href="mailto:woklist@kyngchaos.com">woklist@kyngchaos.com</a>> wrote:<br>
>><br>
>> Or, QGIS should be able to read 16bit greyscale images without breaking them with Photoshop.  You just need to set a min and max to include the 16bit range and stretch the contrast to minmax.  Make sure you are not using QGIS 2.10 - that had a broken raster styling on OS X.<br>
>><br>
>> Alternately, use GDAL to convert to 8bit, not Photoshop.  "gdal_translate -scale -ot Byte" should do it (in Terminal, I don't see the -scale or -ot options in QGIS GDAL convert format).<br>
>><br>
>>> On Dec 28, 2015, at 12:53 AM, Nicolas Cadieux <<a href="mailto:nicolas.cadieux@archeotec.ca">nicolas.cadieux@archeotec.ca</a>> wrote:<br>
>>><br>
>>> Hi,<br>
>>> You are correct, you have stripes the CRS info from the map because Photoshop does not know what to do. If you load the map, you can click on raster.. Something... Gdal-info.  That should give you all the tagged info left in the image.<br>
>>><br>
>>> Load the map in QGIS and click on "zoom to layer extent".  If you still don't see it, make sure you are in a CRS that is projected in meters.  You should be able to see it.  The map should be at 0,0.<br>
>>><br>
>>> All is not loss...  You can reproject the map to the correct CRS using the gdal georeferencing tool.    Always back up your data before manipulating it.<br>
>>> Hope this helps!<br>
>>><br>
>>> Nicolas Cadieux M.Sc.<br>
>>> Les Entreprises Archéotec inc.<br>
>>> 8548, rue Saint-Denis Montréal H2P 2H2<br>
>>> Téléphone: <a href="tel:514.381.5112" value="+15143815112">514.381.5112</a>  Fax: <a href="tel:514.381.4995" value="+15143814995">514.381.4995</a><br>
>>> <a href="http://www.archeotec.ca" rel="noreferrer" target="_blank">www.archeotec.ca</a><br>
>>><br>
>>> On Dec 28, 2015 01:16, "Jan Becket [via OSGeo.org]" <[hidden email]> wrote:<br>
>>> After much effort, I obtained an old set of 1928-1930 USGS topo maps of Oʻahu Island, Hawaiʻi - for a project I am working on. The maps are without collars and used by a local archaeological firm. The geotiff maps at first showed as completely black on my Mac system (10.10.5 - Yosemite). However I found this link with a resultuion for the issue:<br>
>>><br>
>>> <a href="http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image" rel="noreferrer" target="_blank">http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image</a><br>
>>><br>
>>> I opened the 16 quads for Oʻahu in Photoshop and applied auto levels, after which they became discernable quad maps. However, when imported into QGIS, they are now invisible. I wonder if it is possible that I stripped away the geotiff CRS information. Prior to the Photoshop operation, the maps did appear correctly referenced to Oʻahu Island (although they were totally opaque / black).<br>
>>><br>
>>> Now, the maps in QGIS are not visible, although the geotiffs are several megabytes in size and are visible when opened in Photoshop, Preview, or whatever image viewer.<br>
>>><br>
>>> I should mention that I have successfully imported other sets of USGS maps of Oʻahu for this project - the 1902 series, the 1916 series, the 1935 series - as well as the current series. The early maps used the Old Hawaiian CRS (EPSG 3564) but more modern maps use WGS83, Zone 4N (EPSG 3711). I have on the fly projection enabled and have tried many CRS settings for the maps, but nothing results in a visible quad appearing.<br>
>>><br>
>>> Suggestions very welcome ...<br>
<br>
-----<br>
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com><br>
<a href="http://www.kyngchaos.com/" rel="noreferrer" target="_blank">http://www.kyngchaos.com/</a><br>
<br>
"This is a question about the past, is it? ... How can I tell that the past isn't a fiction designed to account for the discrepancy between my immediate physical sensations and my state of mind?"<br>
<br>
- The Ruler of the Universe<br>
<br>
<br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Tue, 29 Dec 2015 12:55:51 +0200<br>
From: Anita Graser <<a href="mailto:anitagraser@gmx.at">anitagraser@gmx.at</a>><br>
To: Richard Males <<a href="mailto:rbmales@gmail.com">rbmales@gmail.com</a>><br>
Cc: qgis-user <<a href="mailto:qgis-user@lists.osgeo.org">qgis-user@lists.osgeo.org</a>><br>
Subject: Re: [Qgis-user] Exporting png or pdf from print composer does<br>
        not work, empties canvas (Lyon)<br>
Message-ID:<br>
        <CAFFV8Fj8OEpNr_Gkmhw96=<a href="mailto:HGsZJW06GP6vrLmJ250EfLCmuwFg@mail.gmail.com">HGsZJW06GP6vrLmJ250EfLCmuwFg@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi Richard,<br>
<br>
That's definitely not common QGIS behavior. Do you have access to a second<br>
machine where you can reproduce the behavior? Can you share the problematic<br>
project including data? Which data sources do you use?<br>
<br>
Sorry, just questions and no answers at this point.<br>
<br>
Best wishes,<br>
Anita<br>
<br>
<br>
<br>
On Mon, Dec 28, 2015 at 3:26 AM, Richard Males <<a href="mailto:rbmales@gmail.com">rbmales@gmail.com</a>> wrote:<br>
<br>
> I am relatively new to print composer, but have been able to develop some<br>
> nice annotated maps.   I was able to successfully export to a png one time,<br>
> but since then, exports to png or pdf or svg all fail and empty the<br>
> canvas.  If I exit out of qgis and re-start, I can find the previously<br>
> populated composer with all elements intact, but I still cannot get an<br>
> export.  Windows 8.1, Lyon 2.12.2<br>
><br>
> Sometimes, not always, after attempting the export, qgis itself will<br>
> crash.  I have restarted the computer, same problem.<br>
><br>
> Is this a bug, or my ignorance?   I usually go for my ignorance, so asking<br>
> for help, as print composer looks to be a wonderful tool.<br>
><br>
> Thanks in advance<br>
><br>
> Dick<br>
><br>
> _______________________________________________<br>
> Qgis-user mailing list<br>
> <a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
> List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
> Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/qgis-user/attachments/20151229/b0a50b7a/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/qgis-user/attachments/20151229/b0a50b7a/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
List info: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
Unsubscribe: <a href="http://lists.osgeo.org/mailman/listinfo/qgis-user" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
------------------------------<br>
<br>
End of Qgis-user Digest, Vol 118, Issue 49<br>
******************************************<br>
</blockquote></div><br></div>