[gdal-dev] Re: GDAL compiler & GDAL utility use

2010-06-17 Thread Randy
S,it was a long time ago.And I think the GDAL FAQ "How to set GDAL_DATA variable?" should change its answer. Thank you,Peter,again! Best regards, Randy > Aha ... > > > ERROR 1:Invalid index :-1 > > ERROR 1:Invalid index :-1 > > ERROR 1:Invalid index :-1 > > ERR

[gdal-dev] GDAL compiler & GDAL utility use

2010-06-17 Thread Randy
ACHARE ... Layer name: BCNLAT ... Then, I'd like to know what else I should do when I build GDAL in a default way: cd ./configure ./make ./sudo make install What I do else until now is just set GDAL_DATA environment variable and OGR_S57_OPTIONS. And I use GDAL1.7.2 release version. Best re

Re: [gdal-dev] problem on function "OGR_FD_GetName"

2010-06-17 Thread randy
I'm not sure how much that helps, Yes,I appreciate anything you said above including experience,suggestion... Best regards, Randy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] how to use docs?

2010-04-27 Thread Randy
ing just like MSDN in Windows, how should I get enough info about GDAL functions? Thanks! Best regards, Randy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

Re: [gdal-dev] how to use docs?

2010-04-27 Thread Randy
I use it in Devhelp or "man" some function in terminal? I find it still doesn't work after "make man" and "make install-man". Thanks a lot! Best regards, Randy > Regards, > > Ivan > > Randy wrote: > > Hi list, > > This maybe a bad

[gdal-dev] how to use docs?

2010-04-26 Thread Randy
Hi list, This maybe a bad question. I "make docs" and "make install docs" after installing GDAL, but then how should I use this docs file and query functions? I thought Devhelp could help me but nothing appeared on devhelp. Best regards, Randy

RE: [gdal-dev] convert s57 to shp via ogr2ogr?

2010-04-19 Thread Randy
Hi Frank, Thanks for your help! Yes, it works now, but I need to do lots of tedious work for finishing this converting work. Anyway, thank "ogr2ogr" and appreciate your patient guideline! Best regards, Randy -Original Message- > Hi Frank, > Thanks for your timely response

Re: [gdal-dev] convert s57 to shp via ogr2ogr?

2010-04-17 Thread Randy
tablish what geometry types each > has. Rather tedious! Best regards, Randy > Best regards, ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] convert s57 to shp via ogr2ogr?

2010-04-17 Thread Randy
……. Same as above And I use the command:”ogr2ogr �Cskipfailures -f “ESRI Shapefile” out US1AK90M.000”. Is there anything wrong about my command? Or the ogr2ogr have some defect? Thanks. Best regards, Randy ―― ―― To be frank, dream is hard to own

[gdal-dev] GDAL/OGR is available on embedded platform?

2010-03-18 Thread Randy
Hi list, I'm going to do something about graphic display on an embedded platform (such as ARM) which needs GDAL/OGR to read the file. But I'm not very sure it's available on embedded platform.Has anyone done something like this?Any hint? Thanks for your time! Best

RE: [gdal-dev] questions about S-57

2010-03-15 Thread Randy
Hi Frank and list, Thanks for your prompt and explicit response, I think I see now. Best regards, Randy -Original Message- From: Frank Warmerdam [mailto:warmer...@pobox.com] Sent: Monday, March 15, 2010 7:09 PM To: Randy Cc: GDAL/OGR mailing list Subject: Re: [gdal-dev] questions about

[gdal-dev] questions about S-57

2010-03-15 Thread Randy
13" has a prefix "2:", does it mean the field belong to spatial record not feature record? NO.2 And why one is 25,and another is 413?Does it mean 25 is the ID in spatial record and 413 is the ID in the whole record? Thanks a lot! Best regards, Randy --

RE: [gdal-dev] question with field name read from ogrinfo

2010-03-12 Thread Randy
Hi Frank, Thanks for your reply! I know what you mean now, NAME_RCID can tell the difference between Feature records' RCID and Spatial Records', and it is easily to know the NAME_RCNM subfield is from Spatial Record from its prefix-"NAME". Best regards, Randy -Origin

[gdal-dev] question with field name read from ogrinfo

2010-03-12 Thread Randy
ogrinfo ,it gives me a field name-"NAME_RCNM". Then, I'd like to know if the ogrinfo's writer change the field name or it means the [NAME_RCNM] is on the new S-57 version while [RCNM] is just on the old version(3.1 edition)? Thanks

Re: [gdal-dev] GDAL installing about building openev

2009-11-18 Thread Randy
> Randy, > > I've taken this off the list since it isn't really a gdal issue. > > This part of the log: > > "configure:5590: Using requested GDAL_HOME > of /home/randyqiu/run-time/gdal-1.6.2 > configure:5605: checking for GDALOpen in -lgdal > confi

Re: [gdal-dev] GDAL installing about building openev

2009-11-17 Thread Randy
> Randy, > > I think you already received other replies, but I think the problem is > that an earlier step select gtkgl as a library but without actually > checking properly if it was available and now the GDAL test fails because > it also tries to include previous depen

Re: [gdal-dev] GDAL installing about building openev

2009-11-16 Thread Randy
or: 'not' undeclared (first use in this function) conftest.c:41: error: (Each undeclared identifier is reported only once conftest.c:41: error: for each function it appears in.) conftest.c:41: error: expected ';' before 'big' configure:16000: $? = 1 configure: failed prog

[gdal-dev] GDAL installing about building openev

2009-11-14 Thread Randy
os once had the same problem, but I haven't found the solution.Anyone could help me? Best regards, Randy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

答复: [gdal-dev] charge for IHO EC DIS Presentation Library(digital version, a CD-ROM)

2009-10-22 Thread Randy
ntact with them? I have sent email to them by "contact form" on that official website " http://www.iho-ohi.net/english/home/ ". Thanks a lot again in advance! Best regards, Randy -邮件原件- 发件人: s duclos [mailto:sylvain_duc...@yahoo.com] 发送时间: 2009年10月20日 0:23 收件人: Rand

[gdal-dev] charge for IHO ECDIS Presentation Library(digital version, a CD-ROM)

2009-10-17 Thread Randy
tables、CIE2RGB procedure, etc. which are necessary for displaying ENCs, and anything else which can replace the CD-ROM? If not, how can I buy it and who I should contact with? Thanks a lot for your suggestion! Best regards, Randy ___ gdal-dev mailing list

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

2009-10-12 Thread Randy
etween GDAL/OGR and FWTools 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 CPLSetCon

答复: Re: [gdal-dev] different result of ogrinfo between GDAL/OGR and FWTools

2009-10-11 Thread Randy
7> Yes, maybe you've see the last one lost a feature's attribute subfield like CATSPM. And when I retrieve feature's fields in my own application, I couldn’t get attributes' fields either. Thanks for your care about my problem and thanks in advance! Best Regards, Randy --

答复: Re: [gdal-dev] different res ult of ogrinfo between GDAL/OGR and FWTools

2009-10-11 Thread Randy
and restart my PC. Anyone knows why? Thanks again!! Best regards, Randy 发件人: Chaitanya kumar CH [mailto:chaitanya...@gmail.com] 发送时间: 2009年10月11日 15:15 收件人: Randy 抄送: GDAL/OGR mailing list 主题: [?? Probable Spam] Re: [gdal-dev] different result of ogrinfo between GDAL/OGR and FWTools

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

2009-10-10 Thread Randy
Hi list, I find the ogrinfo which GDAL/OGR source code produced cannot get all fields(such as attribute fields) of a feature(s_57), while the ogrinfo in fwtools can make it. Anyone knows its reason? Thanks in advance! Best regards, Randy ___ gdal

[gdal-dev] ogrinfo ends its work as soon as it starts

2009-10-06 Thread Randy
dow disappear as soon as it appear when I dblclick it and so does some other application like gdalwarp.exe. Anyone could give me suggestion? Best Regards, Randy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

答复: [gdal-dev] Why cannot I get all fields from s57 files with m ethod GetFieldAsString?

2009-09-27 Thread Randy
r this? Thanks a lot! Best Regards, Randy -邮件原件- 发件人: Chaitanya kumar CH [mailto:chaitanya...@gmail.com] 发送时间: 2009年9月26日 20:51 收件人: Randy 抄送: GDAL/OGR mailing list 主题: Re: [gdal-dev] Why cannot I get all fields from s57 files with method GetFieldAsString? Randy, You need to set the

[gdal-dev] Why cannot I get all fields from s57 files with method GetFieldAsString?

2009-09-26 Thread Randy
t Regards, Randy. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

答复: Re: [gdal-dev] How to use OG RField and what does its contents mean?

2009-09-24 Thread Randy
Frank, Chaitanya, Thanks a lot for giving me so much useful info!! -邮件原件- 发件人: Frank Warmerdam [mailto:warmer...@pobox.com] 发送时间: 2009年9月24日 23:38 收件人: Randy 抄送: GDAL/OGR mailing list 主题: [?? Probable Spam] Re: [gdal-dev] How to use OGRField and what does its contents mean? Chaitanya

[gdal-dev] How to use OGRField and what does its contents mean?

2009-09-24 Thread Randy
OGR’s open source code, but it doesn’t seem like it gives us enough information and notation. Besides that, anyone could tell me where I can find the more explicit introduction about OGR, I mean almost each part of the OGR? Best regards, Randy ___ gdal

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

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

2009-09-11 Thread Randy
appropriate color according to these information. Which function can tell me this? Thanks, your answer will be appreciated!! Best regards, Randy ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/gdal-dev

[gdal-dev] OGR about s_57

2009-09-01 Thread Randy
me something? 4. I know the file “IHO ECDIS Presentation Library” can help me but I don’t know how to get it, can you? Thanks with your help and suggestion! Best regards, Randy ___ gdal-dev mailing list gdal-dev

FW: [gdal-dev] converting epsg:4326 coordinates to spherical mercator (google maps) epsg:900913

2009-05-30 Thread Randy George
itude * y= R*ln(tan(pi/4 + latitude/2) */ double x = 6378137.0 * Math.PI / 180 * lon; double y = 6378137.0 * Math.Log(Math.Tan(Math.PI/180*(45+lat/2.0))); return new Point(x,y); } randy -Original Message- From: gdal-dev

RE: [gdal-dev] ogr2ogr C#

2009-03-27 Thread Randy George
Or do something ugly like use a .asmx to call your ogr2ogr cmdline as a Process: using System; using System.Web.Services; using System.Text; using System.IO; using System.Diagnostics; using System.Threading; using System.Security.Permissions; [WebService(Namespace = "http://www.myserv