[Qgis-user] Qgis-user Digest, Vol 118, Issue 49

Richard Males rbmales at gmail.com
Wed Dec 30 06:10:53 PST 2015


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.

Dick

On Tue, Dec 29, 2015 at 3:00 PM, <qgis-user-request at lists.osgeo.org> wrote:

> Send Qgis-user mailing list submissions to
>         qgis-user at lists.osgeo.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         http://lists.osgeo.org/mailman/listinfo/qgis-user
> or, via email, send a message with subject or body 'help' to
>         qgis-user-request at lists.osgeo.org
>
> You can reach the person managing the list at
>         qgis-user-owner at lists.osgeo.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Qgis-user digest..."
>
>
> Today's Topics:
>
>    1. Re: 1928-1930 USGS maps (Jan Becket)
>    2. Re: 1928-1930 USGS maps (William Kyngesburye)
>    3. Re: Exporting png or pdf from print composer does not work,
>       empties canvas (Lyon) (Anita Graser)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 28 Dec 2015 12:12:34 -1000
> From: Jan Becket <janbecket.net at gmail.com>
> To: William Kyngesburye <kyngchaos at kyngchaos.com>
> Cc: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] 1928-1930 USGS maps
> Message-ID: <0F0FCD6B-DB74-4705-AE55-5154DA9A562C at gmail.com>
> Content-Type: text/plain; charset=utf-8
>
> 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!
>
> - Jan
>
>
> > On Dec 28, 2015, at 4:42 AM, William Kyngesburye <woklist at kyngchaos.com>
> wrote:
> >
> > 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.
> >
> > 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).
> >
> >> On Dec 28, 2015, at 12:53 AM, Nicolas Cadieux <
> nicolas.cadieux at archeotec.ca> wrote:
> >>
> >> Hi,
> >> 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.
> >>
> >> 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.
> >>
> >> 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.
> >> Hope this helps!
> >>
> >> Nicolas Cadieux M.Sc.
> >> Les Entreprises Archéotec inc.
> >> 8548, rue Saint-Denis Montréal H2P 2H2
> >> Téléphone: 514.381.5112  Fax: 514.381.4995
> >> www.archeotec.ca
> >>
> >> On Dec 28, 2015 01:16, "Jan Becket [via OSGeo.org]" <[hidden email]>
> wrote:
> >> 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:
> >>
> >>
> http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image
> >>
> >> 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).
> >>
> >> 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.
> >>
> >> 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.
> >>
> >> Suggestions very welcome ...
> >>
> >> _______________________________________________
> >> Qgis-user mailing list
> >> <a
> href="/user/SendEmail.jtp?type=node&node=5243052&i=0">[hidden
> email]
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >>
> >> If you reply to this email, your message will be added to the
> discussion below:
> >> http://osgeo-org.1560.x6.nabble.com/1928-1930-USGS-maps-tp5243052.html
> >> To start a new topic under Quantum GIS - User, email
> ml-node+s1560n4125267h38 at n6.nabble.com
> >> To unsubscribe from Quantum GIS - User, <a href="
> http://osgeo-org.1560.x6.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_code&node=4125267&code=bmljb2xhcy5jYWRpZXV4QGFyY2hlb3RlYy5jYXw0MTI1MjY3fDYzNDQ4MjQxNg==">click
> here.
> >> <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"
> style="font:9px serif">NAML
> >>
> >> View this message in context: Re: 1928-1930 USGS maps
> >> Sent from the Quantum GIS - User mailing list archive at Nabble.com.
> >> _______________________________________________
> >> Qgis-user mailing list
> >> Qgis-user at lists.osgeo.org
> >> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> > -----
> > William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> > http://www.kyngchaos.com/
> >
> > "Those people who most want to rule people are, ipso-facto, those least
> suited to do it."
> >
> > - A rule of the universe, from the HitchHiker's Guide to the Galaxy
> >
> >
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 28 Dec 2015 16:38:57 -0600
> From: William Kyngesburye <woklist at kyngchaos.com>
> To: Jan Becket <janbecket.net at gmail.com>
> Cc: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] 1928-1930 USGS maps
> Message-ID: <A068BC41-70DF-45B1-BAFE-EF8E63C771A4 at kyngchaos.com>
> Content-Type: text/plain; charset=utf-8
>
> Max 1?  Odd for a greyscale image.  Or are they 1bit images?
>
> At least it's working.
>
> > On Dec 28, 2015, at 4:12 PM, Jan Becket <janbecket.net at gmail.com> wrote:
> >
> > 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!
> >
> > - Jan
> >
> >
> >> On Dec 28, 2015, at 4:42 AM, William Kyngesburye <woklist at kyngchaos.com>
> wrote:
> >>
> >> 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.
> >>
> >> 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).
> >>
> >>> On Dec 28, 2015, at 12:53 AM, Nicolas Cadieux <
> nicolas.cadieux at archeotec.ca> wrote:
> >>>
> >>> Hi,
> >>> 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.
> >>>
> >>> 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.
> >>>
> >>> 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.
> >>> Hope this helps!
> >>>
> >>> Nicolas Cadieux M.Sc.
> >>> Les Entreprises Archéotec inc.
> >>> 8548, rue Saint-Denis Montréal H2P 2H2
> >>> Téléphone: 514.381.5112  Fax: 514.381.4995
> >>> www.archeotec.ca
> >>>
> >>> On Dec 28, 2015 01:16, "Jan Becket [via OSGeo.org]" <[hidden email]>
> wrote:
> >>> 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:
> >>>
> >>>
> http://stackoverflow.com/questions/13925995/options-to-convert-16-bit-image
> >>>
> >>> 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).
> >>>
> >>> 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.
> >>>
> >>> 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.
> >>>
> >>> Suggestions very welcome ...
>
> -----
> William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
> http://www.kyngchaos.com/
>
> "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?"
>
> - The Ruler of the Universe
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 29 Dec 2015 12:55:51 +0200
> From: Anita Graser <anitagraser at gmx.at>
> To: Richard Males <rbmales at gmail.com>
> Cc: qgis-user <qgis-user at lists.osgeo.org>
> Subject: Re: [Qgis-user] Exporting png or pdf from print composer does
>         not work, empties canvas (Lyon)
> Message-ID:
>         <CAFFV8Fj8OEpNr_Gkmhw96=
> HGsZJW06GP6vrLmJ250EfLCmuwFg at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
>
> Hi Richard,
>
> That's definitely not common QGIS behavior. Do you have access to a second
> machine where you can reproduce the behavior? Can you share the problematic
> project including data? Which data sources do you use?
>
> Sorry, just questions and no answers at this point.
>
> Best wishes,
> Anita
>
>
>
> On Mon, Dec 28, 2015 at 3:26 AM, Richard Males <rbmales at gmail.com> wrote:
>
> > I am relatively new to print composer, but have been able to develop some
> > nice annotated maps.   I was able to successfully export to a png one
> time,
> > but since then, exports to png or pdf or svg all fail and empty the
> > canvas.  If I exit out of qgis and re-start, I can find the previously
> > populated composer with all elements intact, but I still cannot get an
> > export.  Windows 8.1, Lyon 2.12.2
> >
> > Sometimes, not always, after attempting the export, qgis itself will
> > crash.  I have restarted the computer, same problem.
> >
> > Is this a bug, or my ignorance?   I usually go for my ignorance, so
> asking
> > for help, as print composer looks to be a wonderful tool.
> >
> > Thanks in advance
> >
> > Dick
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> > Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.osgeo.org/pipermail/qgis-user/attachments/20151229/b0a50b7a/attachment-0001.html
> >
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
> ------------------------------
>
> End of Qgis-user Digest, Vol 118, Issue 49
> ******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20151230/1f5be8c1/attachment.html>


More information about the Qgis-user mailing list