[Qgis-developer] QEP about Multimap support for QGIS

Casper Børgesen (CABO) CABO at NIRAS.DK
Mon Aug 29 02:38:14 PDT 2016


Hi Alvaro,

Your idea looks very promising and I could probably think of a situation or two where this would be very useful.

I wonder though, why only allow a map to sync with the other maps and not sync to a specific map? If I could sync to a specific map, I would be able to setup four maps where they sync in pairs.

Regards, Casper

From: Qgis-developer [mailto:qgis-developer-bounces at lists.osgeo.org] On Behalf Of A Huarte
Sent: 25. august 2016 23:49
To: Tim Sutton
Cc: QGIS Developer Mailing List
Subject: Re: [Qgis-developer] QEP about Multimap support for QGIS

Thanks Tim! You are right, there will be many code with this assumption. It is true that I have only reviewed the main tools in QGIS, but these changes have been small or zero. At least we can know with this commit the amount de changes to do in the main application (100 files edited, some of them with minimum changes).


Regards

Alvaro

________________________________
De: Tim Sutton <tim at kartoza.com<mailto:tim at kartoza.com>>
Para: A Huarte <ahuarte47 at yahoo.es<mailto:ahuarte47 at yahoo.es>>
CC: Filipe Dias <filipesdias at gmail.com<mailto:filipesdias at gmail.com>>; QGIS Developer Mailing List <Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>>
Enviado: Jueves 25 de agosto de 2016 21:13
Asunto: Re: [Qgis-developer] QEP about Multimap support for QGIS

Hi

Alvaro I also think this would be very interesting to add - and timely to get into QGIS 3.0. Looking forward to hearing opinions from other devs. I expect there will be many many corner cases you will have to deal with where there is currently an implicit assumption that only 1 canvas exists....

Regards

Tim


On 25 Aug 2016, at 11:31 AM, A Huarte <ahuarte47 at yahoo.es<mailto:ahuarte47 at yahoo.es>> wrote:

Thank you very much Filipe!

The extra maps are normal windows as any dockable window in QGIS. It is a QDockWidget object, and your behavior is as usual.

Best regards
Alvaro

________________________________
De: Filipe Dias <filipesdias at gmail.com<mailto:filipesdias at gmail.com>>
Para: A Huarte <ahuarte47 at yahoo.es<mailto:ahuarte47 at yahoo.es>>
CC: "Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>" <Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>>
Enviado: Jueves 25 de agosto de 2016 9:39
Asunto: Re: [Qgis-developer] QEP about Multimap support for QGIS

Hi,
Really nice feature in my opinion. Out of curiosity: would it be possible to split Map 1 and Map 2 between two different screens? It would be really nice to be able to drag Map 2's window to a second screen.
Thanks
Cheers


On Thu, Aug 25, 2016 at 2:36 AM, A Huarte <ahuarte47 at yahoo.es<mailto:ahuarte47 at yahoo.es>> wrote:

Hi devs, I have developed an experimental code to support more than one map in QGIS. I created a video showing the features implemented ( https://vimeo.com/179982647 ).

The main features are:


  *   New user option to enable multi map canvas mode.
  *   QGIS has one no closeable default map, and 0-N extra dockable maps.
  *   Full integration of maps in legend using a new map legend node for each map.
  *   Print composer supports layouts with different maps.
  *   New legend menu option to synchronize the extent of maps.
  *   Map tools and plugins work with the current selected map (The signals and slots to the map canvas are updated with an automatic mechanism of synchronization to minimize the migration of code and to preserve behavior).

I'm aware that this is a big change in QGIS, and I am sure that this capability must be debated by many people (project and developer leaders...) before writing any code. Because of that, I have not created any QEP entry in the https://github.com/qgis/ QGIS-Enhancement-Proposals  page.

I developed it to learn QGIS core and it will have work to do (plugins and tools). But it runs fine, and it was funny :-). If at least, it is useful for a day to implement this capability in QGIS or to see the amount of changes needed, I am satisfied.



github:
https://github.com/qgis/QGIS/ compare/master...ahuarte47: Feature_MultimapView

video:
Multi Map Canvas for QGIS














Multi Map Canvas for QGIS


Ver en vimeo.com

Vista previa por Yahoo








Comments are welcome!

Best regards
Alvaro Huarte - https://github.com/ahuarte47


______________________________ _________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>
List info: http://lists.osgeo.org/ mailman/listinfo/qgis- developer
Unsubscribe: http://lists.osgeo.org/ mailman/listinfo/qgis- developer


_______________________________________________
Qgis-developer mailing list
Qgis-developer at lists.osgeo.org<mailto:Qgis-developer at lists.osgeo.org>
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

—


[cid:image001.jpg at 01D201E9.D323C430]





Tim Sutton

Co-founder: Kartoza
Project chair: QGIS.org<http://qgis.org/>

Visit http://kartoza.com<http://kartoza.com/> to find out about open source:

Desktop GIS programming services
Geospatial web development
GIS Training
Consulting Services

Skype: timlinux
IRC: timlinux on #qgis at freenode.net<http://freenode.net/>

Kartoza is a merger between Linfiniti and Afrispatial


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160829/5aecd65a/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 6122 bytes
Desc: image001.jpg
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20160829/5aecd65a/attachment-0001.jpg>


More information about the Qgis-developer mailing list