Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Evis plugin: can't get urls to work as image locations #27278

Closed
qgib opened this issue Jul 19, 2018 · 7 comments
Closed

Evis plugin: can't get urls to work as image locations #27278

qgib opened this issue Jul 19, 2018 · 7 comments
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins

Comments

@qgib
Copy link
Contributor

qgib commented Jul 19, 2018

Author Name: Russell Fulton (Russell Fulton)
Original Redmine Issue: 19450
Affected QGIS version: 3.2
Redmine category:c++_plugins/evis


macos 10.13.5, qgis 3.2,

Everything works fine when I have a file path as a location for the image but when I put a url the image does not get loaded and I get no error messages.

I erported this on stackgis a week ago and got no responses:
https://gis.stackexchange.com/questions/288768/qgis-evis-trying-to-use-url-rather-than-a-path

@qgib
Copy link
Contributor Author

qgib commented Jul 20, 2018

Author Name: Giovanni Manghi (@gioman)


I'm really not sure eVis ever supported URLs. Do they work on QGIS LTR (2.18)?


  • category_id was changed from Editing to C++ plugins/Evis
  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Jul 20, 2018

Author Name: Russell Fulton (Russell Fulton)


https://biodiversityinformatics.amnh.org/open_source/evis/documentation.php says:

"The location and name of the photograph can be stored using an absolute or relative path or a URL if the photograph is available on a web server. Examples of the different approaches are listed below...."

I have just checked the evisgenericeventbrowsergui.cpp source on GitHub:

if ( mEventImagePath.startsWith( QLatin1String( "http://" ), Qt::CaseInsensitive ) )
{
imageDisplayArea->displayUrlImage( mEventImagePath );
}
else
{
imageDisplayArea->displayImage( mEventImagePath );
}

If it was python I would do the diagnostics myself but I am not really set up to do stuff with C++ :(

Can plugins like this be build independent of qgis as the name suggests. If so I might have a try.
I no longer have a 2.18 instance so I don't know.

@qgib
Copy link
Contributor Author

qgib commented Jul 21, 2018

Author Name: Giovanni Manghi (@gioman)


I no longer have a 2.18 instance so I don't know.

if you can prove it worked on 2.18 then this will get a higher priority. Can't you install 2.18 and try?

@qgib
Copy link
Contributor Author

qgib commented Jul 21, 2018

Author Name: Russell Fulton (Russell Fulton)


done and no it behaves the same in 2.18 :( Clearly no one is using this feature which surprises me.

I repeat my question about building the plugin on its own (see previous comment). I am an experienced developer and I am happy to have a look at debugging it but only if I can do it without building the whole of QGIS! I am working on a Mac with XCode.

@qgib
Copy link
Contributor Author

qgib commented Jul 22, 2018

Author Name: Giovanni Manghi (@gioman)


Russell Fulton wrote:

done and no it behaves the same in 2.18 :( Clearly no one is using this feature which surprises me.

I repeat my question about building the plugin on its own (see previous comment). I am an experienced developer and I am happy to have a look at debugging it but only if I can do it without building the whole of QGIS! I am working on a Mac with XCode.

compiling the whole thing is not hard nor takes long, at least on linux.

@qgib
Copy link
Contributor Author

qgib commented Aug 23, 2018

Author Name: Giovanni Manghi (@gioman)


  • status_id was changed from Feedback to Open

@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins labels May 25, 2019
@nyalldawson
Copy link
Collaborator

The evis plugin has been removed for qgis 3.14 and is no longer supported

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Plugins
Projects
None yet
Development

No branches or pull requests

2 participants