skip to Main Content

save geometry type data with timestamp in postgresql

I want to save LineString like the below in Postgresql {"type": "FeatureCollection", "features": [{"type": "Feature", "properties": {"style": {"color": "#19f3e7", "weight": 2}}, "geometry": {"type": "LineString", "coordinates": [[50.998085021972656, 35.83528137207031, 1000.0, 1682083948.0], [50.99810028076172, 35.83527374267578, 1000.0, 1682083948.0], [50.998023986816406, 35.835289001464844, 1000.0, 1682083948.0]]}}]} [50.998085021972656, 35.83528137207031, 1682083948.0]…

VIEW QUESTION

How do I cast a geometry type for mixed geometries (polygons & multipolygons) in 4326? `::geometry(4326) as shape` doesn't work – Postgresql

I'd like to update the geometry definition to include a specific SRID CREATE MATERIALIZED VIEW published.ql_cmd_cruise_layer_web TABLESPACE pg_default AS SELECT ql_cmd_cruise_layer_web.cruise_id, ql_cmd_cruise_layer_web.cruise, ql_cmd_cruise_layer_web.shape_wgs84::geometry(4326) AS shape_wgs84, ql_cmd_cruise_layer_web.cruise_data_url FROM oracle_fdw.ql_cmd_cruise_layer_web WITH DATA; The geom column holds both polygons and multipolygons, so I…

VIEW QUESTION
Back To Top
Search