Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-10-02 Thread Parveen Sharma via gdal-dev
Hello Even That's great. Thanks for letting me know Best regards Parveen From: Even Rouault Sent: Wednesday, October 2, 2024 7:45 PM To: Parveen Sharma ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Is it possible to create standalone DLL for OG

Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-10-02 Thread Even Rouault via gdal-dev
Hi, OGR_ENABLE_DRIVER_GML_PLUGIN=ON will be possible in 3.10 per https://github.com/OSGeo/gdal/pull/10914 Even Le 29/08/2024 à 09:41, Parveen Sharma via gdal-dev a écrit : Hello I am working on *Release/3.3* branch of *GDAL*. I want to know if its possible to create a standalone DLL for

Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-08-29 Thread Even Rouault via gdal-dev
Le 29/08/2024 à 19:42, Andrew C Aitchison via gdal-dev a écrit : On Thu, 29 Aug 2024, Even Rouault via gdal-dev wrote: I was wondering if there exists a way to get standalone OGR GML Driver. Please suggest. No, it must be built-in in core libgdal as part of its functionality is re-used

Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-08-29 Thread Andrew C Aitchison via gdal-dev
On Thu, 29 Aug 2024, Even Rouault via gdal-dev wrote: I was wondering if there exists a way to get standalone OGR GML Driver. Please suggest. No, it must be built-in in core libgdal as part of its functionality is re-used by other drivers (NAS, WFS) through direct function calls Would d

Re: [gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-08-29 Thread Even Rouault via gdal-dev
I was wondering if there exists a way to get standalone OGR GML Driver. Please suggest. No, it must be built-in in core libgdal as part of its functionality is re-used by other drivers (NAS, WFS) through direct function calls -- http://www.spatialys.com My software is free, but my time ge

[gdal-dev] Is it possible to create standalone DLL for OGR GML driver ?

2024-08-29 Thread Parveen Sharma via gdal-dev
Hello I am working on Release/3.3 branch of GDAL. I want to know if its possible to create a standalone DLL for OGR GML driver during build of GDAL itself? So far i have tried enabling below flags in my nmake.local but there is no success so far. OGR_ENABLE_DRIVER_GML_PLUGIN = YES GDAL_ENABL

Re: [gdal-dev] Is it possible to have an external Color Table definition for GeoTIFF rasters?

2021-11-24 Thread Denis Rykov
Thanks, Even! I've filed an issue: https://github.com/OSGeo/gdal/issues/4897 On Wed, Nov 24, 2021 at 11:57 AM Even Rouault wrote: > Denis, > > But the same approach (having a color table in external .aux.xml PAM file) > doesn't work for GeoTIFF rasters. According to the output of gdal_translate

Re: [gdal-dev] Is it possible to have an external Color Table definition for GeoTIFF rasters?

2021-11-24 Thread Even Rouault
Denis, But the same approach (having a color table in external .aux.xml PAM file) doesn't work for GeoTIFF rasters. According to the output of gdal_translate we can see that GDAL doesn't take into account the color table defined in the external file. Please file an issue about that, or even b

[gdal-dev] Is it possible to have an external Color Table definition for GeoTIFF rasters?

2021-11-24 Thread Denis Rykov
For example it works in case of ASCII rasters: $ cat test.ascii.aux.xml Palette < Entry c1="1" c2="2" c3="3" c4="4" /> < Entry c1="3" c2="6" c3="9" c4="12" />4 1.75 0 1.4790199457749 $ gdalinfo test.ascii Driver: AAIGrid/Arc/Info ASCII Grid Files: test.ascii test.ascii.aux.xml Size i

Re: [gdal-dev] Is it possible to switch warnings off?

2021-03-07 Thread Joaquim Manuel Freire Luís
hen called via Julia. I'll explore the CPLPushErrorHandler() Joaquim From: Even Rouault Sent: Sunday, March 7, 2021 10:15 PM To: Joaquim Manuel Freire Luís ; gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Is it possible to switch warnings off? Joaquim, I suspect you are not testing wit

Re: [gdal-dev] Is it possible to switch warnings off?

2021-03-07 Thread Even Rouault
Joaquim, I suspect you are not testing with the same GDAL version with your gdalinfo shell invokation or within julia. With the C API, you can shut down warnings and errors with CPLPushErrorHandler(CPLQuietErrorHandler); ... CPLPopErrorHandler(); You can install a custom error handler that

Re: [gdal-dev] Is it possible to switch warnings off?

2021-03-07 Thread Mateusz Loskot
On Sun, 7 Mar 2021 at 21:42, Joaquim Manuel Freire Luís wrote: > > I have this strange case where some warnings come from don’t know where. > [...] > Warning 1: The dataset has several variables that could be identified as > vector fields, but not all share the same primary dimension. Consequentl

[gdal-dev] Is it possible to switch warnings off?

2021-03-07 Thread Joaquim Manuel Freire Luís
Hi, I have this strange case where some warnings come from don't know where. >From a shell command (cmd but it doesn't matter) all fine gdalinfo AQUA_MODIS.20020717T135006.L2.SST.nc Driver: netCDF/Network Common Data Format Files: AQUA_MODIS.20020717T135006.L2.SST.nc Size is 512, 512 Metadata:

[gdal-dev] Is it possible to use VRTDerivedRasterBand in VRTWarpedDataset?

2020-10-08 Thread Next Stop
Hello, I have two-band raster dataset, which I need to warp to another CRS, calculate a single band with a pixel function and apply a color lookup table to it, so the result is interpolated RGB color. The result can be achieved by calling `gdalwarp` then `gdal_calc.py` and then `gdaldem color-

[gdal-dev] Is it possible to optimize vector tiles time writing with MVT driver ?

2018-07-26 Thread Maria Ibarra
Hello, I am using the GDAL 2.3.1 MVT driver to build a vector tile basemap (multiple data layers, at different zoom levels). The process takes 14 hours. However, when I do the same thing using Tippecanoe, it takes one hour and a half. I’m not sure if I am missing some configuration to reduce

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-04 Thread Stephen Woodbridge
lists.osgeo.org/mailman/listinfo/gdal-dev Hey Stephen, I think you looking for "layer.SetFeature(feature)", which you can add right before destroying the changed feature object withing your loop. Regards, Rutger -- View this message in context: http://osgeo-org.1560.x6.nabble.com

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-04 Thread Rutger
us software. > https://www.avast.com/antivirus > > ___ > gdal-dev mailing list > gdal-dev@.osgeo > https://lists.osgeo.org/mailman/listinfo/gdal-dev Hey Stephen, I think you looking for "layer.SetFeature(feature)", which you ca

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread Stephen Woodbridge
On 4/3/2017 11:37 PM, jratike80 wrote: Stephen Woodbridge wrote Hi All, I have a shapefile(s) and I want to read the features, generate some metrics about each feature and then add them to the that feature. I'm using python and one obvious way to to in effect create a new shapefile with the col

Re: [gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread jratike80
-sql "update test set foo=2" test.shp -Jukka Rahkonen- -- View this message in context: http://osgeo-org.1560.x6.nabble.com/gdal-dev-Is-it-possible-to-add-new-fields-to-a-shapefile-and-populate-then-tp5315568p5315579.html Sent from the GDAL - Dev mailing list archive at N

[gdal-dev] Is it possible to add new fields to a shapefile and populate then?

2017-04-03 Thread Stephen Woodbridge
Hi All, I have a shapefile(s) and I want to read the features, generate some metrics about each feature and then add them to the that feature. I'm using python and one obvious way to to in effect create a new shapefile with the columns I need to add, then copy the existing shapefile to the ne

Re: [gdal-dev] Is it possible?

2015-06-09 Thread Graeme B. Bell
m: Peter Halls > To: "Ronquillo, Edgar Nahum" , gdal dev > > Subject: Re: [gdal-dev] Is it possible? > Message-ID: > > Content-Type: text/plain; charset=UTF-8 > > Why would you want to map a Shapefile into a Geotiff file? They are > two f

Re: [gdal-dev] Is it possible?

2015-06-08 Thread Ivan Lucena
Check gdal_rasterize [http://www.gdal.org/gdal_rasterize.html]. > From: david.m.ba...@chk.com > To: p.ha...@york.ac.uk; eronqui...@lanl.gov; gdal-dev@lists.osgeo.org > Date: Mon, 8 Jun 2015 14:59:45 + > Subject: Re: [gdal-dev] Is it possible? > > Peter, > > I ca

Re: [gdal-dev] Is it possible?

2015-06-08 Thread David Baker (Geoscience)
ration 405-935-3715 office 405-496-5373 cell david.m.ba...@chk.com -Original Message- From: gdal-dev-boun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Peter Halls Sent: Monday, June 08, 2015 9:30 AM To: Ronquillo, Edgar Nahum; gdal dev Subject: Re: [gdal-

Re: [gdal-dev] Is it possible?

2015-06-08 Thread Peter Halls
Why would you want to map a Shapefile into a Geotiff file? They are two fundamentally different types of spatial object. Shapefiles are exclusively vector in nature, whilst Geotiffs are exclusively raster. I suggest reading a text, such as Burrough and McDonnell, Principles of Geographical Inform

[gdal-dev] Is it possible?

2015-06-08 Thread Ronquillo, Edgar Nahum
Hello Gdal users, I have a question. I have been working here for quite a while on how to map a shapefile into a GeoTiff image. First of all, is this possible with Gdal? Right now I am able to map a shapefile using Basemap, which it isn't Gdal of course. However, I would like to map this same sh

Re: [gdal-dev] Is it possible to build pdb files in Release ?

2013-05-14 Thread Mihaela Gaspar
Thank you, it's perfect. On Tue, May 14, 2013 at 12:41 PM, David Strip wrote: > The pdb file is generated by the /Zi flag. Add that to the list of flags > in your release build. > > > On 5/14/2013 10:55 AM, Mihaela Gaspar wrote: > > I built GDAL in both Debug and Release. > > The default behav

Re: [gdal-dev] Is it possible to build pdb files in Release ?

2013-05-14 Thread David Strip
The pdb file is generated by the /Zi flag. Add that to the list of flags in your release build. On 5/14/2013 10:55 AM, Mihaela Gaspar wrote: I built GDAL in both Debug and Release. The default behavior is to create .pdb files in Debug, but not

[gdal-dev] Is it possible to build pdb files in Release ?

2013-05-14 Thread Mihaela Gaspar
I built GDAL in both Debug and Release. The default behavior is to create .pdb files in Debug, but not in Release. I would like to get a pdb file in Release build as well, is it possible ? The only lines I see that have to do with pdb, are: !IFNDEF DEBUG OPTFLAGS= $(CXX_ANALYZE_FLAGS) /nologo /

Re: [gdal-dev] Is it possible to ehance input channels separately with gdal_translate ?

2012-10-26 Thread Even Rouault
> QUESTION: > > Is there a way to enhance my input channels separately in a single > gdal_translate call, or do I need > to make multiple passes? Multiple passes. But you could also generate a VRT with a different rescaling for each channel, and translate it into the target dataset. > > Than

[gdal-dev] Is it possible to ehance input channels separately with gdal_translate ?

2012-10-26 Thread Peter Willis
Hello, I have some input data where the dynamic range and offset of each channel are distinct. This means that applying the same linear enhancement based on data range to my selected RGB output bands will not produce an optimal visual enhancement. -scale smin smax dmin dmax only provides the s

Re: [gdal-dev] Is it possible to modify netCDF driver so that it behaves like geotiff driver when operating on multiple datasets netcdf file

2012-03-08 Thread Hendy Sumanto
> I suggest you have a look at the recent netcdf driver in trunk, I have > implemented proper handling of multidimension netcdf variables > (T,Z,Y,X). This might be able to resolve your problem - providing you > are able to create a netcdf file with multiple dimensions as this is > not done by the

Re: [gdal-dev] Is it possible to modify netCDF driver so that it behaves like geotiff driver when operating on multiple datasets netcdf file

2012-03-08 Thread Etienne Tourigny
Hendy, I suggest you have a look at the recent netcdf driver in trunk, I have implemented proper handling of multidimension netcdf variables (T,Z,Y,X). This might be able to resolve your problem - providing you are able to create a netcdf file with multiple dimensions as this is not done by the dr

[gdal-dev] Is it possible to modify netCDF driver so that it behaves like geotiff driver when operating on multiple datasets netcdf file

2012-03-07 Thread Hendy Sumanto
Hi Devs, I have a geotiff file which contains several datasets, with this I just need to perform one gdalwarp operation on this geotiff file to apply transformation on 6 datasets inside it and the operation produces just one geotiff output file. If I translate this geotiff file into netcdf file

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

2011-06-21 Thread Frank Warmerdam
On 11-06-21 01:46 AM, Nuo Tang wrote: 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, ther

[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

Re: [gdal-dev] Is it possible to test if GDAL has been built with GEOS in a python script

2011-03-08 Thread Even Rouault
Le mardi 08 mars 2011 22:03:41, Dan Putler a écrit : > Hi all, > > As the message heading indicates, I am hoping to run a check within a > python script to determine if GDAL on a machine has been built with GEOS > support, and exit if it hasn't. Looking at inspect.getmembers( gdal ) > suggests tha

[gdal-dev] Is it possible to test if GDAL has been built with GEOS in a python script

2011-03-08 Thread Dan Putler
Hi all, As the message heading indicates, I am hoping to run a check within a python script to determine if GDAL on a machine has been built with GEOS support, and exit if it hasn't. Looking at inspect.getmembers( gdal ) suggests that I'm out of luck, but I wanted to confirm this. Dan __

[gdal-dev] Is it possible to convert shapefile from PointZ to Point?

2010-10-12 Thread Stephen Woodbridge
Hi all, Is it possible to convert shapefile from type PointZ to Point using ogr2ogr? and how? I can't use shp2pgsql to load the file because it is attempting to free an invalid pointer for some reason (which I will report to that list). The file has already be reprojected using ogr2ogr and w

[gdal-dev] is it possible to set particular colors to the pixels of an image

2010-07-14 Thread mail2vajram
I have an image(LULC classified) which is composed of 1,2,3,4,5,6,7,8 pixel values. when i open the proper image in ArcMap or Mapwindow it displays the image in some colors(here in eight colors). Is it possible to set the colors manually for each pixel. Help me... I required it -- View this mes

[gdal-dev] Is it possible to perform a warp operation on an MEM dataset?

2009-07-14 Thread Adeel Raza
Hi, Is it possible to perform a warp operation on an MEM dataset? And if it is possible should I just follow the guidelines suggested in the Warp API tutorial on the GDAL website? The reason why I want to do this is because recently I have discovered that Read/Write operations to an MEM datas

RE: [gdal-dev] Is it possible to Buffer using ogr2ogr?

2009-04-22 Thread Pinner, Luke
oun...@lists.osgeo.org [mailto:gdal-dev-boun...@lists.osgeo.org] On Behalf Of Abhay Sent: Thursday, 23 April 2009 1:32 PM To: Roger André Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Is it possible to Buffer using ogr2ogr? --- On Thu, 4/23/09, Roger André wrote:

Re: [gdal-dev] Is it possible to Buffer using ogr2ogr?

2009-04-22 Thread Abhay
r export to shapefile. >> >> Or if you are repeatedly doing this, create a view in PostGIS with the >> buffer, & select this with GDAL, whichever suits.... >> >> Brent Wood >> >> >> >> --- On Thu, 4/23/09, Roger André wrote: >> >

Re: [gdal-dev] Is it possible to Buffer using ogr2ogr?

2009-04-22 Thread Roger André
whichever suits > > Brent Wood > > > > --- On Thu, 4/23/09, Roger André wrote: > > > From: Roger André > > Subject: [gdal-dev] Is it possible to Buffer using ogr2ogr? > > To: "gdal-dev" > > Date: Thursday, April 23, 2009, 4:59 AM &g

Re: [gdal-dev] Is it possible to Buffer using ogr2ogr?

2009-04-22 Thread pcreso
DAL, whichever suits Brent Wood --- On Thu, 4/23/09, Roger André wrote: > From: Roger André > Subject: [gdal-dev] Is it possible to Buffer using ogr2ogr? > To: "gdal-dev" > Date: Thursday, April 23, 2009, 4:59 AM > Hi All, > > I'm trying to port s

[gdal-dev] Is it possible to Buffer using ogr2ogr?

2009-04-22 Thread Roger André
Hi All, I'm trying to port some of my existing PostGIS based workflow to ogr utilities and shapefiles. Is it possible to buffer a feature that I've selected via the ogr2ogr "-where" clause? I'd like end up with a single, buffered feature in a stand-alone shapefile when I'm done. Thanks, Roger

Re: [gdal-dev] Is it possible to change block size of a VRT file ?

2009-01-29 Thread Even Rouault
Hi Guillaume, This is a good point and I've also experienced suboptimal performance because of this. The answer is : no, you can't change the block size of a VRTSourcedRasterBand in a VRTDataset. But this can be currently done for a VRTWarpedDataset. Clearly for a scanline oriented underlying

[gdal-dev] Is it possible to change block size of a VRT file ?

2009-01-29 Thread guillaume huby
Hi everyone, I'm using GDAL 1.6.0. I observed that by default, VRT Block size is 128x128, whatever the inputs datas block size is. Is it possible to change block size of a VRT file ? And how ? For exemple, if my VRT file is made of 2 tif files that have a block size of 1000x1. The VRT file have a

Re: [gdal-dev] Is it possible to "hide" some ERROR messages?

2008-10-24 Thread Daniele Romagnoli
Hi Tom, Vincent, I'm using GDAL via Java by means of the SWIG bindings. The error message automatically appears on the console when I call the gdal.Open(name, accessType) method and GDAL is unable to open the dataset. Anyway, I have just taken a look on the thread suggested by Vincent and now I can

Re: [gdal-dev] Is it possible to "hide" some ERROR messages?

2008-10-24 Thread Vincent Schut
Daniele, this thread should give you some hints: http://lists.osgeo.org/pipermail/gdal-dev/2003-March/000323.html Regards, Vincent. Tom Kazimiers wrote: Hi Daniele, were to you get those error message? Since GDAL is a library it shouldn't come up with thing like this - at least not errors w

Re: [gdal-dev] Is it possible to "hide" some ERROR messages?

2008-10-24 Thread Tom Kazimiers
Hi Daniele, were to you get those error message? Since GDAL is a library it shouldn't come up with thing like this - at least not errors which are shown to the user automatically (like message boxes or std::out prints (I guess). So if your application gets no dataset for a file it will get NULL r

[gdal-dev] Is it possible to "hide" some ERROR messages?

2008-10-24 Thread Daniele Romagnoli
Hi list, Is it somehow possible to customize/hide some GDAL error messages? I know error messages are really useful to fix/understand problems. Anyway, let me expose my use case: I simply need to check if I can obtain a Dataset for a file and return a boolean. If I get a Dataset, great! Otherwise.