ogr - backport from trunk to branch 2.7.x in order to support createSchema(SimpleFeatureCollection, ...)

Description

Backport the unsupported/ogr module from trunk to branch 2.7.x in order to extend the OGRDataStore protocol to support the method

createSchema(SimpleFeatureCollection data, boolean approximateFields, String[] options)

Environment

None

Activity

Show:
Andrea Aime
February 15, 2017, 11:44 AM

Mass closing all resolved issues not modified in the last 4 weeks

codehaus
April 10, 2015, 3:20 PM

CodeHaus Comment From: mauro - Time: Mon, 16 Jan 2012 02:37:54 -0600
---------------------
About, the test, some month ago, I think those tests fail in trunk too. Well I am confuse. But you are right, now I have executed the test in trunk they work OK.

codehaus
April 10, 2015, 3:20 PM

CodeHaus Comment From: aaime - Time: Sun, 15 Jan 2012 11:56:56 -0600
---------------------
Patch applied, thanks for it.

I had to modify a couple of bits in order to make the code actually compile under Java 1.5 (there was some Java 6 only API usage) and then notice that under Java 1.5 none of the tests does pass, due to <a href="https://github.com/ochafik/nativelibs4java/issues/237">https://github.com/ochafik/nativelibs4java/issues/237</a>

Even using java 6 there are 3 tests not working that afaik do work fine on trunk... bummer.

codehaus
April 10, 2015, 3:20 PM

CodeHaus Comment From: mauro - Time: Fri, 16 Dec 2011 10:04:15 -0600
---------------------
The attached file contains the backport required and the test case for createSchema(FeatureCollection, ...)

Fixed

Assignee

Unassigned

Reporter

codehaus

Triage

None

Components

Fix versions

Affects versions

Priority

Medium