Re: 答复: Re: [gdal-dev] which function can fetch some supplementary(but necessary) information of geometry fr om s-57 file?

2009-09-11 Thread Chaitanya kumar CH
Randy, In s-57 the features are added to a layer named after the shortname of the feature's class. These short names can be translated to more meaningful names using the s-57 catalogues. Refer to http://gdal.org/ogr/drv_s57.html for more details. 2009/9/12 Randy : > Chaitanya kumar CH, >    Than

Re: [gdal-dev] Path problem with gdal2tiles on Mac

2009-09-11 Thread William Kyngesburye
On Sep 11, 2009, at 6:27 PM, Christopher Schmidt wrote: On Fri, Sep 11, 2009 at 03:57:11PM -0700, Mano Marks wrote: Using gdal2tiles on the mac, I get an ImportError for gdal: Traceback (most recent call last): File "/Library/Frameworks/GDAL.framework/Programs/gdal2tiles.py", line 42, in ?

答复: Re: [gdal-dev] which function can fetch some supplementary(but necessary) information of geometry from s-57 file?

2009-09-11 Thread Randy
Chaitanya kumar CH, Thanks a lot! Yes, I know I should get other informaion from OGRLayer、OGRFeature、etc. But can you tell me which functions can answer my two questions? -邮件原件- 发件人: Chaitanya kumar CH [mailto:chaitanya...@gmail.com] 发送时间: 2009年9月11日 23:40 收件人: Randy 抄送: GDAL/OGR m

Re: [gdal-dev] Path problem with gdal2tiles on Mac

2009-09-11 Thread Mano Marks
Turned out it was a wonky set-up of Python on my Mac. Thanks for your help! Mano Marks Geo Developer Advocate http://twitter.com/ManoMarks On Fri, Sep 11, 2009 at 5:47 PM, Mano Marks wrote: > I'm still getting the same error, unfortunately. > > Mano Marks > Geo Developer Advocate > http://twi

Re: [gdal-dev] Path problem with gdal2tiles on Mac

2009-09-11 Thread Mano Marks
I'm still getting the same error, unfortunately. Mano Marks Geo Developer Advocate http://twitter.com/ManoMarks On Fri, Sep 11, 2009 at 4:27 PM, Christopher Schmidt wrote: > On Fri, Sep 11, 2009 at 03:57:11PM -0700, Mano Marks wrote: >> Using gdal2tiles on the mac, I get an ImportError for gd

Re: [gdal-dev] Path problem with gdal2tiles on Mac

2009-09-11 Thread Christopher Schmidt
On Fri, Sep 11, 2009 at 03:57:11PM -0700, Mano Marks wrote: > Using gdal2tiles on the mac, I get an ImportError for gdal: > > Traceback (most recent call last): > File "/Library/Frameworks/GDAL.framework/Programs/gdal2tiles.py", > line 42, in ? > import gdal > ImportError: No module named gd

[gdal-dev] Path problem with gdal2tiles on Mac

2009-09-11 Thread Mano Marks
Using gdal2tiles on the mac, I get an ImportError for gdal: Traceback (most recent call last): File "/Library/Frameworks/GDAL.framework/Programs/gdal2tiles.py", line 42, in ? import gdal ImportError: No module named gdal Any suggestions? I tried mucking around with paths, no luck so far. I

[gdal-dev] Re: gdalwarp fills nulls?

2009-09-11 Thread Hermann Peifer
Selon Greg Coats : -wm is an option specific to gdalwarp. Here's detailed explanation : http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WarpandCacheMemory:TechnicalDetails Just to add that the default value is 64MB of RAM, see the snippet below, which I took from http://trac.osgeo.org/gdal/

Re: [gdal-dev] gdalwarp fills nulls?

2009-09-11 Thread Even Rouault
Selon Greg Coats : -wm is an option specific to gdalwarp. Here's detailed explanation : http://trac.osgeo.org/gdal/wiki/UserDocs/GdalWarp#WarpandCacheMemory:TechnicalDetails > The GDAL default value for GDAL_CACHEMAX is 40 MB. I routinely set up > my gdal_translate scripts to run with a larger va

Re: [gdal-dev] Problem with gdal_translate

2009-09-11 Thread Even Rouault
Selon Chris Emberson : The behaviour you see is expected. -expand rgb only works for bands that have color maps. You can transform your grey scale FILEA.asc into a RGB file by doing this : gdal_translate -of GTiff -co "TILES=YES" -b 1 -b 1 -b 1 FILEA.asc FILEB.tif This will use the source band 1

Re: [gdal-dev] gdalwarp fills nulls?

2009-09-11 Thread Greg Coats
The GDAL default value for GDAL_CACHEMAX is 40 MB. I routinely set up my gdal_translate scripts to run with a larger value for GDAL_CACHEMAX. export GDAL_CACHEMAX_value=50 gdal_translate --config GDAL_CACHEMAX ${GDAL_CACHEMAX_value} In my benchmark tests, I have observed that thi

Re: [gdal-dev] gdalwarp fills nulls?

2009-09-11 Thread William Kyngesburye
Hmm, yes that one works for me. I simplified my example for the email, maybe there's a memory problem, or raster size problem? I originally tried to resample a GRASS raster DEM directly. It's really 1000m cell size, 12809x18192 float cells, and want to resample to 21000m and 7000m. That

Re: [gdal-dev] which function can fetch some supplementary(but necessary) information of geometry from s-57 file?

2009-09-11 Thread Chaitanya kumar CH
Randy, OGRPoint is a geometry, which is stored as a part of a feature in a layer of the dataset. Any other information about the geometry is usually acquired from the OGRLayer and other fields in the OGRFeature. Hope this helps. 2009/9/11 Randy : > Hi all, > > 1. For instance, as respect to

[gdal-dev] Problem with gdal_translate

2009-09-11 Thread Chris Emberson
I am having trouble converting a single band raster (.asc) when using the GDAL utility gdal_translate (version 1.6) This is the command... gdal_translate -of GTiff -co "TILES=YES" -expand rgb FILEA.asc FILEB.tif I get this message Error : band 1 has no color table I want to be able to

[gdal-dev] which function can fetch some supplementary(but necessary) information of geometry from s-57 file?

2009-09-11 Thread Randy
Hi all, 1. For instance, as respect to “point” in s-57 files, I can get its position with function “GetX” and “GetY” in OGR. However, I don’t know how to get other information about this “point” . I think at least the point should tell me which symbol was placed in this position. I don’t fi

Re : [gdal-dev] Problem In reading S-63 Chart

2009-09-11 Thread peio Elissalde
Hello Vinod and Franck, > There is no support in GDAL/OGR for reading encrypted enc files (I assume > S-63 is what is sometimes called S-ENC?). My understanding is that it would > be hard to do this in open source software since the folks responsible are > very particular about who they p

[gdal-dev] Reg. ECW support in GDAL

2009-09-11 Thread Srikanth
Dear All, I have downloaded the ecw source code from www.erdar.com and I have tried to build source using Mingw (gcc.exe (GCC) 3.4.5 (mingw-vista special r3)) on windows xp. I have tried to fix the errors which I have encountoured during the process. But, as there were so many issues I thought the

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-145b201963-a96e1465da0722d3 You'll need to click

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-81f8d5e03e-3f429981c23c5c5d You'll need to click

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-8d77bdde0f-6e88992d6c3968be You'll need to click

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-e671c159e1-3cab5982284a20b1 You'll need to click

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-b24134b58c-4236b1eab148d152 You'll need to click

[gdal-dev] DIPA BISWAS wants to chat

2009-09-11 Thread DIPA BISWAS
--- DIPA BISWAS 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-737570-a55d1908e1-c7a9a3ffb9cd6304 You'll need to click