Comments (7)
Definitely, we can collaborate on this.
from heavydb.
Note that there's a distance_in_meters
function you can call to find the distance between two WGS-84 positions: https://github.com/mapd/mapd-core/blob/master/QueryEngine/ExtensionFunctions.hpp#L227. Example (taken from tests): SELECT DISTANCE_IN_METERS(-74.0059, 40.7217,-122.416667 , 37.783333) FROM test LIMIT 1;
.
from heavydb.
Yeah, I've dug through the docs on the website. Looking for stuff like ST_Contains for polygons and points.
But the link to the source code is quite handy for seeing how these functions are implemented.
from heavydb.
contains
should be easy by adding another function to compute barycentric coordinates w/ it for triangles and dot product for others etc.
from heavydb.
I'd merge this issue with this one: #58
from heavydb.
This should probably be closed with the 4.0 release, which now supports geo features, and ST_DISTANCE and ST_CONTAINS geoprocessing ops mentioned above. @m1mc, @billmaimone and @benjaminjs: are you finding what you need now? If not, perhaps open a new issue - MapD is looking for community contributions/priorities for its geo road map. ST_INTERSECTION, ST_AREA, etc. could make fun projects for interested geogeeks!
from heavydb.
Yep, exactly what I was looking for!
from heavydb.
Related Issues (20)
- [GPU Logic Bug] SELECT DISTINCT <column> FROM <table> ORDER BY 1 DESC LIMIT 10 Brings Errors HOT 1
- [GPU Error Bug] <column> NOT IN <column(overflow)> Brings Errors
- ERR_OUT_OF_CPU_MEM: Not enough host memory to execute the query HOT 2
- [GPU Error Bug] SELECT <column> FROM <table> WHERE <column> OR <column> OR CAST(<number> + CAST( <column> AS INT) AS BOOLEAN) Brings Errors
- [Crash Bug] INSERT INTO <table>(<column>, <column>) VALUES(TRUE, TRUE) Brings Errors
- [Crash Bug] SELECT <column> FROM <table> JOIN <table> ON FALSE Brings Errors HOT 1
- [Crash Bug] SELECT * FROM <table> JOIN <table> ON CAST(<number> AS BOOLEAN) WHERE FALSE Brings Errors HOT 2
- [Crash Bug] SELECT * FROM <table> JOIN <table> ON NULL WHERE FALSE Brings Errors HOT 2
- [GPU Logic Bug] SELECT DISTINCT <column> FROM <table> WHERE CAST(<column> AS INT) != 1 Brings Errors
- [GPU Error Bug] SELECT * FROM <table> WHERE ((<column> + <column>) < <column>) OR (<column> = <column>) Brings Errors HOT 1
- golang python HOT 10
- [GPU Error Bug] SELECT * FROM <table> JOIN ( SELECT ALL <number> FROM <table>) AS <alias> Brings Errors
- [GPU Error Bug] CAST(<column>+<column>(overflow) AS BOOLEAN) Brings Errors
- Evaluate using Profile-Guided Optimization (PGO) and Post-Link Optimization (PLO) HOT 1
- Intermitted SIGSEGV errors crashing heavyDB HOT 6
- Cannot import on an individual leaf. Please import from the Aggregator. HOT 1
- pinned memory HOT 2
- Failed to compile heavyDB; CUDA architecture not detected HOT 3
- Some demos on the website are not working or outdated HOT 1
- Error Running HeavyDB with Nvidia Nsight Compute: Broken Pipe in Thrift Connection HOT 7
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 heavydb.