Comments (12)
Another one
-- Conformance Item T7
SELECT GeometryType(centerlines)
FROM lakes
WHERE name = 'Route 75';
lakes does not have centerlines field neither name with 'Route 75'. It should be "divided_routes" table
from h2gis.
Can you post a link to a document explaining OGC SQL conformance?
from h2gis.
Maybe it's here. Version 06-104r4?
from h2gis.
This one http://portal.opengeospatial.org/files/?artifact_id=25354 Simple Features - SQL - Types and Functions (1.2.1) unit test at end.
from h2gis.
-- Conformance Item T13
SELECT AsText(Boundary((boundary),101) FROM named_places WHERE name = 'Goose Island';
Missing parentheses..
And unit test result says it should return a LineString however the start and end point are the same and according to SFS it should be a LinearRing instead.
from h2gis.
Finally I will fix ST_Boundary and convert to LineString to follow OGC and PostGIS function.
from h2gis.
Erf It's impossible, a LineString that has the same first and last coordinate always create a LinearRing.
from h2gis.
Conformance test 28 Page 108
-- Conformance Item T28
SELECT NumInteriorRing(shore)
FROM lakes
WHERE name = 'Blue Lake';
Ring is plural it must be NumInteriorRings
from h2gis.
About test 28 http://lists.osgeo.org/pipermail/postgis-users/2006-January/010532.html
from h2gis.
Test 40
SELECT Within(boundary, footprint) FROM named_places, buildings WHERE named_places.name = 'Ashton' AND buildings.address = '215 Main Street'
boundary come from named places and it is an area like a district. Footprint is the building area. Expected result of OCG T40 is True.
However boundary is not inside footprint, this is footprint that are inside boundary. I invert parameters in this unit test:
SELECT Within(footprint,boundary) FROM named_places, buildings WHERE named_places.name = 'Ashton' AND buildings.address = '215 Main Street'
This error has been found also in POSTGIS
http://svn.osgeo.org/postgis/trunk/extras/ogc_test_suite/2_queries.sql
-- Test script reverses the correct order of arguments to 'Within()'.
-- Specification says 'Within(g1,g2) is 'TRUE if g1 is completely
-- contained in g2' and test explanation says we are checking if
-- the house (g1, footprint) is within Ashton (g2, boundary).
from h2gis.
T42
SELECT Crosses(road_segments.centerline, divided_routes.centerlines) FROM road_segments, divided_routes WHERE road_segment.fid = 102 AND divided_routes.name = 'Route 75';
Missing s:
SELECT Crosses(road_segments.centerline, divided_routes.centerlines) FROM road_segments, divided_routes WHERE road_segments.fid = 102 AND divided_routes.name = 'Route 75';
from h2gis.
This bug is in OGC specification not H2GIS, close this ticket.
from h2gis.
Related Issues (20)
- Update H2 database with the last snapshot HOT 1
- Question about H2GIS 2.0.0 (Function "st_contains" not found) HOT 2
- Implement Function "ST_CLUSTERKMEANS"
- SHPWrite with empty geom HOT 1
- Unknown data type: "POINT" HOT 2
- Release H2GIS 2.1.0 on github HOT 1
- Import shapefile error with .prj HOT 1
- JTS OverlayNG HOT 1
- Add ST_Project HOT 2
- ST_OSMDownloader HOT 1
- Add ESRI proj definitions to SPATIAL_REF_SYS table HOT 1
- Support options on FILE_TABLE HOT 2
- Data conversion error MULTIPOLYGON HOT 7
- Dependency org.postgresql:postgresql, leading to CVE problem
- ST_Tessellate empty geometry
- Error transformation from SRID 2100 to 4326 HOT 2
- Update H2GIS with H2 2.2.220 HOT 2
- Check createDDL for DECFLOAT
- Update to H2 2.2.222 HOT 4
- st_union with GROUP BY doesn't work HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from h2gis.