Re: [gdal-dev] How to read GML/GeoRSS directly from XML string?

2012-07-05 Thread Yingqi Tang
It looks like CSV driver follows the same pattern. You need to add ".csv" for the temp memory virtual file. It's good to know. Thanks, On Thu, Jul 5, 2012 at 11:52 AM, Yingqi Tang wrote: > Cool, adding ".json" doesn't solve the problem. > > > On

Re: [gdal-dev] How to read GML/GeoRSS directly from XML string?

2012-07-05 Thread Yingqi Tang
Cool, adding ".json" doesn't solve the problem. On Thu, Jul 5, 2012 at 11:47 AM, Even Rouault wrote: > Le jeudi 05 juillet 2012 20:44:58, Yingqi Tang a écrit : > > Hi Chaitanya, > > > > GeoJSON does seem to be an exception, although the ogr driver can > di

Re: [gdal-dev] How to read GML/GeoRSS directly from XML string?

2012-07-05 Thread Yingqi Tang
inputDriver.Open('/vsimem/temp', 0); Is that expected? Thanks. On Thu, Jul 5, 2012 at 10:19 AM, Yingqi Tang wrote: > Hi Chaitanya, > > This works great, thanks a lot for the advice. Here is basic code pattern: > > inputDataStr = ""; > gdal.FileFrom

Re: [gdal-dev] How to read GML/GeoRSS directly from XML string?

2012-07-05 Thread Yingqi Tang
ttp://www.gdal.org/ogr/classOGRGeometryFactory.html > [2]: http://www.gdal.org/ogr/classOGRGeometry.html > > On Wed, Jul 4, 2012 at 3:34 AM, Yingqi Tang wrote: > >> Hi, >> >> I am using OGR/GDAL to read GML/GeoRSS/GeoJSON from either local file or >>

[gdal-dev] How to read GML/GeoRSS directly from XML string?

2012-07-03 Thread Yingqi Tang
Hi, I am using OGR/GDAL to read GML/GeoRSS/GeoJSON from either local file or url, the sample code is like below ... inputDriver = ogr.GetDriverByName(inputDriverType) inputDataSource = inputDriver.Open(inputDataPath, 0); ... It seems that I can pass in the GeoJSON string directly like: inputData

Re: [gdal-dev] [*** YES ! ***] Re: Can OGR WFS driver take advantage of WFS Server streaming?

2012-06-01 Thread Yingqi Tang
Even, I tried it with the latest dev build and it works great for me. Thanks a lot! Thanks On Fri, Jun 1, 2012 at 12:39 PM, Even Rouault wrote: > Le vendredi 01 juin 2012 21:12:06, Yingqi Tang a écrit : > > Hi Even, > > > > Any chance this new /viscurl_stream/ included

Re: [gdal-dev] [*** YES ! ***] Re: Can OGR WFS driver take advantage of WFS Server streaming?

2012-06-01 Thread Yingqi Tang
Hi Even, Any chance this new /viscurl_stream/ included in future release of official gdal/ogr? Thanks On Fri, May 18, 2012 at 12:41 PM, Even Rouault wrote: > OK, > > I've finally implemented /vsicurl_stream/ , optimized the GML driver for > it, > and ported the WFS driver to use it transparent

Fwd: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

2012-05-17 Thread Yingqi Tang
Resend to the mailing list -- Forwarded message -- From: Yingqi Tang Date: Thu, May 17, 2012 at 12:03 PM Subject: Re: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming? To: Even Rouault How can I do below through GDAL Python API? wget -O - "

Fwd: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

2012-05-17 Thread Yingqi Tang
Resend to the mailing list. -- Forwarded message -- From: Even Rouault Date: Thu, May 17, 2012 at 12:05 PM Subject: Re: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming? To: Yingqi Tang Le jeudi 17 mai 2012 20:52:07, Yingqi Tang a écrit : > Even, >

Re: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

2012-05-17 Thread Yingqi Tang
Thanks a lot, Even. I will give it a try. On Thu, May 17, 2012 at 9:47 AM, Even Rouault wrote: > > > > 2. Does the GML driver take url pointing to a GML? > > > > It can work with /vsicurl/http://something, provided that the server > allows > > partial downloading of arbitrary ranges of bytes with

Re: [gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

2012-05-16 Thread Yingqi Tang
mai 2012 23:58:29, Yingqi Tang a écrit : > > Hi all, > > > > I am communicating against a WFS server which supports data (GML) > > streaming, which means that once I send a GetFeature quest for a big GML > > (2.0GB+), server will take only seconds to start streaming GM

[gdal-dev] Can OGR WFS driver take advantage of WFS Server streaming?

2012-05-16 Thread Yingqi Tang
Hi all, I am communicating against a WFS server which supports data (GML) streaming, which means that once I send a GetFeature quest for a big GML (2.0GB+), server will take only seconds to start streaming GML back to client while at the same time it's still preparing the rest of the big GML. Now