Thanks Dmitry,
Please see attached files for screenshots.
Here is the code of the main.cpp (the project only includes this file):
#include
#include "ogrsf_frmts.h"
using namespace std;
int main()
{
OGRRegisterAll();
OGRDataSource *poDS;
poDS = OGRSFDriverRegistr
Folks,
I'm trying to update GDAL's copy of json-c library.
The task is not trivial, due to the fact GDAL has applied
some sort of improvements to json-c, and also due to
significant changes to how json-c works, UTF-8 support, etc.
I tried to merge GDAL changes into Git branch at
https://github.co
Tom Roche Thu, Jul 12, 2012 at 9:41 AM
>> how to fix the /usr/local/lib/python2.x/dist-packages/osgeo fails?
Kludging a makefile (see
https://alioth.debian.org/tracker/index.php?func=detail&aid=313720&group_id=30241&atid=410558
) "fixes" that problem ... but exposes another problem with buildin
On 13 July 2012 12:07, laurent celati wrote:
>
> I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from
> source using Gdal SVN version. I'm working on Windows 7 64bits.
>
> I am not in the habit of compiling software
Then why for goodness would you want to do that.
End users
Even,
I opened a ticket in GDAL Trac: http://trac.osgeo.org/gdal/ticket/4749.
Thank you,
Pierluigi
Il 13/07/2012 12.14, Even Rouault ha scritto:
Selon Pierluigi Guasqui :
Hello,
I am experiencing a big memory allocation (with no subsequent memory
release) when using SQL queries with shapef
Provided you can convert the format to netcdf, you could use a tool
like cdo which does exactly what you want
"CDO is a collection of command line Operators to manipulate and
analyse Climate and NWP model Data."
https://code.zmaw.de/projects/cdo/
gdal supports netcdf output, you might have to do
Selon Knut-Frode Dagestad :
> Hi,
>
> From a time series of colocated images, I construct a VRT with one band
> for each time step using gdalbuildvrt:
>
> > gdalbuildvrt -separate mtsat.vrt mtsat/*_IR*00.tif
>
> Are there any tools that can be used to calculate some statistics (min,
> max, mean,
Hi,
From a time series of colocated images, I construct a VRT with one band
for each time step using gdalbuildvrt:
> gdalbuildvrt -separate mtsat.vrt mtsat/*_IR*00.tif
Are there any tools that can be used to calculate some statistics (min,
max, mean, etc) versus time for each pixel of such a 3D
Thanks Even. Very good answer as always.
> ---Original Message---
> From: Even Rouault
> To: Ivan Lucena
> Cc: gdal-dev@lists.osgeo.org
> Subject: Re: [gdal-dev] ogr2ogr and reserved words
> Sent: Jul 13 '12 08:41
>
> Hi Ivan,
>
> >
> > Is there any trick to avoid creating
On Fri, Jul 13, 2012 at 2:34 PM, Even Rouault
wrote:
>
>
> But I don't think you need to do any scripting. You could use "gdaltindex
> an_index.shp *.tif" ( http://gdal.org/gdaltindex.html ) to create an
> index of
> all the files, and then with "ogrinfo an_index.shp -spat xmin ymin xmax
> ymax",
But if you do want to build on Windows you can take a look on that wiki pages
http://trac.osgeo.org/gdal/wiki/BuildingOnWindows
http://trac.osgeo.org/gdal/wiki/MakeFileProjects
Setting up VS Express edition to build 64bit is a little trick though.
> ---Original Message---
> From: Jean
Hi Ivan,
>
> Is there any trick to avoid creating field names with reserved words? For
> example, a DBF from a shapefile can have field names like "long" and other
> formats may not like it.
It is up to the output driver to do whatever sanitizing it requires. This is
already done in a lot of driv
Hi there,
Is there any trick to avoid creating field names with reserved words? For
example, a DBF from a shapefile can have field names like "long" and other
formats may not like it.
Regards,
Ivan
___
gdal-dev mailing list
gdal-dev@lists.osgeo.org
h
On 07/13/2012 01:07 PM, laurent celati wrote:
> Hello,
>
> I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from
> source using Gdal SVN version. I'm working on Windows 7 64bits.
>
> I am not in the habit of compiling software
>
> I did not used to compile software. Can you
Selon Margherita Di Leo :
> Hi,
>
> I have more than 22000 GeoTiff's stored in a folder (the world coverage of
> ASTER GDEM) and I have to select among them only those covering the Europe
> area, in order to import them in GRASS. I was about to write a Python
> script to do that (using gdalinfo),
Hi,
I have more than 22000 GeoTiff's stored in a folder (the world coverage of
ASTER GDEM) and I have to select among them only those covering the Europe
area, in order to import them in GRASS. I was about to write a Python
script to do that (using gdalinfo), but I felt like reinventing the wheel,
We use makegdal_gen.bat to create the Vis. Studio project and solution
files.
We still need to make the required changes in the nmake.opt file but we
don't need to use the command line window.
It's just a matter of preferences what to use. Both options will result in
the same.
Regards,
Paul
20
Hi,
To build GDAL it's easy. Visual Studio have to be installed in the system.
You download the source code. The easiest way to do that is to download it
from http://trac.osgeo.org/gdal/wiki/DownloadSource. (Or if you have SVN
you can just do a checkout from https://svn.osgeo.org/gdal/trunk/gdal.
Il 13/07/2012 12.14, Even Rouault ha scritto:
Selon Pierluigi Guasqui :
Hello,
I am experiencing a big memory allocation (with no subsequent memory
release) when using SQL queries with shapefiles. This is a sample code
that triggers this problem:
OGRRegisterAll();
// opening shap
Hello,
I would like compile gdal 1.9.1 from GDAL'S SVN then compile Qgis 1.8 from
source using Gdal SVN version. I'm working on Windows 7 64bits.
I am not in the habit of compiling software
I did not used to compile software. Can you tell me how to do please?
--
View this message in context:
13.07.2012 14:18, taibc ?:
Hi Dmitry,
After modifying as you said, I got many errors like below:
error LNK2019: unresolved external symbol _CSLPartialFindString
referenced in function "public: int __thiscall
CPLStringList::PartialFindString(char const *)const "
(?PartialFindString@CPLStr
Ticket created
http://trac.osgeo.org/gdal/ticket/4748
Mike
On 7/13/12 6:30 AM, "Smith, Michael ERDC-CRREL-NH"
wrote:
>EvenR,
>
>This is GDAL trunk.
>
>I will check with --debug on.
>
>Mike
>
>
>
>On 7/13/12 6:19 AM, "Even Rouault" wrote:
>
>>Selon "Smith, Michael ERDC-CRREL-NH" :
>>
>>Mic
On 13 Jul 2012 10:55, "taibc" wrote:
>
> Although, I added 'gdal_i.lib' in Properties (Linker ->Input->Additional
Dependencies) and this file in Debug folder, but I got an other errror:
>
> error LNK1104: cannot open file 'gdal_i.lib'
>
> Do you know how to fix it ?
Read MSDN to learn about confi
EvenR,
This is GDAL trunk.
I will check with --debug on.
Mike
On 7/13/12 6:19 AM, "Even Rouault" wrote:
>Selon "Smith, Michael ERDC-CRREL-NH" :
>
>Michael,
>
>Do you use GDAL trunk, or 1.9.X ? It might be possible that fixes for
>subtle
>bugs could have pushed in trunk, but I'm not 100% pos
On Fri, 13 Jul 2012 12:01:21 +0200, Even Rouault wrote:
> > I could certainly do that, but with the '+wktext' mechanism, there
> > is no reason to add this patch anymore, is there?
>
> Your patch is a cleaner solution than the +wktext mechanism, which
> remains something a bit hacky (although I mu
Selon "Smith, Michael ERDC-CRREL-NH" :
Michael,
Do you use GDAL trunk, or 1.9.X ? It might be possible that fixes for subtle
bugs could have pushed in trunk, but I'm not 100% positive that it is the case.
Did you try to turn "--debug on" to see if interesting messages appear ?
If the problem re
Hi Dmitry,
After modifying as you said, I got many errors like below:
error LNK2019: unresolved external symbol _CSLPartialFindString referenced in
function "public: int __thiscall CPLStringList::PartialFindString(char const
*)const " (?PartialFindString@CPLStringList@@QBEHPBD@Z)
Thanks a
Selon Pierluigi Guasqui :
> Hello,
>
> I am experiencing a big memory allocation (with no subsequent memory
> release) when using SQL queries with shapefiles. This is a sample code
> that triggers this problem:
>
> OGRRegisterAll();
>
> // opening shapefile data source
> const char
13.07.2012 13:55, taibc ?:
Hi,
Although, I added 'gdal_i.lib' in Properties (Linker
->Input->Additional Dependencies) and this file in Debug folder, but I
got an other errror:
error LNK1104: cannot open file 'gdal_i.lib'
Do you know how to fix it ?
Thanks and regards,
Tai
__
> I could certainly do that, but with the '+wktext' mechanism, there is
> no reason to add this patch anymore, is there?
Your patch is a cleaner solution than the +wktext mechanism, which remains
something a bit hacky (although I must admit I had never heard before of that
QSC projection ! and it
Hi,
Although, I added 'gdal_i.lib' in Properties (Linker ->Input->Additional
Dependencies) and this file in Debug folder, but I got an other errror:
error LNK1104: cannot open file 'gdal_i.lib'
Do you know how to fix it ?
Thanks and regards,
Tai
On Fri, 13 Jul 2012 11:22:13 +0200, Even Rouault wrote:
> > I have added a new projection to PROJ4 (ticket #179), and would like
> > to use it with GDAL Warp.
> >
> > For this purpose, I use the string
> > "+proj=qsc +a=6378137.0 +b=6356752.314245 +lat_0=90 +lon_0=0
> > +units=m" as an argument to
Selon Martin Lambers :
> Hello everyone,
>
> I have a question about the GDAL Warp API and the gdalwarp utility.
>
> I have added a new projection to PROJ4 (ticket #179), and would like
> to use it with GDAL Warp.
>
> For this purpose, I use the string
> "+proj=qsc +a=6378137.0 +b=6356752.314245 +
Hello everyone,
I have a question about the GDAL Warp API and the gdalwarp utility.
I have added a new projection to PROJ4 (ticket #179), and would like
to use it with GDAL Warp.
For this purpose, I use the string
"+proj=qsc +a=6378137.0 +b=6356752.314245 +lat_0=90 +lon_0=0 +units=m"
as an argum
> So in the end my question is this: how can I tell from the projection
> string metadata that I get from a GDAL Dataset object (Java) if it is
> EPSG:4326.
You can try the AutoIdentifyEPSG() method of the SpatialReference class. And
then check that GetAuthorityName() returns "EPSG" and GetAuthori
> 13.07.2012 11:18, taibc пишет:
>
> What are exported classes/methods ?
http://gdal.org/annotated.html
http://gdal.org/ogr/annotated.html
> I only created a file: main.cpp to show the word "Hello", and added Ogr files
> into my project, then built it.
>
> Please see the attached file.
>
> My id
Ok, thank you !
Kind regards,
Tai
From: Dmitry Baryshnikov [via OSGeo.org]
To: taibc
Sent: Friday, July 13, 2012 2:44 PM
Subject: Re: Error LNK1120: 314 unresolved externals - When using Ogr C++ class
on Visual Studio 2010
13.07.2012 11:18, taibc пише
13.07.2012 11:18, taibc ?:
Hi,
What are exported classes/methods ?
I only created a file: main.cpp to show the word "Hello", and added
Ogr files into my project, then built it.
Please see the attached file.
My idea is: I will create functions in the main.cpp file that use
methods of Ogr
Hi,
What are exported classes/methods ?
I only created a file: main.cpp to show the word "Hello", and added Ogr files
into my project, then built it.
Please see the attached file.
My idea is: I will create functions in the main.cpp file that use methods of
Ogr class to allow convert .dgn files
13.07.2012 10:56, taibc ?:
Thanks Dmitry,
I linked the file gdal_i.lib to the project (by editing 'Additional
Dependencies' in the area: Linker/Input). And still got similar errors
(but the number of errors were reduced) ?
Kind regards,
Tai
--
40 matches
Mail list logo