I'm trying to save some KML files to PostgreSQL. I'm using postgis and this is a sample of what I've done so far.
INSERT INTO police_crime_boundaries (name, polygon) VALUES (
'A',
ST_GeomFromKML('<LinearRing>
<coordinates>-2.69927798816,52.9954289967,0 -2.70075298816,52.9932649967,0
</coordinates>
</LinearRing>')
);
Anyone have any idea of what am I doing wrong?
Getting the data from here: https://data.police.uk/data/boundaries/