Changes between Initial Version and Version 3 of Ticket #515
- Timestamp:
- Apr 2, 2007, 9:34:39 PM (17 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #515 – Description
initial v3 1 {{{2 1 OGRGeometry Intersect method does not work correctly in a geographic 3 coordinate system (lat/lon coordinates), because it does not account for 4 periodicity (i.e. "wrap-around" of lon-coordinate at dateline). 2 coordinate system (lat/lon coordinates), because it does not account for periodicity (i.e. "wrap-around" of lon-coordinate at dateline). 5 3 6 OGRGeometry already has an associated spatial reference (with the method 7 IsGeographic()). However, a remaining problem is that polygon edges are not 8 well-defined in such a coordinate system (although the shortest connection is 9 probably a reasonable assumption). 10 4 OGRGeometry already has an associated spatial reference (with the method IsGeographic()). However, a remaining problem is that polygon edges are not well-defined in such a coordinate system (although the shortest connection is probably a reasonable assumption). 5 6 {{{ 11 7 As a test case: 12 8 13 9 1) download & tar xzf the following wrs2 zone definition file: 14 10 ftp://ftp.glcf.umiacs.umd.edu/www/shapefile/wrs2.tar.gz 15 11 16 12 2) execute 'ogrinfo -al wrs2.shp -spat 42 42 44 44' 17 13 18 ogrinfo will wrongly report wrs2 zones crossing the dateline, because the 19 intersection routines' min-max check inverts the longitudal extent of these 20 cells. 21 }}} 14 ogrinfo will wrongly report wrs2 zones crossing the dateline, because the intersection routines' min-max check inverts the longitudal extent of these cells.