Re: [gdal-dev] GPX metadata records?

2019-11-12 Thread Even Rouault
On mardi 12 novembre 2019 13:50:17 CET Gerard wrote: > Thanks! I don't think I knew that I could preface the source with DRIVER:. > Perhaps a suggestion for the documentation: > > <[DRIVER:]datasource_name> That's not supported by all drivers. Actually most drivers don't need (and won't

Re: [gdal-dev] using gdal_viewshed

2019-11-12 Thread Tamas Szekeres
I've recently fixed the implementation in my local version causing a similar issue (RasterIO error when writing target raster), where the given maxdistance setting would produce an empty row at the top or the bottom of the result image. I'll prepare a fix in gdal in the next few days and let us

Re: [gdal-dev] using gdal_viewshed

2019-11-12 Thread Eli Adam
Hi Ben, On Sun, Nov 10, 2019 at 3:57 AM Ben Avrahami wrote: > > Hello all, I've been trying trying to use the newest gdal_viewshed in > gdal-dev release, and I've run into an error I can't quite understand. > > The input I've been using is: > > gdal_viewshed -md 1000 -ox "691868.511" -oy

Re: [gdal-dev] GPX metadata records?

2019-11-12 Thread Gerard
Thanks! I don't think I knew that I could preface the source with DRIVER:. Perhaps a suggestion for the documentation: <[DRIVER:]datasource_name> https://gdal.org/programs/ogrinfo.html Gerard On Tue, Nov 12, 2019 at 12:24 PM Even Rouault wrote: > On mardi 12 novembre 2019 12:04:53 CET

Re: [gdal-dev] GPX metadata records?

2019-11-12 Thread Even Rouault
On mardi 12 novembre 2019 12:04:53 CET Gerard wrote: > Hello, > > Is there a way to list records from the block in GPX files (such > as "author")? I've tried various combinations of options to ogrinfo, with > no success. I can only seem to list various layers (tracks, track_points, > etc.) No,

[gdal-dev] GPX metadata records?

2019-11-12 Thread Gerard
Hello, Is there a way to list records from the block in GPX files (such as "author")? I've tried various combinations of options to ogrinfo, with no success. I can only seem to list various layers (tracks, track_points, etc.) https://www.topografix.com/GPX/1/1/ xsd:string

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

2019-11-12 Thread agisar
It looks like the answer is "4 degrees unless the user has overridden the value with the OGR_ARC_STEPSIZE configuration variable", as found in gdal-3.0.2/ogr/ogrgeometryfactory.cpp:3884. Hope that helps. Scott -- Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html

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

2019-11-12 Thread Ahmet Temiz
Thanks a lot. It is greatly appreciated On Tue, Nov 12, 2019 at 1:09 AM Martin Chapman wrote: > 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

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

2019-11-12 Thread Even Rouault
On mardi 12 novembre 2019 08:01:58 CET Clemens Rudert wrote: > 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. The answer was actually in the doc of