0

I have loaded some points into a table as Multipoint, they have come through with an SRID of 0. I need to change these to have a SRID of 7844 and also change them to be of type Point. There are other records already in the table with type of Point and SRID of 7844.

I have seen how to change the SRID from unknown to another projection here, https://postgis.net/2013/08/30/tip_ST_Set_or_Transform/ using ST_Set.

I have also seen that in PostGIS you can use ST_Dump for multipart geometries. I have also just found Multipoint vs point PostGIS

How do I change specific records SRID and downgrade from multi to individual points in PostGIS in SQL without affecting the other records.

geozelot
  • 30,050
  • 4
  • 32
  • 56
JamesLeversha
  • 743
  • 5
  • 15
  • 2
    Use a where clause – BERA May 25 '20 at 11:36
  • is it acceptable here? I wasn't completely sure what was happening when using ST_Set if it was applying it to the actual geometry column or individual records. – JamesLeversha May 25 '20 at 11:37
  • 1
  • do the multipoint actually contain multiple points, or do they just have 1 part? 2) do you want to change the rows, or the column type?
  • – JGH May 25 '20 at 11:45
  • they are all just single points within a multipoint. It will have to be row wise as there are some points in there with type of point. – JamesLeversha May 25 '20 at 12:12