Ok. I made that change and it appears to work.
Latest code available here: https://github.com/klassenjs/
gdal/tree/esrijson-curves
On Mon, Jul 2, 2018 at 1:56 PM, Even Rouault
wrote:
> >
> > In the first two cases (without OLCCurveGeometries set) I see
> > curveToLineString is being called whe
>
> In the first two cases (without OLCCurveGeometries set) I see
> curveToLineString is being called when there are curves in the data, but
> not on every result page (again curves are relatively rare in the dataset).
ok, then replace the call to OGRMemLayer::SetFeature() with
OGRMemLayer::ISet
On Mon, Jun 25, 2018 at 4:14 PM, Even Rouault
mailto:even.roua...@spatialys.com>> wrote:
> > If my memories are right, you only need to set it for write
support. So
> > shouldn't be needed there.
>
> All I know is that without it set, the curved geometries were
linearized
> This would still be an issue with paging. Most of the actual datasets
> of interest (to me) involve multiple HTTP requests to fetch many pages
> of JSON data (usually 1000 - 1 features at a time depending on
> server setup). The curves may easily not be on the first page and
> re-running th
On 06/22/2018 02:51 PM, Even Rouault wrote:
> On vendredi 22 juin 2018 14:38:15 CEST James Klassen wrote:
>> I finally got around to doing a rough implementation of parsing ESRIJSON
>> with curved geometries. The code is very rough yet, but works enough to
>> import a polygon layer from an ESRI
On vendredi 22 juin 2018 14:38:15 CEST James Klassen wrote:
> I finally got around to doing a rough implementation of parsing ESRIJSON
> with curved geometries. The code is very rough yet, but works enough to
> import a polygon layer from an ESRI FeatureService into PostGIS with the
> curves intac
I finally got around to doing a rough implementation of parsing ESRIJSON
with curved geometries. The code is very rough yet, but works enough to
import a polygon layer from an ESRI FeatureService into PostGIS with the
curves intact. Code is available at [1].
Main issues:
I don't know how to det
On Thu, Oct 19, 2017 at 2:04 PM, Even Rouault
wrote:
> On jeudi 19 octobre 2017 13:38:38 CEST James Klassen wrote:
> > Has anyone looked at reading curved geometries from an Esri rest service
> > queried with "returnTrueCurves=true"?
> >
> > My end goal is to import the data into PostGIS. We were
On jeudi 19 octobre 2017 13:38:38 CEST James Klassen wrote:
> Has anyone looked at reading curved geometries from an Esri rest service
> queried with "returnTrueCurves=true"?
>
> My end goal is to import the data into PostGIS. We were successful using
> ogr2ogr to translate the curved features fro
Has anyone looked at reading curved geometries from an Esri rest service
queried with "returnTrueCurves=true"?
My end goal is to import the data into PostGIS. We were successful using
ogr2ogr to translate the curved features from a geodatabase download in the
past, but that download is being repla
10 matches
Mail list logo