select 'geomfromgeojson_05',st_astext(st_geomfromgeojson(st_asgeojson('POLYGON((0 0,1 1,1 0,0 0))')));
select 'geomfromgeojson_06',st_astext(st_geomfromgeojson(st_asgeojson('MULTIPOLYGON(((0 0,1 1,1 0,0 0)))')));
+-- #1434
+select '#1434: Next two errors';
+select '#1434.1',ST_GeomFromGeoJSON('{ "type": "Point", "crashme": [100.0, 0.0] }');
+select '#1434.2',ST_GeomFromGeoJSON('crashme');;
geomfromgeojson_04|LINESTRING(0 0,1 1)
geomfromgeojson_05|POLYGON((0 0,1 1,1 0,0 0))
geomfromgeojson_06|MULTIPOLYGON(((0 0,1 1,1 0,0 0)))
+#1434: Next two errors
+ERROR: Unable to find 'coordinates' in GeoJSON string
+ERROR: unexpected character (at offset 0)
SELECT '#1305.2',abs(ST_Distance(e, ST_Project(s, ST_Distance(s, e), ST_Azimuth(s, e)))) < 0.001 FROM pts;
SELECT '#1305.3',ST_Azimuth('POINT(0 45)'::geography, 'POINT(0 45)'::geography) IS NULL;
--- #1434
-select '#1434: Next two errors';
-select '#1434.1',ST_GeomFromGeoJSON('{ "type": "Point", "crashme": [100.0, 0.0] }');
-select '#1434.2',ST_GeomFromGeoJSON('crashme');;
-
-- Clean up
DELETE FROM spatial_ref_sys;
#1305.1|POINT(10 10)
#1305.2|t
#1305.3|t
-#1434: Next two errors
-ERROR: Unable to find 'coordinates' in GeoJSON string
-ERROR: unexpected character (at offset 0)