@@ -1332,8 +1332,6 @@ FROM named_places
1332
1332
WHERE name = 'Goose Island';
1333
1333
ST_AsText(ST_Envelope(boundary))
1334
1334
POLYGON((59 13,67 13,67 18,59 18,59 13))
1335
- Warnings:
1336
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_envelope will be done in SRID 0.
1337
1335
# Conformance Item T15
1338
1336
SELECT ST_X(position)
1339
1337
FROM bridges
@@ -1364,8 +1362,6 @@ FROM road_segments
1364
1362
WHERE fid = 106;
1365
1363
ST_Length(centerline)
1366
1364
26
1367
- Warnings:
1368
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_length will be done in SRID 0.
1369
1365
# Conformance Item T22
1370
1366
SELECT ST_NumPoints(centerline)
1371
1367
FROM road_segments
@@ -1384,16 +1380,12 @@ FROM named_places
1384
1380
WHERE name = 'Goose Island';
1385
1381
ST_AsText(ST_Centroid(boundary))
1386
1382
POINT(63 15.5)
1387
- Warnings:
1388
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_centroid will be done in SRID 0.
1389
1383
# Conformance Item T26
1390
1384
SELECT ST_Area(boundary)
1391
1385
FROM named_places
1392
1386
WHERE name = 'Goose Island';
1393
1387
ST_Area(boundary)
1394
1388
40
1395
- Warnings:
1396
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_area will be done in SRID 0.
1397
1389
# Conformance Item T27
1398
1390
SELECT ST_AsText(ST_ExteriorRing(shore))
1399
1391
FROM lakes
@@ -1436,24 +1428,18 @@ FROM divided_routes
1436
1428
WHERE name = 'Route 75';
1437
1429
ST_Length(centerlines)
1438
1430
96
1439
- Warnings:
1440
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_length will be done in SRID 0.
1441
1431
# Conformance Item T34
1442
1432
SELECT ST_AsText(ST_Centroid(shores))
1443
1433
FROM ponds
1444
1434
WHERE fid = 120;
1445
1435
ST_AsText(ST_Centroid(shores))
1446
1436
POINT(25 42)
1447
- Warnings:
1448
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_centroid will be done in SRID 0.
1449
1437
# Conformance Item T36
1450
1438
SELECT ST_Area(shores)
1451
1439
FROM ponds
1452
1440
WHERE fid = 120;
1453
1441
ST_Area(shores)
1454
1442
8
1455
- Warnings:
1456
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_area will be done in SRID 0.
1457
1443
# Conformance Item T37
1458
1444
SELECT ST_Equals(boundary,
1459
1445
ST_PolyFromText('POLYGON( ( 67 13, 67 18, 59 18, 59 13, 67 13) )',101))
@@ -1462,8 +1448,6 @@ WHERE name = 'Goose Island';
1462
1448
ST_Equals(boundary,
1463
1449
ST_PolyFromText('POLYGON( ( 67 13, 67 18, 59 18, 59 13, 67 13) )',101))
1464
1450
1
1465
- Warnings:
1466
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_equals will be done in SRID 0.
1467
1451
SELECT ST_Equals(boundary,
1468
1452
ST_PolyFromText('POLYGON( ( 67 13, 67 18, 59 18, 59 13, 67 13) )',1))
1469
1453
FROM named_places
@@ -1476,89 +1460,67 @@ WHERE divided_routes.name = 'Route 75'
1476
1460
AND named_places.name = 'Ashton';
1477
1461
ST_Disjoint(centerlines, boundary)
1478
1462
1
1479
- Warnings:
1480
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_disjoint will be done in SRID 0.
1481
1463
# Conformance Item T39
1482
1464
SELECT ST_Touches(centerline, shore)
1483
1465
FROM streams, lakes
1484
1466
WHERE streams.name = 'Cam Stream'
1485
1467
AND lakes.name = 'Blue Lake';
1486
1468
ST_Touches(centerline, shore)
1487
1469
1
1488
- Warnings:
1489
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_touches will be done in SRID 0.
1490
1470
# Conformance Item T42
1491
1471
SELECT ST_Crosses(road_segments.centerline, divided_routes.centerlines)
1492
1472
FROM road_segments, divided_routes
1493
1473
WHERE road_segments.fid = 102
1494
1474
AND divided_routes.name = 'Route 75';
1495
1475
ST_Crosses(road_segments.centerline, divided_routes.centerlines)
1496
1476
1
1497
- Warnings:
1498
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_crosses will be done in SRID 0.
1499
1477
# Conformance Item T43
1500
1478
SELECT ST_Intersects(road_segments.centerline, divided_routes.centerlines)
1501
1479
FROM road_segments, divided_routes
1502
1480
WHERE road_segments.fid = 102
1503
1481
AND divided_routes.name = 'Route 75';
1504
1482
ST_Intersects(road_segments.centerline, divided_routes.centerlines)
1505
1483
1
1506
- Warnings:
1507
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_intersects will be done in SRID 0.
1508
1484
# Conformance Item T44
1509
1485
SELECT ST_Contains(forests.boundary, named_places.boundary)
1510
1486
FROM forests, named_places
1511
1487
WHERE forests.name = 'Green Forest'
1512
1488
AND named_places.name = 'Ashton';
1513
1489
ST_Contains(forests.boundary, named_places.boundary)
1514
1490
0
1515
- Warnings:
1516
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_contains will be done in SRID 0.
1517
1491
# Conformance Item T46
1518
1492
SELECT ST_Distance(position, boundary)
1519
1493
FROM bridges, named_places
1520
1494
WHERE bridges.name = 'Cam Bridge'
1521
1495
AND named_places.name = 'Ashton';
1522
1496
ST_Distance(position, boundary)
1523
1497
12
1524
- Warnings:
1525
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_distance will be done in SRID 0.
1526
1498
# Conformance Item T48
1527
1499
SELECT ST_AsText(ST_Difference(named_places.boundary, forests.boundary))
1528
1500
FROM named_places, forests
1529
1501
WHERE named_places.name = 'Ashton'
1530
1502
AND forests.name = 'Green Forest';
1531
1503
ST_AsText(ST_Difference(named_places.boundary, forests.boundary))
1532
1504
POLYGON((84 42,84 48,62 48,56 34,84 42))
1533
- Warnings:
1534
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_difference will be done in SRID 0.
1535
1505
SELECT ST_AsText(ST_Union(shore, boundary))
1536
1506
FROM lakes, named_places
1537
1507
WHERE lakes.name = 'Blue Lake'
1538
1508
AND named_places.name = 'Goose Island';
1539
1509
ST_AsText(ST_Union(shore, boundary))
1540
1510
POLYGON((52 18,48 6,73 9,66 23,52 18))
1541
- Warnings:
1542
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_union will be done in SRID 0.
1543
1511
# Conformance Item T50
1544
1512
SELECT ST_AsText(ST_SymDifference(shore, boundary))
1545
1513
FROM lakes, named_places
1546
1514
WHERE lakes.name = 'Blue Lake'
1547
1515
AND named_places.name = 'Ashton';
1548
1516
ST_AsText(ST_SymDifference(shore, boundary))
1549
1517
MULTIPOLYGON(((52 18,48 6,73 9,66 23,52 18),(59 18,67 18,67 13,59 13,59 18)),((62 48,56 34,56 30,84 30,84 48,62 48)))
1550
- Warnings:
1551
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_symdifference will be done in SRID 0.
1552
1518
# Conformance Item T51
1553
1519
SELECT count(*)
1554
1520
FROM buildings, bridges
1555
1521
WHERE ST_Contains(ST_Buffer(bridges.position, 15.0), buildings.footprint) = 1;
1556
1522
count(*)
1557
1523
1
1558
- Warnings:
1559
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_buffer will be done in SRID 0.
1560
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_contains will be done in SRID 0.
1561
- Warning 3519 There's no spatial reference system with SRID 101. Calculations in function st_contains will be done in SRID 0.
1562
1524
DROP DATABASE gis_ogs;
1563
1525
#
1564
1526
# Bug#13362660 ASSERTION `FIELD_POS < FIELD_COUNT' FAILED. IN PROTOCOL_TEXT::STORE
0 commit comments