Re: [gdal-dev] ogr2ogr fails on second call with sql select

2020-09-26 Thread Paul Higgins
Today's Topics:   1. Re: ogr2ogr fails on second call with sql select (Paul       Higgins) (Paul Higgins) -- Message: 1 Date: Sat, 26 Sep 2020 03:55:59 + (UTC) From: Paul Higgins To: "gdal-dev@lists.osgeo.org&quo

Re: [gdal-dev] ogr2ogr fails on second call with sql select (Paul Higgins)

2020-09-26 Thread Paul Higgins
I found that the only way around this is to make each call,  that has a SELECT in it,  to my ogr2ogr function in a separate thread.  If there are no SELECTs in the calls then I can make them all in one thread. ___ gdal-dev mailing list gdal-dev@l

[gdal-dev] ogr2ogr fails on second call with sql select

2020-09-24 Thread Paul Higgins
I have created a dll of C++ GDAL functions callable from a REX (OOREXX). It has functions like  gdal_translate, gdalinfo, Rgb2Pct and a few others.  Recently I got into using shapefiles so I added a ogr2ogr  function modeled on the C:\release-1911-gdal-2-4-1-mapserver-7-2-2-src\gdal\apps\ogr2ogr_

[gdal-dev] org2org select points within a polygon

2020-09-19 Thread Paul Higgins
I want have some points and I want to find out if they are in a polygon. I have two shape files one defining a polygon and the other two points here are the csv files for  both and the vrt files: My_Polygon.csv:ID,WKT1,"POLYGON ((1 1, 4 1, 4 3, 1 3, 1 1))" My_points.csv:ID X Y1 2 22 0 1 My_Polygon

Re: [gdal-dev] Creating a KAP/BSB

2020-08-27 Thread Paul Higgins
Please cancel this.  I found the problem. Nothing to do with GDAL. Thanks On Friday, August 28, 2020, 03:57:55 a.m. GMT+8, Paul Higgins wrote: I have a process to create a KAP/BSB file as follows:- 1. Create a GIF- 2. From the GIF Create a TIF- 3. From the TIF create a KAP- 4. Read

[gdal-dev] Creating a KAP/BSB

2020-08-27 Thread Paul Higgins
I have a process to create a KAP/BSB file as follows:- 1. Create a GIF- 2. >From the GIF Create a TIF- 3. From the TIF create a KAP- 4. Read the KAP into a Navigation program. For the 2nd process I use a image processing routine called CXIMAGE which works well except if the GIF is very large the

Re: [gdal-dev] Export a geotiff to netcdf in lat lon coordinates

2019-11-22 Thread Paul Higgins
Try this: gdal_translate -of netCDF -a_srs +proj=longlat N_197901_concentration_v3.0.tif out.nc Paul ___ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev