Changeset 30659 in osm


Ignore:
Timestamp:
2014-09-19T02:46:51+02:00 (10 years ago)
Author:
donvip
Message:

see #josm9704 - initial code to save as PBF

Location:
applications/editors/josm/plugins/pbf
Files:
2 added
2 edited

Legend:

Unmodified
Added
Removed
  • applications/editors/josm/plugins/pbf/build.xml

    r30656 r30659  
    33
    44    <!-- enter the *lowest* JOSM version this plugin is currently compatible with -->
    5     <property name="plugin.main.version" value="7248"/>
     5    <property name="plugin.main.version" value="7562"/>
    66
    77    <property name="plugin.author" value="Don-vip"/>
  • applications/editors/josm/plugins/pbf/src/org/openstreetmap/josm/plugins/pbf/PbfPlugin.java

    r30341 r30659  
    77import org.openstreetmap.josm.plugins.PluginInformation;
    88import org.openstreetmap.josm.plugins.pbf.action.DownloadPbfTask;
     9import org.openstreetmap.josm.plugins.pbf.io.PbfExporter;
    910import org.openstreetmap.josm.plugins.pbf.io.PbfImporter;
    1011
     
    2122        ExtensionFileFilter.importers.add(new PbfImporter());
    2223        // Allow JOSM to export *.osm.pbf files
    23         //ExtensionFileFilter.exporters.add(new PbfExporter());// TODO: PBF export
     24        ExtensionFileFilter.exporters.add(new PbfExporter());
    2425        // Allow JOSM to download remote *.osm.pbf files
    2526        Main.main.menu.openLocation.addDownloadTaskClass(DownloadPbfTask.class);
Note: See TracChangeset for help on using the changeset viewer.