Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8304541
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T17:52:36+00:00 2026-06-08T17:52:36+00:00

I am using PostgreSQL 9.1 with PostGIS 2.0.1. The type of column location is

  • 0

I am using PostgreSQL 9.1 with PostGIS 2.0.1.

The type of column location is point. type of latitude and longitude double precision.

Why is this update statement

update list_of_location SET location = ST_SetSRID(ST_MakePoint(longitude,latitude), 4326);

returning

LINE 1: update list_of_location SET location = ST_SetSRID(ST_MakePoint(longit...
                                               ^
HINT:  You will need to rewrite or cast the expression.
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-08T17:52:37+00:00Added an answer on June 8, 2026 at 5:52 pm

    To use PostGIS 2.0+, location should be of type geometry(Point,4326), and not point.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using PostgreSQL + PostGIS. In table I have a point and line geometry
I'm using PostGIS with django. I know how to add a POINT on PostgreSQL
I'm using PostgreSQL 9.1, I thought it was supposed to support this XML integration
I'm using PostgreSQL 9.1 and I have this data structure: A B ------- 1
Using PostgreSQL 8.4 and with a table such as this: create table log (
Using postgresql 8.4, I'm trying to write a function, and it looks like this:
I am using postgreSQL. I have a column that: NOT NULL However when I
I am using PostgreSQL, I've one column named Result in Job table, it contains
I'm using Ubuntu 10.10, PostgreSQL 9.0 and PostGIS 1.5. I've installed PostGIS 1.5 from:
I'm using this script (update https://gist.github.com/3763701 ) and it works nicely (congrats to the

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.