Git Product home page Git Product logo

bordercloud / sgvizler2 Goto Github PK

View Code? Open in Web Editor NEW
11.0 11.0 14.0 17.71 MB

Sgvizler2 is a javascript wrapper for easy visualisation of SPARQL result sets (and a jQuery plugin).

Home Page: http://bordercloud.github.io/sgvizler2/tutorial-A_Editor.html

License: Other

TypeScript 3.90% JavaScript 66.02% CSS 27.54% HTML 2.12% Shell 0.01% Less 0.32% SCSS 0.08%
chart html javascript sparql sparql-editor typescript

sgvizler2's People

Contributors

amarmehdaouidev avatar anissc avatar antoinegehin avatar bordercloud avatar daoudiahmed avatar dependabot[bot] avatar gianni953 avatar gowtham95 avatar krisgjc avatar leylidiallo avatar matoutang avatar yannmichalski avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

sgvizler2's Issues

Error In demo

Why i am getting the below error?

Sorry, the sparql server sent an error.
You need to allow running insecure content in your navigator or this SPARQL service doesn't exist or timed out or CORS violation or no Access-Control-Allow-Origin header set. (see console log)

image

Need to support the datatype : wktLiteral

Datatypes to support: http://www.opengis.net/ont/geosparql#wktLiteral

Shapes:

  • Point(LONG LAT): A single point as described above (Note the lack of a comma)
  • Linestring(LONG1 LAT1, LONG2 LAT2, ..., LONGN LATN): A line connecting the specified points (Commas between each point)
  • Envelope(minLong, maxLong, maxLat, minLat): A rectangle with the specified corners (Note the commas between each and especially note the somewhat odd ordering of (min, max, max, min)).
  • Polygon(LONG1 LAT1, LONG2 LAT2, ..., LONGN LATN, LONG1 LAT1): A filled-in shape with the specified points (Note that a polygon must start and end with the same point, i.e., be closed)

Doc: 11-052r4_OGC_GeoSPARQL_-_A_Geographic_Query_Language_for_RDF_Data.pdf

Update Leaflet :

  • Point
  • Linestring
  • Envelope
  • Polygon
  • Documentation

Update Google Map: Declined
Google.visualization.Map can not add objects to the map to designate lines or areas. Add objects is only supported by google.maps.Map and you can not use it without a billing account. You can create a new issue if you want Sgvizler2 to support google.maps.Map.

Problem With locating Lat & Long on Map

I am trying to represent the result of SPARQL Query in Map. I fed the data (longitude and latitude) in decimal format. I am getting the below error (image) while trying leaflet.visualization and no result in the case of google.visualization.
image

I tried a similar query for Wiki-data but I am getting the desired output on Map.

I tried with type conversion using BIND but still getting the same error.

Please help me to locate the latitude and longitude on Map.

Bypass CORS

If a SPARQL service has not configured correctly CORS.
Sgvizler needs a parameter with the address of a proxy in order to bypass CORS of SPARQL service.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.