Re: [gdal-dev] GDAL/OGR curve stroking dfMaxAngleStepSizeDegrees

2019-11-11 Thread Clemens Rudert
Hello Still I look for this default value. I was not able to find it. Since Iam not a pro C programmer I would be really happy if someone could help out here. Cheers Clemens > Am 07.11.2019 um 11:50 schrieb Clemens Rudert : > > Hi folks > > > Iam interested in the default value for paramete

[gdal-dev] Calculating elevation angles from RPCs in NITF files

2019-11-11 Thread Shanasta Daisy
Hello! Given a NITF, the RPCs in the NITF, and the center pixel coordinates of the image, I am trying to determine the elevation angle (center ground point to satellite). From what I understand, this can be achieved by calculating the ground point of the image center and another point on the vecto

Re: [gdal-dev] Call for discussion on RFC76 OGR Python drivers

2019-11-11 Thread Even Rouault
Sean, > About > https://github.com/rouault/gdal/blob/pythondrivers/gdal/doc/source/tutorials > /vector_python_driver.rst#driver-location, can you expand on the > distribution/installation story for these plugins? Will there be any > guidance about plugin dependencies? Will GDAL resolve and fetch t

Re: [gdal-dev] Call for discussion on RFC76 OGR Python drivers

2019-11-11 Thread Sean Gillies
Hi Even, On Mon, Nov 11, 2019 at 7:21 AM Even Rouault wrote: > On mercredi 6 novembre 2019 00:02:52 CET Mateusz Loskot wrote: > > On Tue, 5 Nov 2019 at 12:06, Even Rouault > wrote: > > > This is a topic we already discussed a couple years ago. Please find a > RFC > > > about it in: > > > > > >

Re: [gdal-dev] angle of crossing two lines

2019-11-11 Thread Martin Chapman
Ahmet, The following function will return the angle in decimal degrees given 3 points on a flat plane. The three points create the angle. If you have two intersecting lines then the angle of any given corner is the center point where the lines intersect and two end points of the lines that

Re: [gdal-dev] ogr2ogr PDF

2019-11-11 Thread Jürgen E . Fischer
On Mon, 11. Nov 2019 at 10:18:47 -0700, Helmut Kudrnovsky wrote: > >*Disclaimer: QGIS 3.10 must be compiled with GDAL >= 3.0 and proj6, which as > far as I know is currently >not the case for QGIS Windows standalone builds. > See also https://gis.stackexchange.com/questions > >/340030/create-geospa

Re: [gdal-dev] ogr2ogr PDF

2019-11-11 Thread Helmut Kudrnovsky
>*Disclaimer: QGIS 3.10 must be compiled with GDAL >= 3.0 and proj6, which as far as I know is currently >not the case for QGIS Windows standalone builds. See also https://gis.stackexchange.com/questions >/340030/create-geospatial-pdf-geopdf-is-greyed-out-in-pdf-export-options-in-qgis-3-10 OSGeoW

Re: [gdal-dev] gdalbuildvrt issues

2019-11-11 Thread Joaquim Manuel Freire Luís
""" With -separate, each files goes into a separate band in the VRT dataset. Otherwise, the files are considered as tiles of a larger mosaic and the VRT file has as many bands as one of the input files. """ I guess it's this bit " Otherwise, the files are considered as tiles of a larger mosaic.

Re: [gdal-dev] gdalbuildvrt issues

2019-11-11 Thread Even Rouault
> Yes, also found that (after). It's the panchromatic band 8 of the LandSat8 > set, which has double resolution. But in this case, shouldn't the -separate > option make a difference? But it doesn't. The result is the same either if > I use it or not (confess that I don't understand the meaning of t

Re: [gdal-dev] gdalbuildvrt issues

2019-11-11 Thread Joaquim Manuel Freire Luís
You probably need to define the following in your nmake.local: ># To be enabled defined to point to wsetargv.obj from the Visual C++ >directory, # when you want >the utility programs to be able to expand >wildcards. >#SETARGV = "D:\Software\VStudio\VC98\lib\wsetargv.obj" >Note: regular s

Re: [gdal-dev] gdalbuildvrt issues

2019-11-11 Thread Even Rouault
On lundi 11 novembre 2019 16:14:34 CET Joaquim Manuel Freire Luís wrote: > Hi, > > I'm facing strange things when using gdalbuildvrt. First, with my own build > (GDAL master) I can't use wild cards (Windows here) You probably need to define the following in your nmake.local: # To be enabled defi

[gdal-dev] gdalbuildvrt issues

2019-11-11 Thread Joaquim Manuel Freire Luís
Hi, I'm facing strange things when using gdalbuildvrt. First, with my own build (GDAL master) I can't use wild cards (Windows here) $ gdalbuildvrt --version GDAL 3.1.0dev, released 2019/99/99 j@MARILU C:\SIG_AnaliseDadosSatelite\SIG_ADS\DadosEx2\LC82040332015145LGN00 $ gdalbuildvrt lixo.vrt *.T

Re: [gdal-dev] angle of crossing two lines

2019-11-11 Thread Andrew Bell
Dot product On Mon, Nov 11, 2019, 09:07 Ahmet Temiz wrote: > Hi, > I need to know angle of crossing two lines. > which function can I use? > > regards > > -- > Ahmet Temiz > Jeoloji Müh. > Afet ve Acil Durum Yönetimi Başkanlığı > Bilgi İşlem Dairesi Başkanlığı-CBS Grubu > > > __

Re: [gdal-dev] Call for discussion on RFC76 OGR Python drivers

2019-11-11 Thread Even Rouault
On mercredi 6 novembre 2019 00:02:52 CET Mateusz Loskot wrote: > On Tue, 5 Nov 2019 at 12:06, Even Rouault wrote: > > This is a topic we already discussed a couple years ago. Please find a RFC > > about it in: > > > > https://github.com/OSGeo/gdal/pull/1984/files > > I dropped some comments ther

[gdal-dev] angle of crossing two lines

2019-11-11 Thread Ahmet Temiz
Hi, I need to know angle of crossing two lines. which function can I use? regards -- Ahmet Temiz Jeoloji Müh. Afet ve Acil Durum Yönetimi Başkanlığı Bilgi İşlem Dairesi Başkanlığı-CBS Grubu Ahmet Temiz Geological Eng. Information Systems - GIS Group Disaster and Emer

Re: [gdal-dev] Open option for vectors in the cloud

2019-11-11 Thread Even Rouault
On lundi 11 novembre 2019 04:49:49 CET jratike80 wrote: > rns lots of features but perhaps you could do even better by combining > ranges when possible. I suspect those requests come from sequential reading of features. /vsicurl/ reads by chunks of 16 KB, and when it detects a sequential reading

Re: [gdal-dev] Open option for vectors in the cloud

2019-11-11 Thread jratike80
Hi Björn, Much faster now. The version that I used for testing includes https://github.com/OSGeo/gdal/pull/1993. The amount of http range requests is already rather low even when quory returns lots of features but perhaps you could do even better by combining ranges when possible. These three requ

Re: [gdal-dev] ogr2ogr PDF

2019-11-11 Thread paul.malm
Thanks Andreas and Jukka!! -Gurus! /Paul -Ursprungligt meddelande- Från: gdal-dev [mailto:gdal-dev-boun...@lists.osgeo.org] För jratike80 Skickat: den 11 november 2019 09:13 Till: gdal-dev@lists.osgeo.org Ämne: Re: [gdal-dev] ogr2ogr PDF Hi, You must add a field named "ogr_style" into y

Re: [gdal-dev] ogr2ogr PDF

2019-11-11 Thread Andreas Neumann
Hi Paul, As usual, there are several ways: 1. You can either create a new attribute called "OGR_STYLE" (see section 2.8 in the spec) that contains the style definition (see chapter 2 in the spec) 2. or you create an external .ofs (OGR feature style side-file) as described in section 2.7 of

Re: [gdal-dev] ogr2ogr PDF

2019-11-11 Thread jratike80
Hi, You must add a field named "ogr_style" into your PostGIS table and fill it with the style definition strings. You can see some examples in http://latuviitta.org/documents/Geospatial_PDF_maps_from_OSM_with_GDAL.pdf. In simple cases as you may have it can be easier to add the styles on-the-fly