qgis / qgis4.0_api

Tracker for QGIS 4.0 API related issues and developer discussion
3 stars 1 forks source link

Drop/port c++ plugins #67

Open nyalldawson opened 7 years ago

nyalldawson commented 7 years ago

It's pretty much universally agreed that the inbuilt c++ plugins are evil, and should be either:

3.0 would be a good time to address this, as we are already bringing other large changes for users.

My suggestions would be:

NathanW2 commented 7 years ago

+1

offline editing:would be nice as core and not as a plugin. Project -> Take Offline.

nyalldawson commented 7 years ago

https://github.com/qgis/QGIS/commit/9b667d1e8a0759a8f4d807cae98e7e4224dbf5ac removes the geometry snapper plugin

pcav commented 7 years ago

Hi Nyall, thanks for raising this. My comments (when different from +1) below:

evis: ideally ported to python and moved to plugin repo this would be great, but I think the workflow should be much simplified and the interface updated

geometry_checker: ported to analysis library with a revamped python gui, made enabled-by-default I found it relatively unstable, crashing often, so I would suggest to take extra care in porting

gps importer: ???? this is now largely obsolete; IMHO the only things still useful are:

  • up- and downloading of data to and from a GPS unit; the logic of it should however be unified with the GPS panel, that AFAIK uses a different mechanism
  • conversion between old data formats; this is done through GPSBabel, unsure if this is still usable, and that GPSBabel is still shipped in the package; this is a legacy function, unclear how many people still have these kind of files

    heatmap: ported to analysis with a processing algorithm frontend agreed, a perfect candidate; it could be a good chance of fixing http://hub.qgis.org/issues/9124

    offline editing: most of the guts of this is already in core, so we could either move the interface to >app or to a python plugin (enabled by default or in the repo) maybe this could be integrated into DB Manager

    spatial query: not sure there is a strong requirement for this plugin anymore - 90% of what it >offers is available through processing I do not think this is still needed, but probably better asking the users

    topology: logic moved to analysis and merged with geometry checker? ;) merging would be very good; this is still one of the remaining duplications of functions; quite confusing for users

m-kuhn commented 7 years ago

I was thinking about exposing offline editing in processing. It can make sense to integrate it in a model (extent to selection, only copy selected features offline / use the same extent to make an offline copy of a WMS layer ... ).

The offline editing plugin could still continue to exist in a python plugin.

alexbruy commented 7 years ago

+1 for this proposal.

  • interpolation: has already been partially ported to processing. C++ plugin still has some features not available in processing version which need porting.
  • raster terrain analysis: has already been partially ported to processing. C++ plugin still has some features not available in processing version which need porting.

I plan to work on both plugins and move remaining functionality to Processing

  • road graph: most of the guts of this is already in analysis, so we could either move the interface to app or to a python plugin (enabled by default or in the repo)

Why not move in to Processing? I also can take care of this.

Also it is a bit offtopic here, but there is related issue #60. We have lot of geoprocessing algs implemented in Python inside Processing and in the same time we have some of them implemented in the analysis library. IMHO it would be nice to put geoprocessing algs in analysis library too.

nyalldawson commented 7 years ago

@m-kuhn

I was thinking about exposing offline editing in processing. It can make sense to integrate it in a model (extent to selection, only copy selected features offline / use the same extent to make an offline copy of a WMS layer ... )

Great - sounds perfect.

The offline editing plugin could still continue to exist in a python plugin.

Are you thinking included with qgis and enabled by default or manually installed via the repo?

nyalldawson commented 7 years ago

@alexbruy

I plan to work on both plugins and move remaining functionality to Processing

Fantastic news!

road graph: most of the guts of this is already in analysis, so we could either move the interface to app or to a python plugin (enabled by default or in the repo) Why not move in to Processing? I also can take care of this.

I guess I was thinking that the configuration of the graph might not be translatable to a processing algorithm. But if you think different, then I'd be very happy to see this also as part of processing. It'd be very useful to be able to generate paths from models.

luipir commented 7 years ago

roadgraph has a python wrapper plugin called RAZ (http://plugins.qgis.org/plugins/raz/) and can be used as base. The advantage to use it is that can be select multi points for start and stop. Something that can be solved using v.net.path with Processing iteraction on features, btw grass algoritms has I/O overhead => better a porting.

karl-magnus commented 7 years ago

I think spatial query is a very basic GIS tool used by many not so advances users. We have select by polygon, select by expression etc. in the Attributes toolbar. And it shoud be just as easy to find. I suppose the new tool in processing is select by location. I know that you can choose to use selected features in the processing options. But it's not there in the tool as in the old one. And can you choose to use selected features in one layer and all in the other (intersection layer)? And the we have the versioning and installing problem with processing being a plugin. Just worried about this tool becomes more difficult to find and use.

pcav commented 7 years ago

@karl-magnus: would a shortcut like the one used to replace fTools do for you?

karl-magnus commented 7 years ago

@pcav: That would make it almost equivalent to today’s behavior and that's ok. Just the “use selected records or not”-option that’s accessed via processing options. But the default setting of using selected record is good. Ideally I would like to have it as a tool in a toolbar besides Select by polygon, select by expression etc for easy acces for not that experienced users. But it’s maybe just my opinion.

nyalldawson commented 7 years ago

Heatmap plugin is now ported across to processing and the c++ plugin has been removed.

mj10777 commented 7 years ago

I am actively working on a 'renovation' of the georeferencer.

I hope to have the major portion finished in the next few weeks, afterwitch I was planing to write a summery of the:

as a QEP (which I assume the the right place to do this) at https://github.com/qgis/QGIS-Enhancement-Proposals

It would remain an extra Window Application that will still interact with the main Application window

Since the major change will be the reverting from '.points' file to a Spatialite Database

there will be direct use of the spatialite api for Database creation

So the placement of georeferencer as an extra directory inside 'app' would seem to me the best solution.

At the moment the work is being done in a release-2_18 branch

When completed a QGIS 3 version could then be prepaired

mewoch commented 7 years ago

(as a user) The two core plugins I find myself using the most are the Georeferencer and the GPSImporter.

Georeferencer

gps importer I still use this, despite it's flaws, for when I'm importing more than one GPX file or I want to edit the file.

alexbruy commented 7 years ago

qgis/QGIS@ce342b0 removes the Road Graph plugin

alexbruy commented 7 years ago

qgis/QGIS@c3e3ba6b removes the Raster Terrain Analysis plugin

alexbruy commented 7 years ago

qgis/QGIS@37d82bb7 removes the Interpolation plugin

alexbruy commented 7 years ago

qgis/QGIS@77ae8a2 removes the Oracle GeoRaster plugin

nyalldawson commented 6 years ago

https://github.com/qgis/QGIS/pull/5170 drops the spatial query plugin.

@karl-magnus

I know that you can choose to use selected features in the processing options. But it's not there in the tool as in the old one. And can you choose to use selected features in one layer and all in the other (intersection layer)?

That's now possible in processing 3.0. The option to use selected features is present for EACH input individually, and is shown in the parameter dialog (i.e. it's no longer a semi-hidden global setting)

staciekoslovsky-noaa commented 6 years ago

I just found this comment string and am curious about the future of functionality encapsulated in the current eVis tool in the upcoming release of QGIS 3.0. We use the eVis tool extensively for reviewing geo-tagged images and want to make sure we are well-prepared for potential changes.

nyalldawson commented 6 years ago

There's been no changes to Evis yet, and I'm not aware of anyone working on them.

We won't drop this plugin without a viable alternative

nyalldawson commented 4 years ago

Evis and globe are now removed

uclaros commented 3 years ago

Coordinate capture is also removed and ported to python

nyalldawson commented 3 years ago

@uclaros thanks, updated

nyalldawson commented 2 years ago

https://github.com/qgis/QGIS/pull/44508 removes the GPS tools plugin