antoniogarrote / rdfstore-js

JS RDF store with SPARQL support
MIT License
564 stars 109 forks source link

GeoSpatial queries #32

Open gregory-h opened 12 years ago

gregory-h commented 12 years ago

We've done a SPARQL based POC using the node/mongodb version of rdfstore, and it would be really nice if we could augment our POC with range & distance based geospatial queries. In looking through the recent commit history I see support for custom filter functions and I think this might be a reasonable way to achieve this result for a POC, but I don't have the resources to add this support in rdfstore, or the time to move to some other solution. I'm wondering if there is anyone with the time and expertise willing to add limited geo query support to the nodejs version rdfstore for a fee?

johncant commented 11 years ago

Hi oneHappyCanuck,

I too need this functionality, but you should go about trying to get it written in a slightly different way. I'm prepared to have a go at implementing GeoSPARQL in this project (I don't expect payment, and I wouldn't be doing it for you), but it would help massively if you released your POC open source as a starting point.

johncant commented 11 years ago

Here's the standard: https://portal.opengeospatial.org/files/?artifact_id=47664

gregory-h commented 11 years ago

Hi John, Our POC is dead in the water for lack of funds and I'm no longer with the co so not entitled to release anything.   Sorry,


From: John Cant notifications@github.com To: antoniogarrote/rdfstore-js rdfstore-js@noreply.github.com Cc: oneHappyCanuck jjoyce_2u@yahoo.ca Sent: Sunday, February 3, 2013 2:48:05 PM Subject: Re: [rdfstore-js] GeoSpatial queries (#32)

Hi oneHappyCanuck, I too need this functionality, but you should go about trying to get it written in a slightly different way. I'm prepared to have a go at implementing GeoSPARQL in this project (I don't expect payment, and I wouldn't be doing it for you), but it would help massively if you released your POC open source as a starting point. — Reply to this email directly or view it on GitHub.

johncant commented 11 years ago

Fair enough. I've looked into implementing GeoSparql, and as much as I'd like to, I don't have the expertise or the time.

I'd highly recommend ripping out large chunks of code from PostGIS (with appropriate credit) and using them in the ultimate SPARQL extension (PostGIS is exactly the same, except it uses SQL to interface with the underlying geospatial indices). I'd also recommend swig-v8 to wrap the c library to create a node extension