[gdal-dev] fail to build gdal 1.9 with minGW

2012-03-29 Thread chenliang wang
hi: I failed to build gdal 1.9 with minGW. I modified 'cpl_multiproc.h' with the patch.But there are still errors with build:cpl_multiproc.cpp:73: undefined reference to `CPLCreateOrAcquireMutex' .Pls help me out.Thanks!

Re: [gdal-dev] GDAL Tiling

2012-03-29 Thread akshay gupta
I am presently using -srcwin for copying AOI to a different file. does -projwin have any advantage over -srcwin? Akhy On Wed, Mar 28, 2012 at 5:29 PM, Jay L. jzl5...@psu.edu wrote: Akshay, 1) An AOI can be created using the -projwin option in gdal_translate. You can use that option when

Re: [gdal-dev] fail to build gdal 1.9 with minGW

2012-03-29 Thread Even Rouault
Selon chenliang wang hi181904...@msn.com: hi: I failed to build gdal 1.9 with minGW. I modified 'cpl_multiproc.h' with the patch.But there are still errors with build:cpl_multiproc.cpp:73: undefined reference to `CPLCreateOrAcquireMutex' .Pls help me out.Thanks!

Re: [gdal-dev] GDAL Tiling

2012-03-29 Thread Even Rouault
Selon akshay gupta akshaygupta...@gmail.com: I am presently using -srcwin for copying AOI to a different file. does -projwin have any advantage over -srcwin? No, the underlying processing is the same. You just use what option is the more convenient for you. In fact, when -projwin is used, the

Re: [gdal-dev] fail to build gdal 1.9 with minGW

2012-03-29 Thread Even Rouault
Selon chenliang wang hi181904...@msn.com: Thanks for your reply. I have tried 'make clean' and then rebuild GDAL. And I have also modified GNUmakefile ,replaed '${GDAL_ROOTs}' for '.' and then 'make clean' and rebuild it again. Unfortunately, I failed again. I use command ' ./configure

RE: [gdal-dev] Interpretation of DTED elevation data

2012-03-29 Thread Alex Barféty
I've used the ReadRaster method with a short array and it working perfectly fine, the elevation data recovered are correct. Thanks for your advice :) Alex Barféty -Message d'origine- De : Even Rouault [mailto:even.roua...@mines-paris.org] Envoyé : mercredi 28 mars 2012 10:23 À :

[gdal-dev] Error in creating gml file

2012-03-29 Thread proto83
ogr2ogr -f GML oikismoi_irakliou_gml.gml oikismoi_irakliou.shp i write this in the command line and i receive the following message. ERROR4:Failed to create GML file oikismoi_irakliou_gml.gml GML driver failed to create oikismoi_irakliou_gml.gml Does anyone knows what is the problem? Regards,

Re: [gdal-dev] Error in creating gml file

2012-03-29 Thread Even Rouault
Le jeudi 29 mars 2012 22:03:06, proto83 a écrit : ogr2ogr -f GML oikismoi_irakliou_gml.gml oikismoi_irakliou.shp i write this in the command line and i receive the following message. ERROR4:Failed to create GML file oikismoi_irakliou_gml.gml GML driver failed to create

[gdal-dev] Re: Error in creating gml file

2012-03-29 Thread proto83
can you explain me more if it's not problem for you? :) -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-in-creating-gml-file-tp4669016p4669107.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev

Re: [gdal-dev] Re: Error in creating gml file

2012-03-29 Thread Salvatore Larosa
Il giorno gio, 29/03/2012 alle 13.31 -0700, proto83 ha scritto: can you explain me more if it's not problem for you? :) I assume you are on Linux! What returns this command: $ ls -l | grep yourFolder ? youFolder is the folder where you save your files!

[gdal-dev] Re: Error in creating gml file

2012-03-29 Thread proto83
no i am in windows.but i still cannot understand what i must do to fix the problem. -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-in-creating-gml-file-tp4669016p4669179.html Sent from the GDAL - Dev mailing list archive at Nabble.com.

Re: [gdal-dev] Re: Error in creating gml file

2012-03-29 Thread Salvatore Larosa
Il giorno gio, 29/03/2012 alle 14.00 -0700, proto83 ha scritto: no i am in windows.but i still cannot understand what i must do to fix the problem. -- well, will be hard reach a solution! ;-) try ogrinfo command: ogrinfo oikismoi_irakliou.shp

[gdal-dev] Re: Error in creating gml file

2012-03-29 Thread proto83
ok i did it and i the output was this. INFO:Open of 'c:\shapefiles\oikismoi_irakliou.shp' using driver 'ESRI Shapefile' successful 1:oikismoi_irakliou Point -- View this message in context: http://osgeo-org.1560.n6.nabble.com/Error-in-creating-gml-file-tp4669016p4669302.html Sent from the GDAL

Re: [gdal-dev] Re: Error in creating gml file

2012-03-29 Thread Salvatore Larosa
Il giorno gio, 29/03/2012 alle 14.47 -0700, proto83 ha scritto: ok i did it and i the output was this. INFO:Open of 'c:\shapefiles\oikismoi_irakliou.shp' using driver 'ESRI Shapefile' successful 1:oikismoi_irakliou Point Can you try ogr2ogr command in a different folder? For example in the

[gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Vivek Dey
Hi All I am a newbie of GDAL. I want to convert a shape file to GeoJSON file. I have downloaded GDAL 19 (MSVC 2010 win64) binaries. However, when I try to convert to GeoJSON. It says Failed to create geoJSON datasource I am using the following code ogr2ogr -f geoJSAON CENO.json CENOVUS.shp

Re: [gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Eli Adam
Vivek, I think you might have some minor typos: ogr2ogr -f geoJSAON CENO.json CENOVUS.shp GeoJSON not geoJSAon [no ending double quote either] HTH, Eli ___ gdal-dev mailing list gdal-dev@lists.osgeo.org

Re: [gdal-dev] Ogr2OGR for GeoJSON fails on windows 7

2012-03-29 Thread Eli Adam
Vivek, My bad , i did typo in writing here. I have written correctly as GeoJSON for conversion. Are you saying that you typed it correctly on the command line and it still doesn't work? If so, can you copy your command and error from the command line to the email? Eli