Modify

Opened 4 years ago

Closed 4 years ago

Last modified 4 years 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 by Don-vip, 4 years ago

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

comment:2 by Don-vip, 4 years ago

Milestone: 20.02

comment:3 by stoecker, 4 years ago

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 by simon04, 4 years ago

Resolution: fixed
Status: assignedclosed

In 15858/josm:

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

comment:5 by simon04, 4 years ago

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 4 years ago by simon04 (previous) (diff)

comment:6 by Don-vip, 4 years ago

In 15861/josm:

see #18599 - use configurable JOSM website URL

comment:7 by Don-vip, 4 years ago

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. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.