Comments (13)
I checked the configuration of the virtuoso and the proxy. The proxy was missing a setting. So, cross origin requests are possible now.
from building-navigator.
I got the (hopefully) final URL to the public SPARQL endpoint, which holds our place information.
SPARQL Endpoint: https://opendata.leipzig.de/virt-sparql
Graph: https://opendata.leipzig.de/bvlplaces/
Can you try these and give me feedback, if there is any problem? Thank you!
from building-navigator.
Sorry, I will only have time to try this on monday next week...
from building-navigator.
No problem, looking forward to it.
from building-navigator.
On my demo server asimeon.de I get this error:
Failed to load https://opendata.leipzig.de/virt-sparql/: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'https://asimeon.de' is therefore not allowed access.
This is an error about CORS requests.
Normally this means the server needs to add the origin or all (*) as allowed request (as described here)
Do you think we can request that?
Otherwise I don't know if we can fix this...
from building-navigator.
The leading developer on the city-side @fkoestner posted me, that he had no problems. He used:
curl -X POST https://opendata.leipzig.de/virt-sparql --data-urlencode "query=SELECT DISTINCT * FROM https://opendata.leipzig.de/bvlplaces/ WHERE { ?s ?p ?o . } LIMIT 3" -H "Accept: application/sparql-results+json"
But he will check Virtuoso configuration and gets back to us soon.
from building-navigator.
Its not a problem to directly call the virtuoso endpoint for me either.
The problem occurs because the app is stored on our host behindertenverband-leipzig.de, and the request goes to another host. See here:
This cross origin request is disallowed by browsers to improve security and needs to enabled by the seconds server (I didn't found another solution).
from building-navigator.
Jep, I can confirm, it works like a charm now!
Thanks for the fast help.
from building-navigator.
Current commit in branch round-4-navigation implements the new endpoint
from building-navigator.
Thanks @fkoestner!
@simeonackermann: Can you merge all branches into the final one for round 4? I would like to deploy your work next week, if possible. Can i replace the icons later on by myself?
from building-navigator.
@k00ni all updates are merged into branch master now. To update the icons you should simply update the files in the dist/images/bvl
folder.
from building-navigator.
Can the other branches be deleted?
from building-navigator.
Sure. I had already done this.
But we may keep the new branch rdfstorejs as standalone solution without a triple store.
from building-navigator.
Related Issues (20)
- Improve current building highlighting (or remove) in results list HOT 2
- Use react-router for Routing HOT 1
- Vectorized BVL icons HOT 7
- Enable SPARQL endpoints as data sources
- Create Docker based development environment HOT 1
- add reference to used packages (e.g. Fontawesome, ...)
- Test backend Fuseki HOT 1
- BUG: pagination- > back to search -> search
- Perfomance issues on change route. Is this a development-only issue? HOT 10
- Acc-Icons, Toggle Tooltip onClick
- RDFStore-JS Demo HOT 6
- Please use only entries marked as "publicly available"
- Fix wrong elevator information HOT 1
- Double results (eg baptisten, stelzenhaus HOT 2
- Optimized main.min.js HOT 6
- Navigation component HOT 22
- Navigation component open TODOs/features HOT 2
- Navigation on mobile devices ist not available
- Check if view is in/near Leipzig on startup HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from building-navigator.