[gdal-dev] vinod bholla wants to chat

2010-03-03 Thread vinod bholla
--- vinod bholla wants to stay in better touch using some of Google's coolest new products. If you already have Gmail or Google Talk, visit: http://mail.google.com/mail/b-455a70fe1d-e51478d95e-49786f79528d309f You'll need to clic

Re: [gdal-dev] transformation from WGS84 to Sphere

2010-03-03 Thread Jean-Claude REPETTO
agnes123 a écrit : i am trying to projection a shapefile from geodatic projection in WGS84 datum to geodatic projection in sphere datum by using the utility "ogr2ogr ". I defined the original projection as: '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' and the target projection as : '+pro

[gdal-dev] Copy / manipulate TIFF-header

2010-03-03 Thread Sigbjorn Herstad
Hi, This is my first post here, but have followed the list for several years. I am trying to find a good way to edit a GeoTIFF-header. I have looked at the Python-script and listgeo and geotifcp mentioned here: http://lists.osgeo.org/pipermail/gdal-dev/2008-April/016752.html Using the Python-scri

[gdal-dev] transformation from WGS84 to Sphere

2010-03-03 Thread agnes123
Dear all, i am trying to projection a shapefile from geodatic projection in WGS84 datum to geodatic projection in sphere datum by using the utility "ogr2ogr ". I defined the original projection as: '+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs' and the target projection as : '+proj=longlat

Re: [gdal-dev] Re: C GDAL beginner

2010-03-03 Thread Frank Warmerdam
deadpickle wrote: Thanks for the replies. Just as a note, the warnings are caused by the variable being a const. Omitting the const solved it. I'm not sure if this is a C program or a GDAL thing, thats why I'm not sure where to post this at, but I get a segfault. I know segfaults are generally ca

Re: [gdal-dev] Re: C GDAL beginner

2010-03-03 Thread brian
I accedently replied off list so I will send it again with a couple of additions. deadpickle One of c's drawbacks is its not safe unless you do it right, pointers are very good at letting you access memory you don't own. To hunt down such problems you can run your app under the valgrind utility o

[gdal-dev] Re: C GDAL beginner

2010-03-03 Thread deadpickle
Thanks for the replies. Just as a note, the warnings are caused by the variable being a const. Omitting the const solved it. I'm not sure if this is a C program or a GDAL thing, thats why I'm not sure where to post this at, but I get a segfault. I know segfaults are generally caused by ordinary, an

Re: [gdal-dev] Driver pointer NULL

2010-03-03 Thread Even Rouault
Would you mind reading the "OGR C++ API Read/Write Tutorial" available on http://gdal.org/ogr/ogr_apitut.html ? The answer is in the first code snippet ;-) Le Wednesday 03 March 2010 21:43:49 deadpickle, vous avez écrit : > I have finally compiled my C program and tried running it for the > firs

Re: [gdal-dev] Driver pointer NULL

2010-03-03 Thread Frank Warmerdam
deadpickle wrote: I have finally compiled my C program and tried running it for the first time. When I ran the file I got the error: [t...@updraft ~/Programs]$ ./gdal_test_convert ERROR 10: Pointer 'hDriver' is NULL in 'OGR_Dr_CreateDataSource'. I'm trying to load the ESRI Shapefile driver. When

[gdal-dev] Driver pointer NULL

2010-03-03 Thread deadpickle
I have finally compiled my C program and tried running it for the first time. When I ran the file I got the error: [t...@updraft ~/Programs]$ ./gdal_test_convert ERROR 10: Pointer 'hDriver' is NULL in 'OGR_Dr_CreateDataSource'. I'm trying to load the ESRI Shapefile driver. When I compiled it I link

Re: [gdal-dev] OGR to Mysql problems

2010-03-03 Thread Even Rouault
Pablo, This could happen if you pass to CreateFeature() features that have the same id set by OGRFeature::SetFID() as being 1... Check with OGRFeature::GetFID() what you pass to CreateFeature(). Best regards, Even Le Wednesday 03 March 2010 21:00:47 Pablo Carreira, vous avez écrit : > Hi, I'

[gdal-dev] OGR to Mysql problems

2010-03-03 Thread Pablo Carreira
Hi, I'am trying to export some vectors to Mysql but I got the following problem: ERROR 1: MySQL error message:Duplicate entry '1' for key 'OGR_FID' For every vector it try to use the same OGR_FID and at the end It exports only the first vector becouse the other has duplicated FID. Any help?

[gdal-dev] Re: Compile error with --with-python

2010-03-03 Thread ChiefDan
Another odd thing I see is if I "make" a second time without making any changes, I don't get any errors. It basically runs through all the directories, when it gets to the swig area I see " `build' is up to date." Dan -- View this message in context: http://n2.nabble.com/Compile-error-with-with

[gdal-dev] Compile error with --with-python

2010-03-03 Thread ChiefDan
I am seeing a very odd build error that seems to be happening in the swig/python area. For some reason on a "-L" options the directory name is getting spaces between every character: compile options: '-I../../port -I../../gcore -I../../alg -I../../ogr/ -I/usr/include/python2.5 -I/usr/lib/python2.

Re: [gdal-dev] Problems with gdalwarp re-projecting from lat-long to Lambert Conformal

2010-03-03 Thread Kyle Shannon
Yes, that is correct, that was a cut and paste mistake. You should not need either -s_srs or -t_srs. kss -Kyle On Wed, Mar 3, 2010 at 9:44 AM, Bill Hudspeth wrote: > Thanks for the input Kyle. Just a quick question. In the second > operation using gdal_translate, you indicate an -s_srs of EPS

RE: [gdal-dev] Proposal to split this list into gdal-dev and gdal-users

2010-03-03 Thread Gregory, Matthew
Russell McOrmand wrote: >As a user I appreciate the heads-up of the developer > conversations and the who-is-who of the administrative > conversations. If the list were split into 3 I would try to > subscribe to all 3. As an avid lurker, I'd echo this sentiment. Much of the listserve traf

Re: [gdal-dev] Problems with gdalwarp re-projecting from lat-long to Lambert Conformal

2010-03-03 Thread Bill Hudspeth
Thanks for the input Kyle. Just a quick question. In the second operation using gdal_translate, you indicate an -s_srs of EPSG:4326 for the *.vrt file. Wasn't the vrt file written in the Lambert projection in the first step? And if so, the second step could probably be done without having to specif

Re: [gdal-dev] using encrypted data

2010-03-03 Thread Russell McOrmond
On Wed, 3 Mar 2010, Yilmaz Arslanoglu wrote: Hi all; One of our customer wants to share their data which is in ESRI Shapefile format. However, they also would like to limit the usage of this data such that the contents will be utilized only through our software, and not for any other purpos

Re: [gdal-dev] using encrypted data

2010-03-03 Thread Russell McOrmond
On Wed, 3 Mar 2010, Yilmaz Arslanoglu wrote: Hi Russell; Yes, you are right, actually we are also considering the option that you have mentioned. Because even the best technical option will be hackable in theory, anyway... The theory is pretty simple: In order to make the data useful you

Re: [gdal-dev] using encrypted data

2010-03-03 Thread Yilmaz Arslanoglu
Hi Russell; Yes, you are right, actually we are also considering the option that you have mentioned. Because even the best technical option will be hackable in theory, anyway... On Wed, Mar 3, 2010 at 4:55 PM, Russell McOrmond wrote: > > On Wed, 3 Mar 2010, Yilmaz Arslanoglu wrote: > >> Hi all;

Re: [gdal-dev] using encrypted data

2010-03-03 Thread Yilmaz Arslanoglu
Thank you very much for pointing to the sources, Frank! Let me have a look at them, then... On Wed, Mar 3, 2010 at 3:53 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Hi all; >> >> One of our customer wants to share their data which is in ESRI Shapefile >> format. >> However, they al

Re: [gdal-dev] Proposal to split this list into gdal-dev and gdal-users

2010-03-03 Thread Russell McOrmond
On Wed, 3 Mar 2010, Frank Warmerdam wrote: I have a few concerns with starting a gdal-users. As a user I appreciate the heads-up of the developer conversations and the who-is-who of the administrative conversations. If the list were split into 3 I would try to subscribe to all 3. I'v

Re: [gdal-dev] Proposal to split this list into gdal-dev and gdal-users

2010-03-03 Thread Frank Warmerdam
Ari Jolma wrote: Folks, gdal-dev has grown to more than 10 mails per day. There are a lot of mails about using gdal (often programming questions but still just using gdal through one of the APIs). I propose to split this list into gdal-dev (for mails that relate to development of and bugs in gda

Re: [gdal-dev] using encrypted data

2010-03-03 Thread Frank Warmerdam
Yilmaz Arslanoglu wrote: Hi all; One of our customer wants to share their data which is in ESRI Shapefile format. However, they also would like to limit the usage of this data such that the contents will be utilized only through our software, and not for any other purposes. Does anybody have a

Re: [gdal-dev] Proposal to split this list into gdal-dev and gdal-users

2010-03-03 Thread Ari Jolma
Howard Butler wrote: On Mar 3, 2010, at 12:40 AM, Ari Jolma wrote: Folks, gdal-dev has grown to more than 10 mails per day. There are a lot of mails about using gdal (often programming questions but still just using gdal through one of the APIs). I propose to split this list into gdal-dev (

Re: [gdal-dev] Proposal to split this list into gdal-dev and gdal-users

2010-03-03 Thread Howard Butler
On Mar 3, 2010, at 12:40 AM, Ari Jolma wrote: > Folks, > > gdal-dev has grown to more than 10 mails per day. There are a lot of > mails about using gdal (often programming questions but still just using > gdal through one of the APIs). I propose to split this list into > gdal-dev (for mails that

Re: [gdal-dev] Re: C GDAL beginner

2010-03-03 Thread Mateusz Loskot
You need to buy a book about C/C++ or ask on comp.lang.c or comp.lang.c++ Best regards, - -- Mateusz Loskot http://mateusz.loskot.net -- View this message in context: http://n2.nabble.com/gdal-dev-C-GDAL-beginner-tp4665330p4666854.html Sent from the GDAL - Dev mailing list archive at Nabb

[gdal-dev] using encrypted data

2010-03-03 Thread Yilmaz Arslanoglu
Hi all; One of our customer wants to share their data which is in ESRI Shapefile format. However, they also would like to limit the usage of this data such that the contents will be utilized only through our software, and not for any other purposes. Does anybody have a suggestion about how this c