Opened 14 years ago
Closed 9 years ago
#3410 closed enhancement (fixed)
Add missing multipoint support to MITAB
Reported by: | gaige | Owned by: | warmerdam |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | svn-trunk |
Severity: | normal | Keywords: | mitab |
Cc: | Daniel Morissette |
Description
Previously Map Info TAB format files could read but not write multipoint geometry. This adds writing multipoint geometry to the CreateFeature code.
I apologize for the lack of test files for you. Fortunately, I have a really nice round-trip testbed that allows me to verify that the data written and the data read are the same (within a very specific set of parameters), unfortunately it's tied tightly to my software and can't be separated out for distribution.
==== /ogr/ogrsf_frmts/mitab/mitab_imapinfofile.cpp 357d356 < case wkbMultiPoint: 372a372,381 > case wkbMultiPoint: > poTABFeature = new TABMultiPoint(poFeature->GetDefnRef()); > if(poFeature->GetStyleString()) > { > poTABPointFeature = (TABPoint*)poTABFeature; > poTABPointFeature->SetSymbolFromStyleString( > poFeature->GetStyleString()); > } > break; >
Change History (4)
comment:1 by , 14 years ago
Cc: | added |
---|---|
Keywords: | mitab added |
comment:3 by , 9 years ago
I believe that multipoints are still not written but they are converted to many points but I am not sure. Waiting some comment from mitab folks.
comment:4 by , 9 years ago
Milestone: | 1.8.1 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Just tested it works OK.
Gaige,
the normal process for changing files belonging to MITAB is to submit them to upstream MITAB. CC'ing Daniel Morissette, the MITAB maintener.