User Details
- User Since
- Sep 28 2018, 12:27 PM (322 w, 5 d)
- Availability
- Available
- LDAP User
- Peb
- MediaWiki User
- Unknown
Mar 19 2020
May 27 2019
May 18 2019
any ideas on how to enable/unhide download menu item only when the query result containing geolocation? should i make separate task on the board?
I have implemented for GeoJSON, GPX, and KML. here's the snippet. four small npm libraries are used : wicket (parsing WKT), geojson, togpx, tokml
/** * Get the result of the submitted query as GeoJSON * * @return {object} */ SELF.prototype._getResultAsGeoJson = function() { var output = [], data = this._rawData; var wkt = new Wkt.Wkt(); output = this._processData( data, function( row, out ) { var newRow = {}; for ( var rowVar in row ) { var binding = ( row[rowVar] || {} ); if ( binding.type === 'literal' && binding.datatype && binding.datatype === 'http://www.opengis.net/ont/geosparql#wktLiteral' ) { wkt.read( binding.value ); newRow._lat = wkt.components[0].y; newRow._lng = wkt.components[0].x; } else { newRow[rowVar] = binding.value; } } out.push( newRow ); return out; }, output ); return GeoJSON.parse( output, { Point: ['_lat', '_lng'] } ); };
ignore the previous patch, i should have used existing _renderValueTSV function. so far implemented for NTriples and JSON-LD. for JSON-LD (using jsonld.js), i need to modify the download function in the ResultView.js (the one calling handler function) to accomodate handler function returning Promise object instead of string.
May 17 2019
It would be nice to meet today and discuss about photography social activities too. Do we need a special Telegram group?
May 16 2019
I will bring two cameras :
- Small camera (APS-C) w/ 19mm fixed lens
- pocket 360 camera
is there any sign/indicators for volunteers who are taking photos aside from bringing camera?
May 15 2019
made a starting code to download as NTriples by converting from SPARQL-Result-JSON.
The JSON-LD might be quite straightforward using jsonld.js fromRdf function given NT input
I can help with this too along with RDF download task
According to blazegraph documentation, the endpoint supports various formats.
I tried using my sparql query app and all listed formats there are returned.