Opened 12 years ago
Last modified 10 years ago
#4331 closed enhancement
Adding SXF file format driver — at Version 9
Reported by: | bidandou | Owned by: | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | OGR_SF | Version: | unspecified |
Severity: | normal | Keywords: | SXF |
Cc: | warmerdam, dron, rutsky |
Description (last modified by )
Hi,
Just found a time to look into this issue.
I should say that I have a code for SXF format developed by me several years ago, but it is still out of OGR tree because there were no pressing need for that driver (and the OGC SF model is not sufficient for SXF, so I developed a separate library for SXF reading and writing to be able to explore all the features of the format). Moreover, I actually have two drivers: the one based on SDK from KB Panorama, and another one with my own code only. I should note that official format spec is bad and vague and a bit of experimentation and reverse engineering is needed to properly read SXF files.
There is a separate contribution now, so I am bit late with my own stuff, but it is certainly a time to introduce this new driver. So we need to come to some solution how we will proceed. I can invest some time for this development and push my code too. Though I don't want to put down a new contributor I should note that my code supports more SXF variations and goes further. Also it is architecture and compiler independent.
Change History (20)
by , 12 years ago
Attachment: | drv_sxf.html added |
---|
by , 12 years ago
Attachment: | makefile.vc added |
---|
by , 12 years ago
Attachment: | GNUmakefile added |
---|
comment:1 by , 12 years ago
Cc: | added |
---|
comment:2 by , 12 years ago
Description: | modified (diff) |
---|
comment:3 by , 12 years ago
Description: | modified (diff) |
---|
comment:4 by , 12 years ago
Description: | modified (diff) |
---|
comment:5 by , 12 years ago
Description: | modified (diff) |
---|
comment:6 by , 12 years ago
SXF datasets that could be used to test the contribution :
some SXF files exist on thos URL :
http://gistoolkit.ru/download/
the most interesting thing is the availability of a free downladable softwares in the above site alowing the cration and the export of SXF files in different configurations to do tests.
see: http://www.gisinfo.net/download/download.htm
for the OS I used to test my driver : Windows XP SP3 and Windows 7?
I'm Using Visual Studio 2008 Expess Edition for the developpement. dont try to compile with gcc.
I submit the files above just to know how does mechanism of contriburions work. My work is not finished.
Thank you for your interest, soon I'll correct my work and I'll submit more comprehensible code.
by , 12 years ago
by , 12 years ago
Attachment: | ogrsxfdatasource.cpp added |
---|
by , 12 years ago
Attachment: | ogrsxfdriver.cpp added |
---|
by , 12 years ago
Attachment: | org_sxf_defs.h added |
---|
by , 12 years ago
by , 12 years ago
by , 12 years ago
Attachment: | systypes.h added |
---|
by , 12 years ago
Attachment: | ogrsxflayer.cpp added |
---|
comment:7 by , 12 years ago
Ali, (sorry if I misidentified your first name ?)
Thanks for the updates.
- I'd note that there are still identations problems in ogrsxflayer.cpp.
- I suppose that the ogr_sxf_defs.h comes from the spec of http://gistoolkit.ru/download/doc/sxf4bin.pdf. Am I right ? Translated into English : http://translate.google.fr/translate?sl=ru&tl=en&u=http%3A%2F%2Fgistoolkit.ru%2Fdownload%2Fdoc%2Fsxf4bin.pdf
- I looked at the links you provided but couldn't find a SXF file sample in them. There are just too many files to open them one by one. Could you point me at the precise URL for a sample file ? Thanks
- Do you consider your work ready enough, or are there still some changes you intend to do before I start integrating ? You can always submit additional patches later.
comment:8 by , 12 years ago
Yes you are right, the ogr_sxf_defs.h comes from the spec of the SXF file format transtated to english.
you can find an SXF file in :
For now I consider that my work is not ready enough, there still some importants thinks to do, so I'd like to have time to do that.
Thank you for you assistance
comment:9 by , 12 years ago
Description: | modified (diff) |
---|
I have several high level remarks and questions :
Note : to avoid the proliferation of files when you update new revisions of your work, you can overwrite existing files attached to the ticket by checking the "Replace existing attachment of the same name" box.
CC'ing Andrey Kiselev who has contributed stuff in GDAL for Panorama SRS
Merci de votre contribution !