Modify

Opened 16 months ago

Closed 15 months ago

Last modified 15 months ago

#18599 closed enhancement (fixed)

Use josm.openstreetmap.de/remote for SPARQL queries

Reported by: simon04 Owned by: stoecker
Priority: normal Milestone: 20.02
Component: Core tag2link Version:
Keywords: remote privacy Cc:

Description

ticket:18542#comment:11 stoecker:

I did setup a caching proxy on JOSM server:

https://josm.openstreetmap.de/remote/wikidata-sparql
https://josm.openstreetmap.de/remote/sophox-sparql

That works fine for the first link, but I can't get sophox to work, neither as cache nor direct.

Attachments (0)

Change History (7)

comment:1 Changed 15 months ago by Don-vip

@Dirk can you please detail what's not working?

comment:2 Changed 15 months ago by Don-vip

Milestone: 20.02

comment:3 Changed 15 months ago by stoecker

The redirect works. I only got never a useful response from sophox. Maybe you only get this if you pass additional aeguments to the URL?

comment:4 Changed 15 months ago by simon04

Resolution: fixed
Status: assignedclosed

In 15858/josm:

fix #18599 - Tag2Link: Use josm.openstreetmap.de/remote for SPARQL queries

comment:5 Changed 15 months ago by simon04

Component: CoreCore tag2link

Replying to stoecker:

Maybe you only get this if you pass additional aeguments to the URL?

Sure, the query needs to be specified:

2020-02-15 21:10:32.578 INFO: GET https://josm.openstreetmap.de/remote/wikidata-sparql?query=SELECT+%3FOSM_key+%3Fformatter_URL+WHERE+%7B%0A++%7B+%3Fitem+wdt%3AP1282+%3FOSM_key.+%7D%0A++FILTER%28STRSTARTS%28%3FOSM_key%2C+%27Key%3A%27%29%29+.%0A%0A++%7B%0A++++%7B+%3Fitem+wdt%3AP1630+%3Fformatter_URL.+%7D%0A++++UNION%0A++++%7B+%3Fitem+wdt%3AP3303+%3Fformatter_URL.+%7D%0A++%7D%0A%7D%0A -> HTTP/1.1 200 (1.1 s)
2020-02-15 21:10:32.589 INFO: Obtained 52 Tag2Link rules from https://josm.openstreetmap.de/remote/wikidata-sparql
2020-02-15 21:10:32.842 INFO: GET https://josm.openstreetmap.de/remote/sophox-sparql?query=SELECT+%28CONCAT%28%22Key%3A%22%2C+%3Fpermanent_key_ID%29+as+%3FOSM_key%29+%3Fformatter_URL+WHERE+%7B%0A++%3Fitem+osmdt%3AP2+osmd%3AQ7.%0A++%3Fitem+osmdt%3AP16+%3Fpermanent_key_ID.%0A++%3Fitem+osmdt%3AP8+%3Fformatter_URL.%0A%7D%0A -> HTTP/1.1 200 (252 ms)
2020-02-15 21:10:32.846 INFO: Obtained 11 Tag2Link rules from https://josm.openstreetmap.de/remote/sophox-sparql
Last edited 15 months ago by simon04 (previous) (diff)

comment:6 Changed 15 months ago by Don-vip

In 15861/josm:

see #18599 - use configurable JOSM website URL

comment:7 Changed 15 months ago by Don-vip

Keywords: remote privacy added

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain stoecker.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.