[gdal-dev] OGR Style is null for Geometry Collections

2022-03-22 Thread Jacky Tang via gdal-dev
Jacky Tang 08:29 (2 hours ago) to gdal-dev Hello, I am having some issues retrieving the OGR style with ogr2ogr for geometry collections, as it returns null and the geometries themselves do not include OGR style. Any assistance would be greatly appreciated! ogr2ogr -f geojson -s_srs "

[gdal-dev] change icon of placemark of a kml file

2015-09-08 Thread Cheng Tang
Hi Gdal Developers: I have a question: Can I change icon of placemark of a kml file through code using ogr python? I did not find this function in ogr document. Thanks for your support. tang ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http

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

Re: [gdal-dev] question about build static gdal with visual studio

2011-08-31 Thread tang
frmts\ogrsf_frmts.lib $(ODBCLIB) $(CURL_LIB) $(TIFF_LIB) $(JPEG_LIB) $(PNG_LIB) $(GEOS_LIB) !ENDIF then the applications can run with out gdal18.dll. Best regards! and thank you ! On Wed, Aug 31, 2011 at 2:46 PM, Frank Warmerdam wrote: > On 11-08-30 06:58 PM, tang wrote: > >> Than

Re: [gdal-dev] question about build static gdal with visual studio

2011-08-30 Thread tang
erdam wrote: > On 11-08-30 01:12 AM, tang qingyuan wrote: > >> HI ! >> gdal is default build to dynamic lib with visual studio.How can I >> build it >> to static lib ? Maybe a stupid question,But I cannot get the answer on >> mail >> list. Thanks! >>

[gdal-dev] question about build static gdal with visual studio

2011-08-30 Thread tang qingyuan
HI ! gdal is default build to dynamic lib with visual studio.How can I build it to static lib ? Maybe a stupid question,But I cannot get the answer on mail list. Thanks! ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailm

[gdal-dev] Is it possible for gdal_translate to perserve the external georeferencing information?

2011-06-20 Thread Nuo Tang
Hi All, I am new here. Recently I was trying to compress all the tif (some of them have been georeferenced in Arcgis) to jp2. This is the first time that I touch the jp2- amazing! It has the similar quality but smaller size ( 1G tiff= 45M jp2). However, there are some tif images which i have geore