Closed DXOS3 closed 4 years ago
Are you connected directly to the web or do you use some fancy proxy? It is mentioned, that the plugin currently uses the requests module and does not care about proxy settings.
For one thing, you just changed the plugin name so I am currently using v1.3, the latest before it was taken down. I'm not sure if this plugin is supposed to work with any basemap or a certain specifc one but I used a default OSM for a start. I am directly connected to the web here through an ethernet line but web traffic seems to be fine here with little amounts of lag.
I haven't changed a lot, just uiploaded a new renamed version called Hqgis to the repo. It is waiting for approval. regarding your issue: if you do not fill in an address for single line geocode, it uses the placeholder text to geocode the NY Stack Exchange. Can you try this please? Furthermore: what happens if you open the link (with changed credentials of course) in a browser of your choice: https://geocoder.api.here.com/6.2/geocode.json?app_id=YOUR_FANCY_APPID&app_code=YOUR_FANCY_APPCODE&searchtext=Los Angeles
and no, the plugin does not care about basemaps in your project ;-)
YOu need to replace "YOUR_FANCY_APPID" and "YOUR_FANCY_APPCODE" with the apopid and appcode you received from HERE.
Oh do you have to have a licence for the API in order to use the plugin? I'm not sure where to find this information.
It is also mentioned in the about-text of the plugin: "Access the HERE API from inside QGIS using your own HERE-API key"
I'd say a dialog/splash screen explaining this before the plugin is opened would be intuitive. Sorry to waste your time.
Alright, I'm not that stupid. I'm going to assume that on my end, your geocoder is still not properly connecting to the HERE API, yes even with the saved and loaded credentials on the tab. For information, I have registered a JavaScript AppCode and AppID and the above picture is the result of what came up with the link you sent in post 4. Please let me know if I need to be using a different app like Android or iOS (unlikely) but I still think something is wrong.
Javascript AppCode/ID is just working fine on my side. Once again: I don't know about the input you're using, your network settings, etc. I've worked with it from home, on a Mac, WIndows, Linux, in a high speed train, in different netwworks and so on. never saw something wrong there.
@DXOS3 please run the plugin again with the python tab opened. Copy the shown messages and paste them here. Furthermore check the creds folder inside the plugin folder. It should contain two files. Waiting for your reply.
Hi there, I'm not available to try this on the weekend. When I get to work on Monday morning again, I'll give you the onslaught of what I get. including connection settings and the like.
New Text Document.txt ^Python Message Network Connection Settings: -Ethernet -Connection-specifc DNS Suffix: cihs.ad.gov.on.ca (Maybe causing issues?) DHCP Enabled: Yes 2 DNS servers and 4 WINS servers.
Sorry for coming back to you this late, Yes, the DNS could be the problem. Are you able to open the URL mentioned in the Python message: https://geocoder.api.here.com/ ? Should show something like this:
invalid credentials for
{
const open = XMLHttpRequest.prototype.open;
XMLHttpRequest.prototype.open = function (method, url) {
open.apply(this, arguments);
this.addEventListener('readystatechange', function _() {
if(this.readyState == this.HEADERS_RECEIVED) {
const contentType = this.getResponseHeader('Content-Type') || '';
if (contentType.startsWith('video/') || contentType.startsWith('audio/')) {
window.postMessage({
source: 'xmlhttprequest-open',
url,
mime: contentType,
method,
contentType
}, '*');
}
this.removeEventListener('readystatechange', _);
}
})
}
}
Oh, seems like this worked before already as you commented. Unfortunately I am a bit lost now.
Hello, I am having the same issue with it timing out. The plugin was working fine until Friday and now I cannot do anything with it. Any options for fixing or should I try to find a different way to do what I am doing?
it is still working on my side. will close thise as not reproducible.
Here are two of the error reports that I was facing when using the geocoding single address feature. I'm not so sure there is a solid connection with the HERE API yet on my end so this should be smoothed out if possible, Error_Report.txt --> Jan 24 Error_Report_2.txt --> Jan 25--> Inputted to 11 New York for both of them and the second took me to Gottengin, Germany.