Opened 9 years ago

Closed 9 years ago

#5969 closed enhancement (fixed)

ogr2ogr.java is outdated

Reported by: cosmebenito Owned by: Even Rouault
Priority: normal Milestone: 2.1.0
Component: JavaBindings Version: 1.11.0
Severity: normal Keywords: ogr2ogr java PROMOTE_TO_MULTI
Cc:

Description

ogr2ogr is outdated and does not contain the PROMOTE_TO_MULTI setting, for instance.This setting is important for me, and I don't know how to implement it.

Attachments (1)

CkBjjZY.png (10.0 KB ) - added by cosmebenito 9 years ago.

Download all attachments as: .zip

Change History (4)

by cosmebenito, 9 years ago

Attachment: CkBjjZY.png added

comment:1 by Even Rouault, 9 years ago

PROMOTE_TO_MULTI has no particular magic. Just study the source of ogr2ogr.cpp and that should be relatively straightforward to port to Java.

comment:2 by Even Rouault, 9 years ago

Type: defectenhancement

comment:3 by Even Rouault, 9 years ago

Milestone: 2.1.0
Resolution: fixed
Status: newclosed

GDAL 2.1 and the new gdal.VectorTranslate() is a better replacement. See r30884 and the new https://trac.osgeo.org/gdal/browser/trunk/gdal/swig/java/apps/ogr2ogr_new.java demo app

Note: See TracTickets for help on using tickets.