I have a MultiLinestring, example coordinates, (698745.50201423 4210011.04002000) and I would like to convert them to something like (24.362 42.458) to use in Google Maps. When I try to get the SRID from the shapefile, it tells me it is an unknown (0) SRID.
I use SELECT UpdateGeometrySRID('roads','geom',4326); to set SRID in 4326 but again the format of coordinates is not changed.
After I tried:
ALTER TABLE roads
ALTER COLUMN geom TYPE geometry(MultiLineString,4326) USING ST_Transform(geom,4326);
and
ALTER TABLE roads
ALTER COLUMN geom TYPE geometry(MULTILINESTRING, 4326)
USING ST_SetSRID(geom,4326);
but again the format of the coordinates is still like (698745.50201423 4210011.04002000).