3. 9/1/16 3Postgis Topology will replace Postgis SimpleFeature
Why use different projection on server and client ?
SRID 25832
(UTM 32, meter
5-12 degrees )
SRID 25833
(UTM 33, meter
12-21 degrees)
SRID 25835
(UTM 35, meter
21-30)
SRID 4258
(degrees)
4. 9/1/16 4Postgis Topology will replace Postgis SimpleFeature
Client
Srid 25833 (meter)
Simple Feature
Postgis database
Srid 4258 (degrees)
Test case
Simple feature
(polygons, lines,points)
Simple feature
(polygons, lines,points)
5. 9/1/16 5Postgis Topology will replace Postgis SimpleFeature
0% drifted points, 0% overlap
(postgis binary to postgis binary(WKB) and back with no projection)
SRID 25833
6. 9/1/16 6Postgis Topology will replace Postgis SimpleFeature
90% drifted points
(meter to degrees and back using binary)
400 km.
7. 9/1/16 7Postgis Topology will replace Postgis SimpleFeature
90% drifted points
(meter to degrees and back using binary)
400 km.
8. 9/1/16 8Postgis Topology will replace Postgis SimpleFeature
99% of polygons overlaps
(meter to degrees and back using binary)
400 km.
9. 9/1/16 9Postgis Topology will replace Postgis SimpleFeature
99% of polygons overlaps
(meter to degrees and back using binary, with 100 reputations )
400 km.
10. 9/1/16 10Postgis Topology will replace Postgis SimpleFeature
Points drifts with many kilometers
(Projection formula UTM 35 on data in UTM 32
meter to degrees and back using binary, with 100 reputations)
50 km.
27. 9/1/16 27Postgis Topology will replace Postgis SimpleFeature
Client
github.com/
NibioOpenSource/pgtopo_update_sql
Postgis Topology
Only new lines/points
Using generic JSON API
I
TopoJSON
JSON
28. 9/1/16 28Postgis Topology will replace Postgis SimpleFeature
Postgis Topology also gives a lot more than this
No drifting points No duplications
29. 9/1/16 29Postgis Topology will replace Postgis SimpleFeature
Draw a line
around
all polygons
in a layer
30. 9/1/16 30Postgis Topology will replace Postgis SimpleFeature
Postgis Topology:5 new points
Simple Feature: 333105 new points
(333100 duplicates)
32. 9/1/16 32Postgis Topology will replace Postgis SimpleFeature
ST_Simplify and Simple Feature Using Topology
common border will not match. No problem
33. 9/1/16 33Postgis Topology will replace Postgis SimpleFeature
Reduced update bandwidth needs for client
Client
Server
Payload reduced
by ST_Simplify
34. 9/1/16 34Postgis Topology will replace Postgis SimpleFeature
ST_Simplify works perfect with Postgis Topology
7990316 bytes 149400 byte (98 % less)