Ticket #960 (closed defect: fixed)
the current CVS version of ogr2ogr (10/14/05) produces mapinfo files that don't display in mapinfo
| Reported by: | ethan@… | Owned by: | dmorissette |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | default | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: | ethan@… |
Description
The following is my command line invocation: ogr2ogr -f 'MapInfo File' -a_srs /dg/cots/apps/dgeographic_1.2.1/etc/wgs84.wkt - spat -179.5 -89.5 179.5 89.5 test_1_3_1 ./test_all_good_snaps.shp Using the CVS version of ogr2ogr I get mapinfo files that do not display in mapinfo. mapinfo (both 7.x and 8.0) provides no error message, the features just don't appear. The original shapefile being translated (attached to this report) was generated using pgsql2shp. Below are the file sizes of my three tests. Versions 1.2.6 and 1.3.1 create files that can be view and 1.3.2a is the current CVS version. It appears the .map file is different between 1_3_1 and 1_3_2a: -bash-2.05b$ diff test_1_3_1/b.dat test_1_3_2a/c.dat -bash-2.05b$ diff test_1_3_1/b.id test_1_3_2a/c.id -bash-2.05b$ diff test_1_3_1/b.tab test_1_3_2a/c.tab -bash-2.05b$ diff test_1_3_1/b.map test_1_3_2a/c.map Binary files test_1_3_1/b.map and test_1_3_2a/c.map differ -rw-r--r-- 1 ealpert users 180338 Oct 14 12:39 test_1_2_6/a.dat -rw-r--r-- 1 ealpert users 1336 Oct 14 12:39 test_1_2_6/a.id -rw-r--r-- 1 ealpert users 46080 Oct 14 12:39 test_1_2_6/a.map -rw-r--r-- 1 ealpert users 1043 Oct 14 12:39 test_1_2_6/a.tab -rw-r--r-- 1 ealpert users 193698 Oct 14 12:39 test_1_3_1/b.dat -rw-r--r-- 1 ealpert users 1336 Oct 14 12:39 test_1_3_1/b.id -rw-r--r-- 1 ealpert users 46080 Oct 14 12:39 test_1_3_1/b.map -rw-r--r-- 1 ealpert users 1023 Oct 14 12:39 test_1_3_1/b.tab -rw-r--r-- 1 ealpert users 193698 Oct 14 12:40 test_1_3_2a/c.dat -rw-r--r-- 1 ealpert users 1336 Oct 14 12:40 test_1_3_2a/c.id -rw-r--r-- 1 ealpert users 46080 Oct 14 12:40 test_1_3_2a/c.map -rw-r--r-- 1 ealpert users 1023 Oct 14 12:40 test_1_3_2a/c.tab -bash-2.05b$ ogrinfo test_1_2_6/a.tab Had to open data source read-only. INFO: Open of `test_1_2_6/a.tab' using driver `MapInfo File' successful. 1: a (Polygon) -bash-2.05b$ ogrinfo test_1_3_1/b.tab Had to open data source read-only. INFO: Open of `test_1_3_1/b.tab' using driver `MapInfo File' successful. 1: b (Polygon) -bash-2.05b$ ogrinfo test_1_3_2a/c.tab Had to open data source read-only. INFO: Open of `test_1_3_2a/c.tab' using driver `MapInfo File' successful. 1: c (Polygon) Please let me know if there is anymore data you'd like. Thanks, -e
Attachments
Change History
Note: See
TracTickets for help on using
tickets.

