Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

guidance on configuration for enabling map view. #131

Open
fils opened this issue Feb 9, 2025 · 0 comments
Open

guidance on configuration for enabling map view. #131

fils opened this issue Feb 9, 2025 · 0 comments

Comments

@fils
Copy link

fils commented Feb 9, 2025

I've followed the guidance at: https://github.com/ad-freiburg/qlever-ui/blob/master/docs/configure_qleverui.md

I've been able to do geosparql calls and have the correct WKT Litteral as last column in the return.

For example

PREFIX geo: <http://www.opengis.net/ont/geosparql#>
SELECT ?b ?left_geometry ?has_geometry  WHERE {
  <http://portal.medin.org.uk/portal/json-ld/039b8bff-9a49-49b8-85b7-12cb23f0fc64.jsonld> geo:hasCentroid/geo:asWKT ?left_geometry .
  ?left_geometry <max-distance-in-meters:5000> ?has_geometry .
  ?b geo:hasCentroid/geo:asWKT ?has_geometry .
}

works.

I also can compile and run https://github.com/ad-freiburg/qlever-petrimaps and can confirm it is running via curl.

However, I don't see the map option in the qlever-ui when doing a query that returns the type and location in column order.

I think this is likely due to not knowing what the values in the configuration are that I need to pass. I have tried adding

[mapview]
ENABLE_MAP_VIEW     = true
MAP_VIEW_BASE_URL  = http://workstation.lan:9090

based on inspecting the code a bit, but still no luck.

Just curious if an example configuration for referencing a local instance of perimaps could be provided.

Thanks
Doug

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant