fahmi14 / geoda

Automatically exported from code.google.com/p/geoda
GNU General Public License v3.0
0 stars 0 forks source link

Mapinfo projects fail to open on Ubuntu #118

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Using GeoDa 1.5.29 on Ubuntu 12.04 64-bit

1) Install GeoDa from the Ubunutu 64-bit debian package
2) Open GeoDa using Dash Home
3) columbus GeoJSON and dBase projects open fine, but both Mapinfo examples 
(MIF and TAB) fail.

Original issue reported on code.google.com by mmcc...@gmail.com on 17 Mar 2014 at 10:36

GoogleCodeExporter commented 8 years ago
Note: the path in mapinfo project file using '\' which cause a problem in 
ubuntu to recongize it. After change it to '/', the project file can be opened 
on Ubuntu. This should be an issue of project file, since users can use either 
'\' or '/' in the project file. Any idea ?

Original comment by lixun...@gmail.com on 19 Mar 2014 at 11:59

GoogleCodeExporter commented 8 years ago
If Windows has no problems opening the with / characters, then I'll make the 
project file write functions always convert \ to /.  wxFileName supports this 
type of operation.

Original comment by mmcc...@gmail.com on 20 Mar 2014 at 12:29

GoogleCodeExporter commented 8 years ago
The best solution is to use / in all of our example files.  Only OGR seems to 
be sensitive to seeing \ characters in file path names.  For Weights, separator 
characters don't matter.  It might be important to leave path names in native 
format so that users on Windows can include the drive letter if needed.  
Generally, this won't be a problem.

Fixed in GeoDa 1.5.30

Original comment by mmcc...@gmail.com on 20 Mar 2014 at 1:12