[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[task #14639] Select rows that are within a given polygon
From: |
Mohammad Akhlaghi |
Subject: |
[task #14639] Select rows that are within a given polygon |
Date: |
Sat, 9 May 2020 21:43:25 -0400 (EDT) |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:76.0) Gecko/20100101 Firefox/76.0 |
Follow-up Comment #17, task #14639 (project gnuastro):
Just a small point on the current implementation: you don't know the type of
the two columns, they may be anything: uint8_t, int16_t, or float64. They may
also have different types: one of them uint8_t, another float64!
So you should also write a step to write the values of each row into the
`point' array (which is float64), based on the different types of each column.
You can see several examples of such tests with a `switch' statement on
`col->type' in `lib/statistics.c'.
_______________________________________________________
Reply to this item at:
<https://savannah.gnu.org/task/?14639>
_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/