Selon Leonardo Piga <leonardo.p...@gmail.com>: Leonardo,
the general way to proceed and a few recommandations are described here : http://trac.osgeo.org/gdal/wiki/HowToContribute I'm just curious : does this effort of creating maps for Brazilian cities relate somehow with the OpenStreetMap project or is it a completely autonomous effort ? I've just also noticed that the gpsbabel project handles the GTM format (http://www.gpsbabel.org/capabilities.html). Did you consider using it instead, or was the direct integration of the GTM format inside OGR more convenient for you ? Just speaking loud : it might be interesting to have a pseudo gpsbabel driver in OGR. That would offer 'for free' all the formats gpsbabel handles to OGR. Technically speaking, gpsbabel being an executable and not a library, OGR would probably need to fork the gpsbabel executable and use the GPX format as an exchange format between both software. One inconvenience I see when using gpsbabel is that it has no format autodetection capability. So the syntax could be for example "ogrinfo GPSBABEL:gtm:my_file.gtm" and this would execute "gpsbabel -w -r -t -i gtm -f -i gtm -f my_file.gtm -o gpx -F tempfile.gpx". Or the subformat autodetection capability could be added in the OGR gpsbabel driver for a few selected formats. Best regards, Even > Hello, > > I'm implementing a new driver for OGR. The driver is responsible for > handling with GPSTrackMaker files <http://www.gpstm.com>. GTM files. > > This program is extensively used in Brazil on a project called > Tracksource. This community makes maps from Brazilian cities and > distributes them freely for using on GPS devices. The project is > collaborative and the users develop the maps. > > Each developer is responsible for one or more cities. Some developers > receive the maps from their city hall office (this is my case); > however, it doesn't give the maps on our preferable format. The > developer has to convert it. That's why I'm implement this driver. > > The driver is reading the gtm a files already. I want to share my > effort, so that other people can use my driver. > Is it possible to make my driver available with OGR? > > Thank you > -- > Leonardo de Paula Rosa Piga > http://lampiao.lsc.ic.unicamp.br/~piga > _______________________________________________ > gdal-dev mailing list > gdal-dev@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/gdal-dev > _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev