[QGIS-trac] Re: [Quantum GIS] #1729: MapInfo: OGR layer converter
doesn't work
Quantum GIS
qgis at qgis.org
Tue Jan 26 19:35:06 EST 2010
#1729: MapInfo: OGR layer converter doesn't work
-------------------------------------+--------------------------------------
Reporter: 1969 | Owner:
Type: enhancement | Status: reopened
Priority: minor: annoyance | Milestone: Version 1.5.0
Component: C++ Plugins | Version: HEAD
Resolution: | Keywords:
Platform_version: | Platform: Linux
Must_fix: No | Status_info: 0
-------------------------------------+--------------------------------------
Comment (by sowelu):
QGIS trunk
Kubuntu 9.10 AMD64
GDAL 1.8dev
When I choose a ESRI Shapefile and supply an input filename name then
choose target format of "MapInfo File" and press Browse nothing happens
at
all. If you then just press OK it tells you that the target dataset is
missing. I had a look at the code and it looks to me like the line
add( Format( "MapInfo", "MapInfo File", Format::eFile ) );
in format.cpp has the "MapInfo" and "MapInfo File" around the wrong way.
If you reverse these and re-compile, QGIS then allows you to choose the
output target file, but then crashes when you press OK. Looking in the
target directory, OGR Converter writes out the dat, id and map files, but
there is no tab file. If you just enter a name (ie. without '.tab') as
the
target filename, it creates a directory and writes the dat, id and map
files, again without the tab.
My GDAL appears to be working as I can do the conversion using ogr2ogr.
Roland
--
Ticket URL: <https://trac.osgeo.org/qgis/ticket/1729#comment:10>
Quantum GIS <http://qgis.org>
Quantum GIS is an Open Source GIS viewer/editor supporting OGR, PostGIS, and GRASS formats
More information about the QGIS-trac
mailing list