[gdal-dev] Crop tiff raster file with warp C++ API

2020-08-19 Thread Chang Liao
Hi, I need to crop a DEM raster file with a shapefile. This shapefile has many polygons. I need to calculate several variables after the crop operation. I do not need to write the warped result out to my disk and I intend to use either VRT or MEM once the test is passed. The shapefile has the sam

[gdal-dev] I have a problem getting higher resolution in a VRT file

2020-08-19 Thread Stephen Woodbridge
Hi all, I've been puzzling over a problem with trying to get a higher resolution images using a VRT file so low res data looks smoother in mapserver. This is my source tif image: gdalinfo  /maps/wms/data/HYCOM/HYCOM_today_mlt.tif Driver: GTiff/GeoTIFF Files: /maps/wms/data/HYCOM/HYCOM_today_m

Re: [gdal-dev] Required PROJ data in PROJ7

2020-08-19 Thread Michael Smith
John New proj now adds support for geotiffs for datums, much smaller and can be accessed over net, subset, etc. There is a CDN for the data, cdn.prog.org as well as a utility for fetching data, https://proj.org/apps/projsync.html. You can use the online CDN to just fetch what a user needs at ru

Re: [gdal-dev] Required PROJ data in PROJ7

2020-08-19 Thread jratike80
Hi, This question may belong rather to the Proj mailing list. There is already a thread https://lists.osgeo.org/pipermail/proj/2020-July/009729.html. -Jukka Rahkonen- John Daniel-2 wrote > Hello, > The old proj-datumgrid is divided into a small, 13 MB required dataset and > a number of much la

[gdal-dev] Required PROJ data in PROJ7

2020-08-19 Thread John Daniel
Hello, The old proj-datumgrid is divided into a small, 13 MB required dataset and a number of much larger optional regional datasets. The new proj-data doesn't seem to have this distinction. It is smaller overall, but still 500 MB. I am interested in using GDAL in mobile apps so I don't want to

[gdal-dev] SQLite attach database as open option

2020-08-19 Thread Rahkonen Jukka (MML)
Hi, I wonder if it a) might work and b) could have some practical use to implement an open option for attaching other SQLite databases to SQLite based datasources https://www.sqlite.org/lang_attach.html. The usage could be something like -oo ATTACH=path/to/other.gpkg:alias, where "alias" part

Re: [gdal-dev] Create a network

2020-08-19 Thread Dmitry Baryshnikov
Hi, In case of polylines (i.e. road segments, single layer) - each polyline is vertex and edge is pure virtual (so it identifier is -1). There are different cases, for example: 1. Water network with pipes (vertices) and edges (valves) 2. Road network - each road segment is vertex, edges are

[gdal-dev] OGR Informix driver status

2020-08-19 Thread Jeremy Palmer
Hi All, Does anyone know the status of this driver? https://gdal.org/drivers/vector/idb.html. I see no test suite, but some patches were applied back in 2017. Is it still used in production by anyone of this list? Does it have any known significant limitations? e.g catalog or layer metadata que

Re: [gdal-dev] Create a network

2020-08-19 Thread Dmitry Baryshnikov
Hi, You need to follow these steps: 1. Create empty network > gnmmanage.exe create -f GNMFile -t_srs "EPSG:4326" -dsco "net_name=my_network_1" C:\tmp\gnmnetwork 2. Load your data > gnmmanage.exe import lines.shp -l lines C:\tmp\gnmnetwork Repeat for all your layers 3. Connect features to