0 votes
137 views

Hi! I get an error when trying to use the TAP cone search:

Query (from TAP examples):

SELECT
   TOP 1000
   *
   FROM smash_dr2.source
   WHERE 
      1=CONTAINS(POINT('ICRS', ra, dec),
                 CIRCLE('ICRS', 79.786, -69.656, 0.05 ))

Exception:

java.io.IOException: PSQLException: ERROR: function point(unknown, double precision, double precision) does not exist
  Hint: No function matches the given name and argument types. You might need to add explicit type casts.
  Position: 974
at uk.ac.starlink.vo.TapQuery.readResultVOTable(TapQuery.java:671)
at uk.ac.starlink.vo.TapQuery.executeSync(TapQuery.java:246)
at uk.ac.starlink.vo.TapTableLoadDialog$6.loadTables(TapTableLoadDialog.java:539)
at uk.ac.starlink.table.gui.TableLoadWorker.run(TableLoadWorker.java:118)
by minzastro (360 points) | 137 views

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
Anti-spam verification:
To avoid this verification in future, please log in or register.

418 questions

435 answers

440 comments

637 users

Welcome to Data Lab Help Desk, where you can ask questions and receive answers from other members of the community.

Categories