[Qgis-user] Atlas generation - help please

Niccolò Marchi sciurusurbanus at hotmail.it
Tue Sep 2 03:21:08 PDT 2014


a short case study would be very interesting!

have a nice day,

Nic


Message: 5
Date: Tue, 02 Sep 2014 08:03:42 +0200
From: Paolo Cavallini <cavallini at faunalia.it>
To: qgis-user at lists.osgeo.org
Subject: Re: [Qgis-user] Atlas generation - help please
Message-ID: <54055DBE.8070700 at faunalia.it>
Content-Type: text/plain; charset=windows-1252
 
Il 01/09/2014 22:52, Nyall Dawson ha scritto:
 
> I'm 99% certain that what you are after is possible in QGIS 2.5 (the unreleased
> development version of 2.6). But do you mind posting this question over at
> gis.stackexchange.com <http://gis.stackexchange.com> with some screenshots of your
> data format so I can be certain? I'll send through a step by step answer over at
> stack exchange with screenshots for you.
 
This may be a good case for using multipoints. Otherwise you can use multiple minimum
convex polygons.
Once done, please consider writing a short case study for it.
All the best.
-- 
Paolo Cavallini - www.faunalia.eu> From: qgis-user-request at lists.osgeo.org
> Subject: Qgis-user Digest, Vol 103, Issue 4
> To: qgis-user at lists.osgeo.org
> Date: Tue, 2 Sep 2014 02:17:19 -0700
> 
> 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: Atlas generation - help please (Alexandre Neto)
>    2. Re: Help with Ordnance Survey SLD's for OS Mastermap (David James)
>    3. Re: Atlas generation - help please (Nyall Dawson)
>    4. Re: UnInstall - /Clean-up/ Re-install QGIS 2.4 (J?rgen E. Fischer)
>    5. Re: Atlas generation - help please (Paolo Cavallini)
>    6. Re: zoomtopoint.py (Vincent Schut)
>    7. Re: zoomtopoint.py (Jukka Rahkonen)
>    8. wps plugin problem (Samanta.Biasiolli at sinergis.it)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Mon, 1 Sep 2014 21:42:06 +0100
> From: Alexandre Neto <senhor.neto at gmail.com>
> To: john at jnecology.com
> Cc: QGIS User <qgis-user at lists.osgeo.org>
> Subject: Re: [Qgis-user] Atlas generation - help please
> Message-ID:
> 	<CA+H0G_H81sbykGtego2-mi7347EMh4kTnGbeD9zf=jvoFGtDzA at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello john,
> 
> The way the atlas work is the following. You prepare a layout, then you use
> one layer of the project as a coverage layer (full of features). When you
> export or print using the atlas toolbar, it cycle all features center/zoom
> to its geometries and print the map.
> 
> This would be useful to print some location maps for a few individuos from
> a species, to take to the field.
> 
> More, if your layer have some significant attritutes, you can use then in
> labels in your layout.  Even logos can be set.
> 
> Now,  you "problem"is slightly different. You want to see all points (say
> the all country or region),  of a specific filtered specie. If the points
> were completely disjointed, that is, no point of one specie ever overlay
> another, I can imagine a way of doing it by using atlas and storing the
> data in spatialite or postgis. Otherwise,  afaik there is still no way of
> doing it in qgis
> 
> I remember Nathan wodrow talking about creating a funtion to access the
> coverage layer attributes, that could be used in ruled based styling. This
> would allow you to do what you need with great speed.
> 
> Maybe he still can do it, or maybe you are able to sponsor that new feature.
> 
> Alexandre neto
> Em 01/09/2014 17:47, "John Norton" <john at jnecology.com> escreveu:
> 
> > Hi,
> >
> >
> >
> > I was very excited when I saw that automated ?atlas generation? had been
> > added to the map composer in version 2, but I cannot figure out how it
> > works. The User Guide documentation is very brief and the terminology is
> > difficult to comprehend. What is meant by ?geometries? and  why would I
> > want an atlas of ?geometries?? Can someone give an example of what it might
> > be used for and how it would be set up?
> >
> >
> >
> > The reason for asking is because I would like to be able to automate the
> > process of creating maps showing wildlife distributions. GIS is used widely
> > in the UK and other countries for storing wildlife data, but until now in
> > order to produce atlases we have used software such as DMAP and MapMate. To
> > those not familiar with wildlife mapping the simplest possible dataset
> > would be a number of records of one or more species, each with an X and Y
> > coordinate. The data can be saved as a shapefile point data layer. Each
> > record is therefore a feature. The data can be styled as ?single symbol? so
> > that records with the same coordinates overlie each other when viewed. To
> > see the distribution map for a particular species the data needs to be
> > displayed as ?rule based? and a rule set up to filter the records for each
> > individual species (e.g. ?Species? = ?Quercus robur? filters out records of
> > Pedunculate Oak). The resulting map can then be output to a jpeg in the
> > usual way using Print Composer. This process is unworkable, however,
> > because every time a different species is viewed or output, the filter
> > needs to be manually changed. The only other option at present is to split
> > the data into separate layers, one for each species, so these can be turned
> > on or off as needed. This is workable for small numbers of species but not
> > for 1000+ species as would be required for a flowering plant atlas for
> > example. So is creating a species distribution atlas possible using the
> > atlas generation dialog in version 2, or is ?atlas? being used in a
> > completely different sense here? And if it is not possible, is anyone
> > working on a solution? It would be of huge benefit in the nature
> > conservation world if so.
> >
> >
> >
> > John Norton, Gosport, UK
> >
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140901/6c22f7c2/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 2
> Date: Mon, 01 Sep 2014 21:45:36 +0100
> From: "David James" <david at djames.org.uk>
> To: qgis-user ML <qgis-user at lists.osgeo.org>
> Subject: Re: [Qgis-user] Help with Ordnance Survey SLD's for OS
> 	Mastermap
> Message-ID: <5404DAF0.5010201 at djames.org.uk>
> Content-Type: text/plain; charset="utf-8"
> 
> If Guiseppe is right that variable expansion in the SLD file is not
> supported by QGIS, then the set of SLD files you pointed me at will have
> the same problem as the OS MM SLD's (the topographicarea file references
> osmmstyle_name instead of os_cat and contains a similar construct:
> xlink:href="osmmsymbols/${osmmstyle_name}.svg"/>)
> 
> Perhaps I need to ask on the developers' list if this is likely to be
> supported in the future.
> 
> I've not had a chance to try the QML files yet.
> 
> David
> 
> On 01/09/2014 11:26, McDonaldR wrote:
> >
> > You can grab QGIS styles for OSMM here:
> >
> >  
> >
> > https://github.com/mixedbredie/QGIS-styles/tree/master/OSMM
> >
> >  
> >
> > and here:
> >
> >  
> >
> > https://github.com/QGIS-UK/Styles/tree/master/OSMM
> >
> >  
> >
> > The QML and SLDs depend on the schema of the source data (GML,
> > shapefiles) and how they are loaded into the database (Loader!,
> > GoLoader, Productivity Suite).  Usually descriptiveterm,
> > descriptivegroup and make are used for the styles.
> >
> >  
> >
> > These SLD files for OSMM are based on the OS styles but without the
> > reference to os_cat field.
> >
> >  
> >
> > https://github.com/mixedbredie/Geoserver-OS-SLDs
> >
> >  
> >
> > hope that helps a bit.
> >
> >  
> >
> > Ross
> >
> >  
> >
> > *From:*qgis-user-bounces at lists.osgeo.org
> > [mailto:qgis-user-bounces at lists.osgeo.org] *On Behalf Of *Thomas Colley
> > *Sent:* 01 September 2014 09:35
> > *To:* Giuseppe Sucameli; David James
> > *Cc:* qgis-user ML
> > *Subject:* Re: [Qgis-user] Help with Ordnance Survey SLD's for OS
> > Mastermap
> >
> >  
> >
> > os_cat is a field used for styling in OS layers. The complication is
> > (at least last I checked) the field doesn?t exist in the data as
> > shipped. There are some SQL files on the OS website for creating
> > os_cat (calculated from a combination of other fields) in PostGIS, but
> > I?m not sure how that would be applied to shapefiles.
> >
> >  
> >
> > I?m sure that OS have released proper QGIS Style Files now as well as
> > SLDs. I can?t find them at the minute (too early on a Monday morning)
> > but I?ll let you know when I do.
> >
> >  
> >
> > Cheers
> >
> >
> > Tom
> >
> >  
> >
> > *From:*qgis-user-bounces at lists.osgeo.org
> > <mailto:qgis-user-bounces at lists.osgeo.org>
> > [mailto:qgis-user-bounces at lists.osgeo.org]
> > <mailto:[mailto:qgis-user-bounces at lists.osgeo.org]> *On Behalf Of
> > *Giuseppe Sucameli
> > *Sent:* 01 September 2014 08:34
> > *To:* David James
> > *Cc:* qgis-user ML
> > *Subject:* Re: [Qgis-user] Help with Ordnance Survey SLD's for OS
> > Mastermap
> >
> >  
> >
> > Hi David,
> > IIRC that kind of variables are not supported by QGIS neither by the
> > SLD standard.
> >
> > You must replace it with the correct SVG filename.
> >
> > Anyway, what is "os_cat" supposed to be? Is it a layer's field name?
> >
> > Regards.
> >
> > Sent from mobile. Sorry for being short.
> > --
> > Giuseppe Sucameli
> >
> > Il 01/set/2014 00:01 "David James" <david at djames.org.uk
> > <mailto:david at djames.org.uk>> ha scritto:
> >
> > I'm very much a beginner with QGIS and I'm trying to run long before I
> > can crawl ...
> >
> > I'm trying to use the Ordnance Survey MasterMap Topography layer SLD's
> > (from
> > http://www.ordnancesurvey.co.uk/docs/styled-layer-descriptors/topography-sld.zip)
> > to style the sample OS MasterMap data.
> >
> > Initially, I found that when I loaded the SLD file into QGIS, only the
> > first rule was being picked up, but eventually I found tjmgis's answer
> > in
> > http://gis.stackexchange.com/questions/69854/styling-os-vectormap-local-in-qgis
> > (that all the <FeatureTypeStyle> and </FeatureTypeStyle> except the
> > first and the last in the SLD files need removing) and now I'm making
> > progress.
> >
> > I'm struggling with one problem: there's a rule called
> > <Name>Vegetation (pattern) - 1:35 to 1:3,496</Name>
> > which specifies the SVG file as
> > xlink:href="osmmsymbols/${os_cat}.svg"/>
> >
> > QGIS is showing me question marks in these areas (which I think means it
> > is not finding the SVG file).
> >
> > Does QGIS support this use of ${os_cat} (and if so, what do I need to do
> > to make it work?) or do I have to replicate the rule with explicitly
> > named SVG files for all the different vegetation types?
> >
> > David
> >
> > --
> > David James
> > david at djames.org.uk <mailto:david at djames.org.uk>
> >
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org <mailto:Qgis-user at lists.osgeo.org>
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> >
> >  
> >
> > This message is strictly confidential. If you have received this in
> > error, please inform the sender and remove it from your system. If
> > received in error you may not copy, print, forward or use it or any
> > attachment in any way. This message is not capable of creating a legal
> > contract or a binding representation and does not represent the views
> > of Angus Council. Emails may be monitored for security and network
> > management reasons.  Messages containing inappropriate content may be
> > intercepted. Angus Council does not accept any liability for any harm
> > that may be caused to the recipient system or data on it by this
> > message or any attachment.
> >
> 
> 
> -- 
> David James
> david at djames.org.uk
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140901/7c272f7e/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 3
> Date: Tue, 2 Sep 2014 06:52:38 +1000
> From: Nyall Dawson <nyall.dawson at gmail.com>
> To: john at jnecology.com
> Cc: qgis-user <qgis-user at lists.osgeo.org>
> Subject: Re: [Qgis-user] Atlas generation - help please
> Message-ID:
> 	<CAB28Asg+XTeuT8rBYUqKDVFGouxjpfNGF38JSv2SK1fMtAHNAw at mail.gmail.com>
> Content-Type: text/plain; charset="utf-8"
> 
> On 02/09/2014 2:47 am, "John Norton" <john at jnecology.com> wrote:
> >
> > The reason for asking is because I would like to be able to automate the
> process of creating maps showing wildlife distributions. GIS is used widely
> in the UK and other countries for storing wildlife data, but until now in
> order to produce atlases we have used software such as DMAP and MapMate. To
> those not familiar with wildlife mapping the simplest possible dataset
> would be a number of records of one or more species, each with an X and Y
> coordinate. The data can be saved as a shapefile point data layer. Each
> record is therefore a feature. The data can be styled as ?single symbol? so
> that records with the same coordinates overlie each other when viewed. To
> see the distribution map for a particular species the data needs to be
> displayed as ?rule based? and a rule set up to filter the records for each
> individual species (e.g. ?Species? = ?Quercus robur? filters out records of
> Pedunculate Oak). The resulting map can then be output to a jpeg in the
> usual way using Print Composer. This process is unworkable, however,
> because every time a different species is viewed or output, the filter
> needs to be manually changed. The only other option at present is to split
> the data into separate layers, one for each species, so these can be turned
> on or off as needed. This is workable for small numbers of species but not
> for 1000+ species as would be required for a flowering plant atlas for
> example. So is creating a species distribution atlas possible using the
> atlas generation dialog in version 2, or is ?atlas? being used in a
> completely different sense here? And if it is not possible, is anyone
> working on a solution? It would be of huge benefit in the nature
> conservation world if so.
> >
> 
> John,
> 
> I'm 99% certain that what you are after is possible in QGIS 2.5 (the
> unreleased development version of 2.6). But do you mind posting this
> question over at gis.stackexchange.com with some screenshots of your data
> format so I can be certain? I'll send through a step by step answer over at
> stack exchange with screenshots for you.
> 
> Cheers,
> Nyall
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140902/c2f1f846/attachment-0001.html>
> 
> ------------------------------
> 
> Message: 4
> Date: Mon, 1 Sep 2014 22:56:08 +0200
> From: J?rgen E. Fischer <jef at norbit.de>
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] UnInstall - /Clean-up/ Re-install QGIS 2.4
> Message-ID: <20140901205608.GA3315 at norbit.de>
> Content-Type: text/plain; charset="iso-8859-1"
> 
> Hi Lene,
> 
> On Mon, 01. Sep 2014 at 17:06:04 +0000, Lene Fischer wrote:
> > But I?m still having some of the old Plugins and a function 'Filter' in the
> > Rightclick menu in the Layers. See attached image.
> 
> I suppose those are core plugins.  And "Filter..." is always available if you
> have an active vector layer, when it's not in edit mode, supports filters and
> has no joins.
> 
> 
> J?rgen
> 
> -- 
> J?rgen E. Fischer           norBIT GmbH             Tel. +49-4931-918175-31
> Dipl.-Inf. (FH)             Rheinstra?e 13          Fax. +49-4931-918175-50
> Software Engineer           D-26506 Norden             http://www.norbit.de
> QGIS release manager (PSC)  Germany                    IRC: jef on FreeNode                         
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: signature.asc
> Type: application/pgp-signature
> Size: 827 bytes
> Desc: Digital signature
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140901/ca9b2b4b/attachment-0001.pgp>
> 
> ------------------------------
> 
> Message: 5
> Date: Tue, 02 Sep 2014 08:03:42 +0200
> From: Paolo Cavallini <cavallini at faunalia.it>
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] Atlas generation - help please
> Message-ID: <54055DBE.8070700 at faunalia.it>
> Content-Type: text/plain; charset=windows-1252
> 
> Il 01/09/2014 22:52, Nyall Dawson ha scritto:
> 
> > I'm 99% certain that what you are after is possible in QGIS 2.5 (the unreleased
> > development version of 2.6). But do you mind posting this question over at
> > gis.stackexchange.com <http://gis.stackexchange.com> with some screenshots of your
> > data format so I can be certain? I'll send through a step by step answer over at
> > stack exchange with screenshots for you.
> 
> This may be a good case for using multipoints. Otherwise you can use multiple minimum
> convex polygons.
> Once done, please consider writing a short case study for it.
> All the best.
> -- 
> Paolo Cavallini - www.faunalia.eu
> Corsi QGIS e PostGIS: http://www.faunalia.eu/training.html
> 
> 
> ------------------------------
> 
> Message: 6
> Date: Tue, 02 Sep 2014 08:46:57 +0200
> From: Vincent Schut <schut at sarvision.nl>
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] zoomtopoint.py
> Message-ID: <540567E1.5010807 at sarvision.nl>
> Content-Type: text/plain; charset=utf-8; format=flowed
> 
> Hi Mike,
> 
> I'm not familiar with this zoomtopoint.py, however, your coordinates do 
> not seem to match your projection. EPSG 4326 is geographic lon, lat in 
> degrees, so its range is from -180 to 180 (x) and -90 to 90 (y). The 
> numbers you put as X and Y seem more appropriate for a meters based 
> projection. Maybe try some real coordinates in degrees, or change your 
> projection...
> 
> Best regards,
> Vincent.
> 
> 
> On 09/01/2014 02:49 PM, Mike Flannigan wrote:
> >
> > I followed the "zoomtopoint.py" example, double
> > clicked on the script, and put in
> > X: -10000000
> > Y:   4600000
> > (epsg=4326)
> >
> > and hit RUN.
> >
> > I get this error:
> >
> > Traceback (most recent call last):
> >
> > File 
> > "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\core\GeoAlgorithm.py", 
> > line 150, in execute
> >
> > self.processAlgorithm(progress)
> >
> > File 
> > "C:/PROGRA~1/QGISDU~1/apps/qgis/./python/plugins\processing\script\ScriptAlgorithm.py", 
> > line 213, in processAlgorithm
> >
> > exec(script) in ns
> >
> > File "<string>", line 23, in <module>
> >
> > Exception: unknown
> >
> >
> >
> > I'm on Win64 ver 2.0.1-Dufour
> >
> > Perhaps I am not up-to-date enough on my version?
> >
> >
> > Mike
> >
> >
> > On 8/31/2014 2:00 PM, qgis-user-request at lists.osgeo.org wrote:
> >> Have a look at this article:
> >>
> >> http://www.qgis.nl/2014/07/10/qgis-processing-scripts-gebruiken/?lang=en
> >>
> >> it is about writing a little processing script to do exactly what you
> >> propose.
> >>
> >> Regards,
> >>
> >> Richard
> >
> > _______________________________________________
> > Qgis-user mailing list
> > Qgis-user at lists.osgeo.org
> > http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> 
> 
> ------------------------------
> 
> Message: 7
> Date: Tue, 2 Sep 2014 07:41:38 +0000 (UTC)
> From: Jukka Rahkonen <jukka.rahkonen at mmmtike.fi>
> To: qgis-user at lists.osgeo.org
> Subject: Re: [Qgis-user] zoomtopoint.py
> Message-ID: <loom.20140902T093742-97 at post.gmane.org>
> Content-Type: text/plain; charset=us-ascii
> 
> Vincent Schut <schut at ...> writes:
> 
> > 
> > Hi Mike,
> > 
> > I'm not familiar with this zoomtopoint.py, however, your coordinates do 
> > not seem to match your projection. EPSG 4326 is geographic lon, lat in 
> > degrees, so its range is from -180 to 180 (x) and -90 to 90 (y). The 
> > numbers you put as X and Y seem more appropriate for a meters based 
> > projection. Maybe try some real coordinates in degrees, or change your 
> > projection...
> 
> You can familiarize yourself with the script by reading the link
> http://www.qgis.nl/2014/07/10/qgis-processing-scripts-gebruiken/?lang=en
> that was a little bit farther in the question.
> 
> -Jukka Rahkonen-
> 
> > 
> > Best regards,
> > Vincent.
> 
> 
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 8
> Date: Tue, 2 Sep 2014 11:06:54 +0200
> From: Samanta.Biasiolli at sinergis.it
> To: qgis-user at lists.osgeo.org
> Subject: [Qgis-user] wps plugin problem
> Message-ID:
> 	<OF3C2E0705.DAA9799D-ONC1257D47.0030BED6-C1257D47.0032121D at dedagroup.it>
> 	
> Content-Type: text/plain; charset="us-ascii"
> 
> An HTML attachment was scrubbed...
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140902/ed36e262/attachment.html>
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: ecblank.gif
> Type: image/gif
> Size: 45 bytes
> Desc: not available
> URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140902/ed36e262/attachment.gif>
> 
> ------------------------------
> 
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/qgis-user
> 
> End of Qgis-user Digest, Vol 103, Issue 4
> *****************************************
 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20140902/d7a00846/attachment.html>


More information about the Qgis-user mailing list