Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi all, I personally would prefer two plugins, one with CAD-like functions (constructing, snap to middle of line etc.) and one with more GIS-like editing functions (clip, fill holes and the like). If you look at the current CAD-Tools plugin it is already pretty crowded but we are talking about at least the double amount of functions. Implementing the plugins in Python could create more support in programming from the community (I have no idea about performance, though). my 2ct Bernhard Am 24.04.2013 16:37, schrieb Antonio Locandro: Would it be possible as a first interaction if all the CAD/Drawing tools be merged into a single plugin so the plugin library be less crowded and we knew exactly what tools are available? I disagree that some users wont be interested in this tools, some users are just doing analysis and that is fine but to be able to perform analysis and models you sometimes have to create the data, having the tools to create the data is part of every COTS GIS software and it should be part of QGIS. Of course if a user is just doing analysis he would just hide the tools **Antonio Locandro From: olivier.dal...@gmail.com Date: Wed, 24 Apr 2013 12:57:03 + To: a.neum...@carto.net CC: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Make QGIS interact with LibreCAD. 2013/4/22 Andreas Neumann a.neum...@carto.net mailto:a.neum...@carto.net I would prefer if most of the editing tools would be available in core - - and if possible - implemented in C++. I'm not sure if I agree with that : getting a snapping engine that works smoothly will require a lot of tweaking, which is a pain in C++ compared to python. Also, some user will be interested in adapting the snapping engine to suit their particular habits, which is easy when working with python plugins. And some other users won't be interested at all in this kind of tools. About the problem of installing multiple plugins : it would of course be much more elegant if all the CAD-drawing related tools were neatly packed in one plugin, which could then even be preinstalled or featured. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 8262 (20130424) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer __ Information from ESET Mail Security, version of virus signature database 8262 (20130424) __ The message was checked by ESET Mail Security. http://www.eset.com __ Information from ESET Mail Security, version of virus signature database 8263 (20130424) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
2013/4/22 Andreas Neumann a.neum...@carto.net I would prefer if most of the editing tools would be available in core - - and if possible - implemented in C++. I'm not sure if I agree with that : getting a snapping engine that works smoothly will require a lot of tweaking, which is a pain in C++ compared to python. Also, some user will be interested in adapting the snapping engine to suit their particular habits, which is easy when working with python plugins. And some other users won't be interested at all in this kind of tools. About the problem of installing multiple plugins : it would of course be much more elegant if all the CAD-drawing related tools were neatly packed in one plugin, which could then even be preinstalled or featured. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Would it be possible as a first interaction if all the CAD/Drawing tools be merged into a single plugin so the plugin library be less crowded and we knew exactly what tools are available? I disagree that some users wont be interested in this tools, some users are just doing analysis and that is fine but to be able to perform analysis and models you sometimes have to create the data, having the tools to create the data is part of every COTS GIS software and it should be part of QGIS. Of course if a user is just doing analysis he would just hide the tools Antonio Locandro From: olivier.dal...@gmail.com Date: Wed, 24 Apr 2013 12:57:03 + To: a.neum...@carto.net CC: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Make QGIS interact with LibreCAD. 2013/4/22 Andreas Neumann a.neum...@carto.net I would prefer if most of the editing tools would be available in core - - and if possible - implemented in C++. I'm not sure if I agree with that : getting a snapping engine that works smoothly will require a lot of tweaking, which is a pain in C++ compared to python. Also, some user will be interested in adapting the snapping engine to suit their particular habits, which is easy when working with python plugins. And some other users won't be interested at all in this kind of tools. About the problem of installing multiple plugins : it would of course be much more elegant if all the CAD-drawing related tools were neatly packed in one plugin, which could then even be preinstalled or featured. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi, Maybe if you could dock the snapping options under the layer list, and changes auto applied, that would help a bit. The snap settings window is already dockable. See general options -- digitizing -- snap settings. Andreas -- -- Andreas Neumann Böschacherstrasse 10A 8624 Grüt (Gossau ZH) Switzerland ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
On 23/04/2013, at 14:20 , Andreas Neumann wrote: Hi, Maybe if you could dock the snapping options under the layer list, and changes auto applied, that would help a bit. The snap settings window is already dockable. See general options -- digitizing -- snap settings. Andreas There we go. I'd like something, and it's already there. :) Thanks, I'll try that out next time I'm in the office. -ramon. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions but is far from being complete and the kind of interaction that it proposes is not very productive and time-saving (it's not a critic: CAD Tools saved my life a lot of time, and I want to thank the developers and maintainers). Many times, I had to convert my vector layers to dxf and back in order to perform some complex tasks (with all kind of conversion problems, like the preservation of the attributes values, etc.). I have some experience in programming (about ten years of developement, mainly in C# with the .NET Framework, before I switched to Linux), and I would like to try (only try, without promising anything!!) to implement complete CAD tools and functions (If there isn't and analogous project already active; in that case, nevermind!). I think that developing a CAD plugin from scratch is very hard to me and maybe not the better way to get good results, so I'm oriented to try to augment the interaction between QGIS and an existing CAD software (I'm thinking to LibreCAD). I thought to two possible strategies: 1. Use the LibreCAD library and source code to develop a C++ QGIS plugin; 2. Create a shapefile/spatialite/postgis driver for LibreCAD in order to edit those formats inside LibreCAD. 3. Convert some layers of the QGIS project in a dxf file and back (each QGIS layer in a different layer of the final dxf file). I'm asking your opinion about which of those ways could be the faster or the better to implement, or which one is impossible to undertake according to your knowledge of the QGIS API. My doubts are: Strategy #1: Probably the ideal one, but does the implementation of complex snaps or constraints against the features of other layers (i.e. midpoint, parallels, etc.) require changes to the QGIS API, or all these operations can be contained on a plugin? Is it better to work directly on QGIS vector layers or to create a plugin layer, edit it and then commit the changes to the vector layer? The conversion could help me to manage geometries in the way LibreCAD wants. Is it possible in your opinion to have an interactive shell (i.e. draw the first point, and then inserting the coordinates of the second point)? Strategy #2: Probably the easier, but I should find a way to disable some LibreCAD functions (i.e. the drawing of splines, or the drawing of points on a line layer) without disseminating my changes all over LibreCAD's source files. For this kind of solution I'll ask to the developers of LibreCAD. Strategy #3: The problem is on committing the changes of the dxf file to the original layer: how to specify that a line in the dxf file must replace the geometry of and existing record of the original spatialite layer? Maybe it's impossible, it doesn't seem to me that I can put on a dxf file the necessary metadata to preserve a link to the original features. What do you think? And what do you actually do when you have to draw complex shapes on shapefiles or other vector layers? NEW COMMENTS: - Antonio Locandro is compiling a list of required CAD features. It would be very useful, so please Antonio, get me a link to this list when it's finished. - The more I explore QGIS and LibreCAD source codes, the more I'm convincing that
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströbl bernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions but is far from being complete and the kind of interaction that it proposes is not very productive and time-saving (it's not a critic: CAD Tools saved my life a lot of time, and I want to thank the developers and maintainers). Many times, I had to convert my vector layers to dxf and back in order to perform some complex tasks (with all kind of conversion problems, like the preservation of the attributes values, etc.). I have some experience in programming (about ten years of developement, mainly in C# with the .NET Framework, before I switched to Linux), and I would like to try (only try, without promising anything!!) to implement complete CAD tools and functions (If there isn't and analogous project already active; in that case, nevermind!). I think that developing a CAD plugin from scratch is very hard to me and maybe not the better way to get good results, so I'm oriented to try to augment the interaction between QGIS and an existing CAD software (I'm thinking to LibreCAD). I thought to two possible strategies: 1. Use the LibreCAD library and source code to develop a C++ QGIS plugin; 2. Create a shapefile/spatialite/postgis driver for LibreCAD in order to edit those formats inside LibreCAD. 3. Convert some layers of the QGIS project in a dxf file and back (each QGIS layer in a different layer of the final dxf file). I'm asking your opinion about which of those ways could be the faster or the better to implement, or which one is impossible to undertake according to your knowledge of the QGIS API. My doubts are: Strategy #1: Probably the ideal one, but does the implementation of complex snaps or constraints against the features of other layers (i.e. midpoint, parallels, etc.) require changes to the QGIS API, or all these operations can be contained on a plugin? Is it better to work
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
On 04/22/2013 12:52 PM, Bernhard Ströbl wrote: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard I totally agree with Bernhard. Extending his CAD tools is the best solution. -- Ivan Mincik ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Am 22.04.2013 14:01, schrieb Ivan Mincik: On 04/22/2013 12:52 PM, Bernhard Ströbl wrote: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard I totally agree with Bernhard. Extending his CAD tools is the best solution. No, no, CAD tools is Stefan Ziegler's extension, see [1] Bernhard [1] http://plugins.qgis.org/plugins/cadtools/ __ Information from ESET Mail Security, version of virus signature database 8253 (20130422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi I actually wanted to dig into C++ and rewrite the CadTools for QGIS 2.x and also change the UI handling a bit. Not sure how fast I will progress though. Regards Stefan -Ursprüngliche Nachricht- Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer- boun...@lists.osgeo.org] Im Auftrag von Bernhard Ströbl Gesendet: Montag, 22. April 2013 14:08 An: qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Make QGIS interact with LibreCAD. Am 22.04.2013 14:01, schrieb Ivan Mincik: On 04/22/2013 12:52 PM, Bernhard Ströbl wrote: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard I totally agree with Bernhard. Extending his CAD tools is the best solution. No, no, CAD tools is Stefan Ziegler's extension, see [1] Bernhard [1] http://plugins.qgis.org/plugins/cadtools/ __ Information from ESET Mail Security, version of virus signature database 8253 (20130422) __ The message was checked by ESET Mail Security. http://www.eset.com ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions but is far from being complete and the kind of interaction that it proposes is not very productive and time-saving (it's not a critic: CAD Tools saved my life a lot of time, and I want to thank the developers and maintainers). Many times, I had to convert my vector layers to dxf and back in order to perform some complex tasks (with all kind of conversion problems, like the preservation of the attributes values, etc.). I have some experience in programming (about ten years of developement, mainly in C# with the .NET Framework, before I switched to Linux), and I would like to try (only try, without promising anything!!) to implement complete CAD tools and functions (If there isn't and analogous project already active; in that case, nevermind!). I think that developing a CAD plugin from scratch is very hard to me and maybe not the better way to get good results, so I'm oriented to try to augment the interaction between QGIS and an existing CAD software (I'm thinking to LibreCAD). I thought to two possible strategies: 1. Use the LibreCAD library and source code to develop a C++ QGIS plugin; 2. Create a shapefile/spatialite/postgis driver for LibreCAD in order to edit those formats
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
I would say add CAD tools within QGIS, 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. Sent from Samsung tabletBernhard Ströbl bernhard.stro...@jena.de wrote:Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions but is far from being complete and the kind of interaction that it proposes is not very productive and time-saving (it's not a critic: CAD Tools saved my life a lot of time, and I want to thank the developers and maintainers). Many times, I had to convert my vector layers to dxf and back in order to perform some complex tasks (with all kind of conversion problems, like the preservation of the attributes values, etc.). I have some experience in programming (about ten years of developement, mainly in C# with the .NET Framework, before I switched to Linux), and I would like to try (only try, without promising
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] Im Auftrag von antoniolocandro Gesendet: Montag, 22. April 2013 14:36 An: bernhard.stro...@jena.de; diego.gn...@gmail.com Cc: qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Make QGIS interact with LibreCAD. I would say add CAD tools within QGIS, 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. Sent from Samsung tablet Bernhard Ströbl bernhard.stro...@jena.demailto:bernhard.stro...@jena.de wrote: Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.demailto:bernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
I say it could work if you had an interface where you can set which layers you want to intersect but interactively select snapping within a console. I remember when I used AUTOCAD the thing that I really liked about it is thata. I can draw pretty fast and accurate using only commands but had the icons if I wantedb. Snapping is one of the best I used, you can interactively set the snapping while digitising like snap to end, snap to midpoint, snap to edge, etc. Like Diego said before I will start a shared google document where I will add digitising cases I use/need, once its up you are free to add your particular cases also. The idea is to see if all of this cases can be done using QGIS (core+extensions) at some point in the future I would say the necessary plugins needed to perform this edits would need to be merged into one single plugin. So having a tool with all CAD functions would be great. Ing. Antonio Locandro Tegucigalpa, Honduras +504 9503 5747 Need a GPS map for Central America, Asia or South America / Necesitas un mapa GPS para Centro America, Asia o Sur America From: stefan.zieg...@bd.so.ch To: antoniolocan...@hotmail.com; bernhard.stro...@jena.de; diego.gn...@gmail.com CC: qgis-developer@lists.osgeo.org Subject: AW: [Qgis-developer] Make QGIS interact with LibreCAD. Date: Mon, 22 Apr 2013 12:40:15 + I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] Im Auftrag von antoniolocandro Gesendet: Montag, 22. April 2013 14:36 An: bernhard.stro...@jena.de; diego.gn...@gmail.com Cc: qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Make QGIS interact with LibreCAD. I would say add CAD tools within QGIS, 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. Sent from Samsung tablet Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
I'd also suggest to include numerical entry (length, angle, X/Y coordinates). Please have a look at http://plugins.qgis.org/plugins/improvedpolygoncapturing/ (it does not work well in 2.0 yet). With advanced snapping environment (include angles, midpoints, intersections...), I'd say it's the CAD feature I miss the most in QGis. 2013/4/22 Ziegler Stefan stefan.zieg...@bd.so.ch I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. ** ** *Von:* qgis-developer-boun...@lists.osgeo.org [mailto: qgis-developer-boun...@lists.osgeo.org] *Im Auftrag von *antoniolocandro *Gesendet:* Montag, 22. April 2013 14:36 *An:* bernhard.stro...@jena.de; diego.gn...@gmail.com *Cc:* qgis-developer@lists.osgeo.org *Betreff:* Re: [Qgis-developer] Make QGIS interact with LibreCAD. ** ** I would say add CAD tools within QGIS, ** ** 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. ** ** CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. ** ** ** ** ** ** ** ** Sent from Samsung tablet Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply exchange their CAD software (if they are willing to change) 2) and more important: many things that work in CAD do not work in GIS and vice versa, e.g. CAD: line color, hatching, dimensioning, GIS: attributes. Splines could be resolved into polylines, resembling the original spline, though. In short words: CAD is about drawing, GIS is about data modelling. So if you have the functions in QGIS you can more easily prevent users from doing silly things. my 2 ct Bernhard Am 21.04.2013 12:52, schrieb Diego Gnesi Bartolani: Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Stefan and Bernahard, I don't want to create redundancy on the plugin repository: if you're working on similar projects, maybe I can try to help you instead of starting a brand new work. Stefan and Antonio, by now i'm not focusing on specific tools (i.e. extension vs. draw perpendicular), but I'm studying to find a sort of design pattern that could allow faster drawing in respect to the actual CAD Tools plugin. As Antonio said, it would be niche to have something like the system provided by AutoCAD: while drawing, CTRL + left btn to activate a specific constraint (i.e. perpendicular, midpoint, etc.), then leave the mouse on a geometry for some seconds to activate the constraint in respect to that entity, then move the mouse and draw (or something similar and less like AutoCAD, to avoid copyright problems). And of course, command line options. If this plugin (?) is possible and can be designed with a sufficient level of abstraction, it shall be easy to add new tools to it (i.e. extension, tangent to a circle, etc. maybe reusing part of the code of LibreCAD or of another open source CAD software). By now, I need to create an experimental project on my pc before saying what is possible to do in QGIS and what I'm able or not to do. 2013/4/22 Ziegler Stefan stefan.zieg...@bd.so.ch: I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] Im Auftrag von antoniolocandro Gesendet: Montag, 22. April 2013 14:36 An: bernhard.stro...@jena.de; diego.gn...@gmail.com Cc: qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Make QGIS interact with LibreCAD. I would say add CAD tools within QGIS, 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. Sent from Samsung tablet Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
I started the shared document please be free to edit it, add your own preferences, comments etc. This could be used as a user requirement document of what editing tolos are needed to perform the feature creating needs the user base hashttps://docs.google.com/document/d/1aw_amN2_vNtw5TWooyvVxt5cfDhfA6J1sszITOBNRkY/edit?usp=sharing Ing. Antonio Locandro Tegucigalpa, Honduras +504 9503 5747 Need a GPS map for Central America, Asia or South America / Necesitas un mapa GPS para Centro America, Asia o Sur America From: olivier.dal...@gmail.com Date: Mon, 22 Apr 2013 12:53:08 + Subject: Re: [Qgis-developer] Make QGIS interact with LibreCAD. To: stefan.zieg...@bd.so.ch CC: antoniolocan...@hotmail.com; bernhard.stro...@jena.de; diego.gn...@gmail.com; qgis-developer@lists.osgeo.org I'd also suggest to include numerical entry (length, angle, X/Y coordinates). Please have a look at http://plugins.qgis.org/plugins/improvedpolygoncapturing/ (it does not work well in 2.0 yet). With advanced snapping environment (include angles, midpoints, intersections...), I'd say it's the CAD feature I miss the most in QGis. 2013/4/22 Ziegler Stefan stefan.zieg...@bd.so.ch I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. Von: qgis-developer-boun...@lists.osgeo.org [mailto:qgis-developer-boun...@lists.osgeo.org] Im Auftrag von antoniolocandro Gesendet: Montag, 22. April 2013 14:36 An: bernhard.stro...@jena.de; diego.gn...@gmail.com Cc: qgis-developer@lists.osgeo.org Betreff: Re: [Qgis-developer] Make QGIS interact with LibreCAD. I would say add CAD tools within QGIS, 1. Extend 2. Trim 3. Snapping environment 4. digitise using either icons or commands on a console 5. Intersection, etc. CAD tools are faster for digitising and more precise, having that possibility from within QGIS would make it so much better, I find digitising in QGIS very limited so for me right now its not to a point I can recommend it since in my industry we do a lot of complex shapes and edits. Sent from Samsung tablet Bernhard Ströbl bernhard.stro...@jena.de wrote: Hi Diego, based on a discussion [1] on this list a couple of months ago I started coding some of the missing tools as my time allows. This is going to be a Python plugin made from scratch. What I do have right now is: 1) Dissolve multi geometries (code from Alexandre Neto's plugin) 2) Split feature with feature of another layer 3) Cut out feature with polygon of another layer I can share what I have on github. Maybe you want to have a look or join in. What would be the tools you have in mind (I do not know LibreCAD)? Bernhard [1] http://osgeo-org.1560.x6.nabble.com/more-advanced-editing-tools-td5019552.html Am 22.04.2013 13:29, schrieb Diego Gnesi Bartolani: Hi Bernhard, I'll take your opinion into account. I'm still in a preliminary phase and I'm still deciding. I verified that adding shapefile support to LibreCAD is relatively simple, due to the good architecture of LibreCAD's IO and geometry classes. Now I'll test how hard is adding advanced cad tools to QGIS and how much time it can require to me. Then I'll compare all the pros and cons of the two solutions and I'll start to work. I need to finish the work before september, when I'll have to use it in my job). I'm not an expert of the QGIS API, and I need to study the source code and the documentation in order to know precisely how can I interact with QGIS while drawing: - changing the snapping behavior and override the default one when required; - having context menus with CTRL + right click (like on AutoCAD); - drawing temporary entities (i.e. to trace extension lines); - forcing the pointer to move along specific directions inside the map canvas; - fast accessing to vertices, lines and angles of the existing shapes, also for polygons. I also need to understand if I can do all these things from a plugin or do I need to make changes to the QGIS source code (I'll try to avoid this). I'll update this threads with all my progresses in the next days. Diego 2013/4/22 Bernhard Ströblbernhard.stro...@jena.de: Hi Diego, some of my users with more complex editing tasks (and familiar with CAD software) are complaining about not having similar possibilities in QGIS and I admit that our CAD has much more to offer in that respect (snapping, construction), so thanks for the move. IMHO the best would be to have CAD-like functions in QGIS (strategy #1) because 1) many people missing these functions already might use some CAD or another to get their work done and are exchanging data between the two systems (with all problems), so strategy #2 would simply
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 22/04/2013 15:17, Diego Gnesi Bartolani ha scritto: Stefan and Bernahard, I don't want to create redundancy on the plugin repository: if you're working on similar projects, maybe I can try to help you instead of starting a brand new work. Agreed: if at all possible, please join forces rather than duplicating plugins: from the user point of view, it can quickly become a nightmare to move across hundreds of plugins. Thanks. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlF1VMEACgkQ/NedwLUzIr73/gCfZddVszdHYFeAfLDR42Gdxws5 dQgAn0/Cvf9oF+aFBkokILgEYNnFmz4y =8mHv -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
Agreed +1 Having all the needed editing tools in one plugin would be better, right now you need to install several plugins to do editing work, maybe getting them together under one roof and deprecating the original afterwards would make the experience easier for users and for writing manuals also Ing. Antonio Locandro Tegucigalpa, Honduras +504 9503 5747 Need a GPS map for Central America, Asia or South America / Necesitas un mapa GPS para Centro America, Asia o Sur America Date: Mon, 22 Apr 2013 17:18:25 +0200 From: cavall...@faunalia.it To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Make QGIS interact with LibreCAD. -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Il 22/04/2013 15:17, Diego Gnesi Bartolani ha scritto: Stefan and Bernahard, I don't want to create redundancy on the plugin repository: if you're working on similar projects, maybe I can try to help you instead of starting a brand new work. Agreed: if at all possible, please join forces rather than duplicating plugins: from the user point of view, it can quickly become a nightmare to move across hundreds of plugins. Thanks. - -- Paolo Cavallini - Faunalia www.faunalia.eu Full contact details at www.faunalia.eu/pc Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAlF1VMEACgkQ/NedwLUzIr73/gCfZddVszdHYFeAfLDR42Gdxws5 dQgAn0/Cvf9oF+aFBkokILgEYNnFmz4y =8mHv -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Hi, I would prefer if most of the editing tools would be available in core - - and if possible - implemented in C++. They could be prototyped in Python and then later moved to core after maturing. I hate having to install plugins for simple things, like perpendicular lines, swapping line direction, extend/trim lines, etc. Andreas Am 22.04.2013 17:26, schrieb Antonio Locandro: Agreed +1 Having all the needed editing tools in one plugin would be better, right now you need to install several plugins to do editing work, maybe getting them together under one roof and deprecating the original afterwards would make the experience easier for users and for writing manuals also Ing. Antonio Locandro Tegucigalpa, Honduras +504 9503 5747 Need a GPS map for Central America, Asia or South America / Necesitas un mapa GPS para Centro America, Asia o Sur America Date: Mon, 22 Apr 2013 17:18:25 +0200 From: cavall...@faunalia.it To: qgis-developer@lists.osgeo.org Subject: Re: [Qgis-developer] Make QGIS interact with LibreCAD. Il 22/04/2013 15:17, Diego Gnesi Bartolani ha scritto: Stefan and Bernahard, I don't want to create redundancy on the plugin repository: if you're working on similar projects, maybe I can try to help you instead of starting a brand new work. Agreed: if at all possible, please join forces rather than duplicating plugins: from the user point of view, it can quickly become a nightmare to move across hundreds of plugins. Thanks. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.11 (GNU/Linux) Comment: Using GnuPG with undefined - http://www.enigmail.net/ iQEcBAEBAgAGBQJRdYs3AAoJELiCsGDopvBCEpoH+wePjzYJrX+bP088LjviW+eX 6pQHc9a7s+dT6MHN0tSttyPDMiTS/axmci0FmKLK3JQzHQlrGXxh1PZ2/rHSmVBc WfqjwkgUzEqUa2dge8yqL3yV8inXMd/IJP27hQnBxKocerO62Qo653oOH8pMbIM5 VZ3ZiyHhHBCTaJV17SIPgxMOuaodhz8RQd1h1DCE309uRhMgFzCtg+tm7/q3sr2h +u8aZ1LmRlfuqoSvfGoks3sjAjVt9HjwVyuR9J/ZIwsi+bBTvZ1961+w8MS2L/yn BncfqIwwCaW3uxeHZz4Oprse4NslDp8hoMnync2Vd4iNSvQSQoDzGnIJjBKG9N0= =Tmfz -END PGP SIGNATURE- ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
On 22/04/2013, at 20:53 , Olivier Dalang wrote: I'd also suggest to include numerical entry (length, angle, X/Y coordinates). There's at least one already existing plugin which will do that. Might be worth looking at. -ramon. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
Re: [Qgis-developer] Make QGIS interact with LibreCAD.
On 22/04/2013, at 20:40 , Ziegler Stefan wrote: I would like to see some changes in the snapping interface. If you got some 30+ layers it is really difficult to find a specific layer. A layer tree for snapping just like for the legend would be great. And add the tree as tab like the browser. On 22/04/2013, at 20:50 , Antonio Locandro wrote: I remember when I used AUTOCAD the thing that I really liked about it is that a. I can draw pretty fast and accurate using only commands but had the icons if I wanted b. Snapping is one of the best I used, you can interactively set the snapping while digitising like snap to end, snap to midpoint, snap to edge, etc. Interestingly b is possible, but you have press apply all the time for changes to come in, and the snapping options window gets in the way a lot. Maybe if you could dock the snapping options under the layer list, and changes auto applied, that would help a bit. -ramon. ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer
[Qgis-developer] Make QGIS interact with LibreCAD.
Hi, Yesterday I posted in a wrong thread, so I'm opening a new one. I'll copy and paste the previous message and add some notes. Sorry for the mess! Original post: I am an Italian archaeologist and an enthusiastic QGIS user. I do what I can to spread the knowledge about QGIS and other open source softwares to my university students (I am a contract professor at the Basilicata University and some days ago I've become contract professor at the Specialization School of Archeology of Udin, Venice and Trieste). The main difficulty I have with open source GIS is the advanced editing of vector layers. QGIS doesn't offer too much support for digitizing, the CAD Tools plugin has some useful functions but is far from being complete and the kind of interaction that it proposes is not very productive and time-saving (it's not a critic: CAD Tools saved my life a lot of time, and I want to thank the developers and maintainers). Many times, I had to convert my vector layers to dxf and back in order to perform some complex tasks (with all kind of conversion problems, like the preservation of the attributes values, etc.). I have some experience in programming (about ten years of developement, mainly in C# with the .NET Framework, before I switched to Linux), and I would like to try (only try, without promising anything!!) to implement complete CAD tools and functions (If there isn't and analogous project already active; in that case, nevermind!). I think that developing a CAD plugin from scratch is very hard to me and maybe not the better way to get good results, so I'm oriented to try to augment the interaction between QGIS and an existing CAD software (I'm thinking to LibreCAD). I thought to two possible strategies: 1. Use the LibreCAD library and source code to develop a C++ QGIS plugin; 2. Create a shapefile/spatialite/postgis driver for LibreCAD in order to edit those formats inside LibreCAD. 3. Convert some layers of the QGIS project in a dxf file and back (each QGIS layer in a different layer of the final dxf file). I'm asking your opinion about which of those ways could be the faster or the better to implement, or which one is impossible to undertake according to your knowledge of the QGIS API. My doubts are: Strategy #1: Probably the ideal one, but does the implementation of complex snaps or constraints against the features of other layers (i.e. midpoint, parallels, etc.) require changes to the QGIS API, or all these operations can be contained on a plugin? Is it better to work directly on QGIS vector layers or to create a plugin layer, edit it and then commit the changes to the vector layer? The conversion could help me to manage geometries in the way LibreCAD wants. Is it possible in your opinion to have an interactive shell (i.e. draw the first point, and then inserting the coordinates of the second point)? Strategy #2: Probably the easier, but I should find a way to disable some LibreCAD functions (i.e. the drawing of splines, or the drawing of points on a line layer) without disseminating my changes all over LibreCAD's source files. For this kind of solution I'll ask to the developers of LibreCAD. Strategy #3: The problem is on committing the changes of the dxf file to the original layer: how to specify that a line in the dxf file must replace the geometry of and existing record of the original spatialite layer? Maybe it's impossible, it doesn't seem to me that I can put on a dxf file the necessary metadata to preserve a link to the original features. What do you think? And what do you actually do when you have to draw complex shapes on shapefiles or other vector layers? NEW COMMENTS: - Antonio Locandro is compiling a list of required CAD features. It would be very useful, so please Antonio, get me a link to this list when it's finished. - The more I explore QGIS and LibreCAD source codes, the more I'm convincing that integrating LibreCAD's tools on QGIS is very difficult, and it would be easier to develop those tools from scratch. To get the best results in a short amount of time, I think that I could work to make shapefiles and other vector layers editable in LibreCAD (using GDAL). This solution has the issue that it doesn't allow to snap to other QGIS layers, nevertheless it could be of great help and available in a reasonable amount of time. Then, when I have more practice with QGIS and LibreCAD APIs, I'll try to do something better (i.e. develop a QGIS driver for LibreCAD in order to open the whole QGIS project in LibreCAD, organized by layers). I'm waiting for the answers to an analogous thread in LibreCAD's mailing list: http://forum.librecad.org/Using-LibreCAD-s-tools-on-GIS-vector-layers-td5707930.html I think that I'm going to work on this project in a few weeks. Let me know what do you think and if you have suggestions. Diego Gnesi ___ Qgis-developer mailing list Qgis-developer@lists.osgeo.org