Re: [Qgis-user] Error! No Internet connection? OSM Place Search plugin error

2023-09-13 Thread Andrea Giudiceandrea via QGIS-User

Keith Jenkins kgjenkins at gmail.com
Wed Sep 13 09:41:22 PDT 2023



In the ol-geocoder.js file that is created by qgis2web, search for:
"https://nominatim.openstreetmap.org/search/;


Hi Keith,
I've filed a Pull Request [1] to fix the issue in the qgis2web plugin.
I don't know if and when it will be merged and a new version of the 
plugin will be available (the plugin seems not constantly maintained).


Best regards.

Andrea

[1] https://github.com/tomchadwin/qgis2web/pull/1038
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Error! No Internet connection? OSM Place Search plugin error

2023-09-13 Thread Keith Jenkins via QGIS-User
Hi, Jared.

Yes, the problem seems to be when checking the "Add address search"
box under the "Appearance" tab in qgis2web and exporting to OpenLayers
(as noted by Andrea).

I checked the network traffic from an exported map, which is making a
request like:
https://nominatim.openstreetmap.org/search/?q=kinshasa=json=1=5==en-US

According to the response to that request, the Nominatim API has been
changed, making the request invalid.  However, it is an easy fix,
since a single slash just needs to be removed.

In the ol-geocoder.js file that is created by qgis2web, search for:
"https://nominatim.openstreetmap.org/search/;

and change it to
"https://nominatim.openstreetmap.org/search;

And then the search box should work.

Cheers,
Keith
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Error! No Internet connection? OSM Place Search plugin error

2023-09-13 Thread Andrea Giudiceandrea via QGIS-User

Hi Jared,
I can confirm what Frank wrote: the "OSM place search" QGIS plugin is 
available in the official QGIS Python plugins repository [1], anyway 
such plugin has very likely nothing to do with the web map error, which, 
if I understood correctly, doesn't occur using QGIS and the "OSM place 
search" plugin, but it occurs using the web map.


It seems to me the error message very likely comes from the "OpenLayers 
Control Geocoder" [2] which is an OpenLayers extension used by the web 
map [3].


Best regards.

Andrea


[1] https://plugins.qgis.org/plugins/nominatim/
[2] 
https://github.com/Dominique92/ol-geocoder/blob/eff2edddaaaebb2038ea2b00206f93de05d73b4a/src/nominatim.js#L164

[3] https://github.com/Dominique92/ol-geocoder
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Error! No Internet connection? OSM Place Search plugin error

2023-09-12 Thread Frank Broniewski via QGIS-User
Hi Jared,

I tried the OSM Search plugin just now and it works for me, so maybe there is 
an issue on your end after all? It’s hard to tell from afar , but maybe you 
might find some info in the messages log.
And I really do not know, what a web map has to do with the OSM Search plugin, 
so there must be more than that plugin involved and the message does not even 
come from the OSM Search plugin? Maybe you want to create a fresh user profile 
and test each plugin the user has separately to find out which plugin gives you 
the error …


Von: QGIS-User  Im Auftrag von Jared Jordan 
via QGIS-User
Gesendet: Dienstag, 12. September 2023 16:50
An: qgis-user@lists.osgeo.org
Betreff: [Qgis-user] Error! No Internet connection? OSM Place Search plugin 
error

I am not sure if this is the right group to send to, but I have a user that is 
having an issue with a map from QGIS.  He has created a web map and exported it 
to an html.  They have been using that same html file for a while now but about 
a month or so ago suddenly the Place Search (using OSM Place Search Plugin) 
started giving him the error in the image below.

[cid:image001.png@01D9E615.1C8BB580]

Network configuration has not changed, and I am not even sure where to start.  
This is the same error all other users get.  We have tried exporting a new web 
map, but the same thing happens.
I don’t know much about the program as I just found out that they use it.   I 
tried to replicate it, but I could not actually find that plugin within QGIS 
when I tried to install it on my system.  I am wonder if it has been 
discontinued or deprecated.

I do have a video of the error, but I am not familiar with list serves and what 
is allowed to be sent or not.  If I am in the wrong list serve for this kind of 
issue, please just let me know.
[cid:image002.jpg@01D9E615.1C8BB580]
Jared Jordan​
Adna Technologies
[cid:image003.png@01D9E615.1C8BB580]
jjor...@teamadna.com<mailto:jjor...@teamadna.com>
www.TeamAdna.com<https://www.teamadna.com/>
[Facebook]<https://www.facebook.com/AdnaTechnologies/>
[Twitter]<https://www.twitter.com/teamadna>

___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Error! No Internet connection? OSM Place Search plugin error

2023-09-12 Thread Jared Jordan via QGIS-User
I am not sure if this is the right group to send to, but I have a user that is 
having an issue with a map from QGIS.  He has created a web map and exported it 
to an html.  They have been using that same html file for a while now but about 
a month or so ago suddenly the Place Search (using OSM Place Search Plugin) 
started giving him the error in the image below.

[cid:image001.png@01D9E566.E790C630]

Network configuration has not changed, and I am not even sure where to start.  
This is the same error all other users get.  We have tried exporting a new web 
map, but the same thing happens.
I don't know much about the program as I just found out that they use it.   I 
tried to replicate it, but I could not actually find that plugin within QGIS 
when I tried to install it on my system.  I am wonder if it has been 
discontinued or deprecated.

I do have a video of the error, but I am not familiar with list serves and what 
is allowed to be sent or not.  If I am in the wrong list serve for this kind of 
issue, please just let me know.

Jared Jordan
Adna Technologies
jjor...@teamadna.com
www.TeamAdna.com
___
QGIS-User mailing list
QGIS-User@lists.osgeo.org
List info: https://lists.osgeo.org/mailman/listinfo/qgis-user
Unsubscribe: https://lists.osgeo.org/mailman/listinfo/qgis-user