This repository has been archived on 2024-07-04. You can view files and clone it, but cannot push or open issues or pull requests.
osm_map_processing/bin/osmosis/script/pgsimple_schema_0.6_linestring.sql

6 lines
286 B
MySQL
Raw Normal View History

2016-01-12 19:12:45 +00:00
-- Add a postgis GEOMETRY column to the way table for the purpose of storing the full linestring of the way.
SELECT AddGeometryColumn('ways', 'linestring', 4326, 'GEOMETRY', 2);
-- Add an index to the bbox column.
CREATE INDEX idx_ways_linestring ON ways USING gist (linestring);