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: >

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

[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

Re: [gdal-dev] GDALFillNodata link error

2009-11-25 Thread Yilmaz Arslanoglu
Thank you very much for the answers, Frank. Defining CPL_OPTIONAL_APIS did actually exactly what I want, thanks again... On Mon, Nov 23, 2009 at 7:05 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Hi all; >> >> In version 1.6.2 and 1.6.3, the usage of the

[gdal-dev] GDALFillNodata link error

2009-11-23 Thread Yilmaz Arslanoglu
Hi all; In version 1.6.2 and 1.6.3, the usage of the function "GDALFillNodata" gives a linker error, since "rasterfill.obj" is not listed under OBJ in "Makefile.vc" under "gdal\alg". However, it is listed in the current development version ( 1.7 ) Does this mean that the function GDALFillNodata i

[gdal-dev] GDAL with MFC

2009-10-26 Thread Yilmaz Arslanoglu
Hi all; Using the GDAL/OGR library, I made a module which extracts the depth points from the sounding and contour layers of an ENC file. Everything works perfect if this module is used in a non-MFC project (btw, projects are compiled with VS 2008) However, when the module is moved to an MFC-based

Re: [gdal-dev] opening an S-57 dataset directory

2009-10-19 Thread Yilmaz Arslanoglu
s that are found, in order to check their coverages. Is there a way to check the file coverage without loading the file? (since I'm dealing with around a hunred of them, this operation takes minutes) On Sun, Oct 18, 2009 at 4:49 AM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: &g

[gdal-dev] opening an S-57 dataset directory

2009-10-17 Thread Yilmaz Arslanoglu
Hello everybody; I was just wondering whether there is a specific directory structure that needs to be followed in order to open an S-57 file collection by giving a single directory path, instead of a file with a .000 extension. I'm asking because, according to the following statement from OGR IH

[gdal-dev] efficient querying of land and depth areas

2009-10-13 Thread Yilmaz Arslanoglu
Hello everybody; I am using the OGR library to extract depth and land areas from an ENC file (S-57 format). What I want to do is to query whether a given point is on land or is on a depth area. For this purpose, I have to call OGRGeometry::Intersects or OGRGeometry::Contains functions for every p

[gdal-dev] different result of ogrinfo between GDAL/OGR and FWTools

2009-10-11 Thread Yilmaz Arslanoglu
Hi Randy; Did you check that you set the GDAL_DATA configuration correctly? If it is the case, then here is the previous answer from Frank: "This might be accomplished by setting the GDAL_DATA configuration variable either via the environment or the CPLSetConfigOption() function.  Were you using

[gdal-dev] Re: randyqi...@hotmail.com

2009-10-11 Thread Yilmaz Arslanoglu
I'm very sorry, I made a wrong copy-paste in the subject field I think :) On Sun, Oct 11, 2009 at 3:53 PM, Yilmaz Arslanoglu wrote: > Hi Randy; > > Did you check that you set the GDAL_DATA configuration correctly? > > If it is the case, then here is the previous answer f

[gdal-dev] randyqi...@hotmail.com

2009-10-11 Thread Yilmaz Arslanoglu
Hi Randy; Did you check that you set the GDAL_DATA configuration correctly? If it is the case, then here is the previous answer from Frank: "This might be accomplished by setting the GDAL_DATA configuration variable either via the environment or the CPLSetConfigOption() function. Were you using

[gdal-dev] Re: compiling GDAL with GEOS on Windows

2009-10-03 Thread Yilmaz Arslanoglu
Yes Chris, the first one ( "triangle" ) has licensing problems, and "natgrid" only comes with the NCL. I downloaded NCL source, but it says that it can only be compiled for Unix environment. Actually, Dave F. Watson's original code (which natgrid is actually based upon) seems to do what I need, bu

Re: [gdal-dev] compiling GDAL with GEOS on Windows

2009-10-02 Thread Yilmaz Arslanoglu
se the Cygwin interface on Windows and the gcc compilers: I cannot comment > on building CIM in Visual Studio.  However, should you wish, I would be > willing to supply you with my source. > > Best wishes, > > Peter > > Yilmaz Arslanoglu wrote: >> >> Hi; >

Re: [gdal-dev] compiling GDAL with GEOS on Windows

2009-10-02 Thread Yilmaz Arslanoglu
spbhasker bachi wrote: > hi. > which version of vc++ are you using.. > coz if u are using vc++ 6.0 you need to make some changes in some codes. > also do study the nmake.opt file & check i all the paths are set properly. > hope this helps.. > bhasker > > On Thu, Oct

Re: [gdal-dev] compiling GDAL with GEOS on Windows

2009-10-01 Thread Yilmaz Arslanoglu
lygon features. (or shouldn't this happen at all?) On Thu, Oct 1, 2009 at 7:00 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Hi; >> >> I am trying to build and install the GDAL library on Windows XP >> using the following commands: >> >>

[gdal-dev] compiling GDAL with GEOS on Windows

2009-10-01 Thread Yilmaz Arslanoglu
Hi; I am trying to build and install the GDAL library on Windows XP using the following commands: nmake /f makefile.vc nmake /f makefile.vc install nmake /f makefile.vc devinstall In order to build with GEOS support, I uncommented the lines in the "nmake.opt" as follows: GEOS_DIR=C:\ge

Re: [gdal-dev] sounding point handling by OGR library

2009-09-29 Thread Yilmaz Arslanoglu
Thank you very much Frank for the quick and clear answers. Best wishes, Yilmaz On Tue, Sep 29, 2009 at 6:20 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Hi; >> >> I had some questions regarding the additional feature of sounding >> point handling

[gdal-dev] sounding point handling by OGR library

2009-09-29 Thread Yilmaz Arslanoglu
Hi; I had some questions regarding the additional feature of sounding point handling by the OGR library. I know that we need to turn on the options SPLIT_MULTIPOINT and ADD_SOUNDG_DEPTH options on. 1) Is there a way to turn them individually on without affecting the other suboptions in OGR_S57_O

[gdal-dev] Re: OGRGeometry Distance

2009-09-24 Thread Yilmaz Arslanoglu
>>you need to be clear by what you mean here: I suspect you mean: >> >>"The shortest distance between two points following the surface of the >>earth" Yes Chris, you are right. Actually my purpose is to make a bathymetric prediction of a given position, with the help of the contours and sounding p

Re: [gdal-dev] OGRGeometry Distance

2009-09-22 Thread Yilmaz Arslanoglu
Thanks very much for the answer, Frank. Best wishes, Yilmaz On Mon, Sep 21, 2009 at 10:12 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Also, as another related question, I query the DEPCNT  layer in one of >> my ENC files, and it has a geospatial reference. &

Re: [gdal-dev] OGRGeometry Distance

2009-09-22 Thread Yilmaz Arslanoglu
u don't need much accuracy : > http://trac.osgeo.org/gdal/browser/trunk/gdal/ogr/ogrsf_frmts/xplane/ogr_xplane_geo_utils.cpp > > (It's an internal function to OGR, so you'd have to copy&paste it in your > code, > or add a CPL_DLL decoration in the correspondin

[gdal-dev] OGRGeometry Distance

2009-09-21 Thread Yilmaz Arslanoglu
Hi all; I wanted to compute the distance between two points, and for this reason I tried the "OGRGeometry::Distance" member function. However, I saw that this function only returns the linear distance between the objects, regardless of their geospatial reference. (as it is also stated somewhere o

Re: [gdal-dev] simple listing of layers by OGR

2009-09-18 Thread Yilmaz Arslanoglu
e compiler version to 1500 (stating that I'm using Visual Studio 2008) Ok, let me apply the changes that you proposed. Best regards, Yilmaz On Thu, Sep 17, 2009 at 10:16 PM, Frank Warmerdam wrote: > Yilmaz Arslanoglu wrote: >> >> Hello everybody; >> >> First of all,

[gdal-dev] simple listing of layers by OGR

2009-09-17 Thread Yilmaz Arslanoglu
Hello everybody; First of all, I would like to say that I am quite new in S-57 format and GDAL/OGR libraries. As a starting point, I downloaded the source codes and built the whole GDAL library on my computer, using the "nmake" of Visual Studio 2008. Now: poDS = OGRSFDriverRegistrar::Open( "US5

[gdal-dev] simple listing of layers by OGR

2009-09-17 Thread Yilmaz Arslanoglu
Hello everybody; First of all, I would like to say that I am quite new in S-57 format and GDAL/OGR libraries. As a starting point, I downloaded the source codes and built the whole GDAL library on my computer, using the "nmake" of Visual Studio 2008. Now: poDS = OGRSFDriverRegistrar::Open( "US5