FW: Re: [Gdal-dev] Save a map from a OGRDataSource
Josepo Urrutia
find_all at hotmail.com
Tue Oct 4 08:15:04 EDT 2005
>
>So you have data in an OGRDataSource from some format (not necessarily
>S-57) and you want to save it out to S-57 format? That is a very messy
>and unsafe thing to do because OGR's S-57 writing support is very
>dependent on having the exact S-57 data model already preprepared.
>
>If you want to see how to use OGR to write data out to a format OGR
>supports for creation, look through ogr2ogr.cpp, or better yet read through
>the "Write to OGR" part of the API tutorial at:
>
> http://www.gdal.org/ogr/ogr_apitut.html
>
Writing the map on S-57 format is not mandatory, using any format OGR
library can read would be OK.
I'll take a look to the code and the tutorial, thanks for the hint!
If I've any question I know where to ask ;-)
More information about the Gdal-dev
mailing list