Re: [Gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread meenu
hi friend wt u said is right...my problem is how can i add that layer to this map file...for example i have one table POI...this layer indicating 4 files such as POI.DAT,POI.ID,POI.MAP,POI.TAB..how can i add this layer to this existing map file...i added the coding is as follows...no error

Re: [Gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread Chaitanya kumar CH
Meenu, You have to specify the layers in the .map file (as in csharptutorial.map). The .MAP files in the data folder are probably something else; check that. You need to have the "mapserver format mapfile" to specify the layers you want to display. So you can move the file "csharptutorial.map" to

Re: [Gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread meenu
ii -- View this message in context: http://n2.nabble.com/mapserver-c-mapscript-with-mapinfo-data-folder-tp2568756p2573422.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists

Re: [Gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread meenu
hi thanks for the reply...let me describe in detaili did one website using vs2005 C# using the available project TutorialMapServer(http://www.paolocorti.net/2006/09/20/mapserver-tutorial-for-c-mapscript-asp-net/)in that project i am calling gis data in web.config file like as follows

Re: [gdal-dev] convert qct format to geotiff

2009-04-01 Thread maning sambale
Andrew, Thank you for looking into this. > I would love to spend some time improving the software to allow > conversion to geotiff but the original author wasn't able to decode > the georeferencing polynomials and that's not something I can do > myself.  I'm can't put effort into improving the so

Re: [gdal-dev] The latest ISPRS-SC Newsletter

2009-04-01 Thread Nikos Alexandris
On Wed, 2009-04-01 at 12:09 +0200, Wesley Roberts wrote: > Hi Nikos, > Nice article, I like the idea of rotating the earth map for a new > perspective. It would look even more strange if you added the vectors > defining countries and labeling them with country names. > Perhaps an idea for the next

Re: [gdal-dev] BuildBot administration

2009-04-01 Thread Tamas Szekeres
Mateusz, I'd volunteer to be a backup admin and I think I have enough precognition to do it so. In the recent days however I encountered problems logging in via SSH. The user name is accepted but timeout occurred when submitting the password. I've also found sometimes the CPU utilization having p

[gdal-dev] BuildBot administration

2009-04-01 Thread Javier Urien
On Wed, Apr 1, 2009 at 17:31, Mateusz Loskot wrote: > Folks, > > Recently, I've resurected OSGeo BuilBot farm: > > http://buildbot.osgeo.org/ > > It took me months to get the job done. > I've back to my BuildBot duties now. > Although I've not settled in new home, so I'm not connected > with stab

[gdal-dev] BuildBot administration

2009-04-01 Thread Mateusz Loskot
Folks, Recently, I've resurected OSGeo BuilBot farm: http://buildbot.osgeo.org/ It took me months to get the job done. I've back to my BuildBot duties now. Although I've not settled in new home, so I'm not connected with stable link, but using GSM. I'd really want to avoid such long out-off-ser

Re: [gdal-dev] in memory KML

2009-04-01 Thread Mano Marks
Yes, we need to develop some more documentation. If you want to use libkml in your app, we are answering questions on it in the KML Developer Forum: http://groups.google.com/group/kml-support. BSD license tends to be pretty liberal, that's why we used it. On Wed, Apr 1, 2009 at 12:22 PM, Clay, Br

Re: [gdal-dev] VRT Pixel Functions in Python (?)

2009-04-01 Thread Frank Warmerdam
Lucena, Ivan wrote: Hi there, Would be possible to write a 'VRT Pixel Function' [1] in Python? Probably not. But wouldn't that be nice? Ivan, It would be nice, but likely also quite slow. There is currently no support for doing this. Best regards, -- ---

Re: [gdal-dev] help with resampling via python

2009-04-01 Thread Frank Warmerdam
Jose Gomez-Dans wrote: Hi Klokan, 2009/4/1 Klokan Petr Přidal mailto:klo...@klokan.cz>> gdal.RegenerateOverview() with 'average' and 'mode' algorithms. and gdal.ReprojectImage() with 'bilinear','cubic','cubicspline' and 'lanczos' algorithms. That's quite cool, but does Regener

Re: [gdal-dev] help with resampling via python

2009-04-01 Thread Jose Gomez-Dans
Hi Klokan, 2009/4/1 Klokan Petr Přidal > gdal.RegenerateOverview() with 'average' and 'mode' algorithms. > and > gdal.ReprojectImage() with 'bilinear','cubic','cubicspline' and > 'lanczos' algorithms. That's quite cool, but does RegenerateOverview() take into account NODATA values when doing t

RE: [gdal-dev] in memory KML

2009-04-01 Thread Clay, Bruce
LibKml can do the in memory file and a lot of other things but the documentation / examples are rather thin. There is documentation that tells you what the parameters of a call are supposed to be but not to tell you when to use a given method. They have several test apps but for the most part

Re: [gdal-dev] in memory KML

2009-04-01 Thread Mano Marks
Seems like libkml would be a good candidate for handling KML in memory. On Wed, Apr 1, 2009 at 3:23 AM, Mateusz Loskot wrote: > Frank Warmerdam wrote: >> >> Clay, Bruce wrote: >>> >>> After a bit more digging I am not sure I asked the right question. >>> >>> >>> What I want to do is read feature

[gdal-dev] gdalinfo

2009-04-01 Thread James McManus
When I run gdalinfo on a GRASS binary file it looks for table files, such as datum.table, in /usr/etc/ instead of /usr/local/grass-6.4.0RC2/etc/ where they are located. I have the GRASS and GDAL library path set in /etc/ld.so.conf. I also tried setting the grass "etc" directory in .bash_profile P

Re: [gdal-dev] libgrass

2009-04-01 Thread Markus Neteler
On Wed, Apr 1, 2009 at 6:22 PM, James McManus wrote: > gdalinfo knows where the /usr/lib64 directory is located, but it is > expecting files with a .so suffix.  I installed libgrass using fedora's yum. > It does not produce grass libraries with a .so suffix. As a GRASS developer I confirm Frank's

Re: [gdal-dev] Simple OGR C API call

2009-04-01 Thread Brian Hamlin
It seems the source of my trouble was the connection string The Postgres driver is creating layers just fine, just not whole databases.. now wrangling with append options and data format and such I'll post the example once its worked out -Brian On Apr 1, 2009, at 7:25 AM, Brian Hamlin wrote:

Re: [gdal-dev] libgrass

2009-04-01 Thread James McManus
gdalinfo knows where the /usr/lib64 directory is located, but it is expecting files with a .so suffix. I installed libgrass using fedora's yum. It does not produce grass libraries with a .so suffix. Trying a different approach, I installed grass on /usr/local and recompiled gdal setting --with-gr

[gdal-dev] gdal_fillnodata does not write out nodata value to metadata

2009-04-01 Thread Bryan Keith
When I run gdal_fillnodata, it fills some of my nodata spaces and doesn't fill others because I specify -md. However, the output file doesn't have the nodata value written out in the metadata. Is this the expected behaviour? See more details below. Bryan >gdalinfo -mm dem_nd.tif Driver: GTiff/

Re: [Gdal-dev] xml file for accessing to a wcs server

2009-04-01 Thread salwa
Hi Frank, I just changed the version to 1.1.0 and it's work now. Thanks for your help Best regards. -- View this message in context: http://n2.nabble.com/xml-file-for-accessing-to-a-wcs-server-tp2566259p2569952.html Sent from the GDAL - Dev mailing list archive at Nabble.com. ___

Re: [gdal-dev] help with resampling via python

2009-04-01 Thread Chris Somerlot
That was the other method I was trying, reading the VRT file into memory using the new (to me) xml.etree.ElementTree lib. I was missing the tag, though, thanks. 2009/4/1 Klokan Petr Přidal > Hi Chris, > > You have two options in GDAL API for resampling via Python: > > gdal.RegenerateOverview()

[gdal-dev] Read Datasets with three ranks in HDF file by GDAL in CSharp

2009-04-01 Thread jor sion
Hi, I am trying to read HDF files by GDAL in CSharp. The trouble is I can only access the first,second rank of the datasets with three ranks, but i can not access any information about the third rank. because I can only get the RasterXSize and RasterYSize from dataset, but there is no RasterZSize

[gdal-dev] VRT Pixel Functions in Python (?)

2009-04-01 Thread Lucena, Ivan
Hi there, Would be possible to write a 'VRT Pixel Function' [1] in Python? Probably not. But wouldn't that be nice? Ivan [1] - http://www.gdal.org/gdal_vrttut.html ___ gdal-dev mailing list gdal-dev@lists.osgeo.org http://lists.osgeo.org/mailman/list

[gdal-dev] gdalinfo about the dir

2009-04-01 Thread apachemaven
I have commite the problem: when run the commond gdalinfo d:\data\aa.hdf I get the subdatasets,then I want to get the info of the subdataset for example gdalinfo HDF4_EOS:EOS_SWATH:"D:\data\aa.hdf":mod35:Scan_Start_Time because the ":" in the path,I get the error message,I know if I am working the

[gdal-dev] Re: [GRASS-windows] gdalinfo about the dir

2009-04-01 Thread Frank Warmerdam
apachemaven wrote: I have commite the problem: when run the commond gdalinfo d:\data\aa.hdf I get the subdatasets,then I want to get the info of the subdataset for example gdalinfo HDF4_EOS:EOS_SWATH:"D:\data\aa.hdf":mod35:Scan_Start_Time because the ":" in the path,I get the error message,I kn

[gdal-dev] Simple OGR C API call

2009-04-01 Thread Brian Hamlin
Suppose a layer is created with the memory driver. How do you write that layer to a Postgres database? (OGR_Dr_CopyDataSource() appears *not* to be the answer - it implicitly creates the new layer, and Postgres driver doesnt support create.. ) thanks -Brian == Brian Hamlin ISDE5 Steering

Re: [gdal-dev] libgrass

2009-04-01 Thread Markus Neteler
On Wed, Apr 1, 2009 at 4:24 PM, Frank Warmerdam wrote: > James McManus wrote: ... >>  When I attempt to compile libgrass from source at: >> >> http://home.gdal.org/projects/grass/ ... > That libgrass is quite ancient now and I don't think it is suitable for > use with modern GRASS or even perhaps

Re: [Gdal-dev] xml file for accessing to a wcs server

2009-04-01 Thread Frank Warmerdam
salwa wrote: Hi Frank, this is my WCS service description file: - http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&SERVICE=WCS&CRS=EPSG:26191&; NDVI EPSG:26191 gtiff &BBOX=279728,114867,296168,125307&time=2002-11-07 1.0.0 551

Re: [gdal-dev] libgrass

2009-04-01 Thread Frank Warmerdam
James McManus wrote: When I use gdalinfo on a GRASS raster file I get the following error message: error while loading shared libraries: libgrass_dgl.so: cannot open shared object file: No such file or directory The libgrass libraries are installed in /usr/lib64 but they all have .so.6.3.0

[gdal-dev] libgrass

2009-04-01 Thread James McManus
When I use gdalinfo on a GRASS raster file I get the following error message: error while loading shared libraries: libgrass_dgl.so: cannot open shared object file: No such file or directory The libgrass libraries are installed in /usr/lib64 but they all have .so.6.3.0 suffix's. When I attempt t

Re: [gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread Tamas Szekeres
What did you mean by "calling a data folder"? Do you intend to construct a new map in C# mapscript? Best regards, Tamas 2009/4/1 meenu monu > dear friend > > i created one mapserver website using vs2005 c# mapscript ...gis data is > based on some sample data available in netnow everything

Re: [gdal-dev] using gcp's without giving coordinates

2009-04-01 Thread Klokan Petr Přidal
Hi, I am not familiar with OziExplorer Map files, but I have seen a project trying to implement what you need, maybe you can reuse it (and probably improve it and add support of different projections): http://ozi2geotiff.svn.sourceforge.net/viewvc/ozi2geotiff/trunk/ozi2geotiff.py?view=markup I g

[gdal-dev] mapserver c#mapscript with mapinfo data folder

2009-04-01 Thread meenu monu
dear friend i created one mapserver website using vs2005 c# mapscript ...gis data is based on some sample data available in netnow everything is working fine...now the mapfile is "c:\data\gisdata.map"...now my requirement is i have a data folder which is done based on mapinfo professional...i

Re: [gdal-dev] gdal2tiles strangeness

2009-04-01 Thread Klokan Petr Přidal
Mano, > Thanks for the pointer. So it looks like, right now, there's a bug in > gdal2tiles, according to  Jesse? Any news on when that might be fixed? Just use this gdal2tiles.py: http://maptiler.googlecode.com/svn/trunk/maptiler/gdal2tiles.py The issue he is referring is fixed in MapTiler SVN:

Re: [gdal-dev] help with resampling via python

2009-04-01 Thread Jose Gómez-Dans
Hi, On Wednesday 01 April 2009 00:47:50 Chris Somerlot wrote: > Having trouble figuring out how to resample an image to a different cell > size from python. I looked over the VRT driver page and have been trying to > get this to work: I do this by reading in the data, and using numpy/scipy to cal

Re: [gdal-dev] help with resampling via python

2009-04-01 Thread Klokan Petr Přidal
Hi Chris, You have two options in GDAL API for resampling via Python: gdal.RegenerateOverview() with 'average' and 'mode' algorithms. and gdal.ReprojectImage() with 'bilinear','cubic','cubicspline' and 'lanczos' algorithms. Example of such functionality is in gdal2tiles.py in function GDAL2Tiles

Re: [Gdal-dev] xml file for accessing to a wcs server

2009-04-01 Thread salwa
Hi Frank, this is my WCS service description file: - http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&SERVICE=WCS&CRS=EPSG:26191&; NDVI EPSG:26191 gtiff &BBOX=279728,114867,296168,125307&time=2002-11-07 1.0.0 551 351 1 b

Re: [Gdal-dev] xml file for accessing to a wcs server

2009-04-01 Thread salwa
Hi Frank, this is my WCS service description file: - http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&SERVICE=WCS&CRS=EPSG:26191&; NDVI EPSG:26191 gtiff &BBOX=279728,114867,296168,125307&time=2002-11-07 1.0.0 551 351 1 b

Re: [gdal-dev] in memory KML

2009-04-01 Thread Mateusz Loskot
Frank Warmerdam wrote: Clay, Bruce wrote: After a bit more digging I am not sure I asked the right question. What I want to do is read feature information from a shapefile or other data source and get a string that contains the feature information encoded in KML that I can pass directly in

Re: [gdal-dev] The latest ISPRS-SC Newsletter

2009-04-01 Thread Wesley Roberts
Hi Nikos, Nice article, I like the idea of rotating the earth map for a new perspective. It would look even more strange if you added the vectors defining countries and labeling them with country names. Perhaps an idea for the next article? Cheers, Wesley >>> Nikos Alexandris 04/01/09 11:

[gdal-dev] The latest ISPRS-SC Newsletter

2009-04-01 Thread Nikos Alexandris
Sort of off-topic the Open-Source article this time... or maybe not!? Link to the Newsletter: http://isprs-studentconsortium.org/assets/files/Newsletter_Vo3_No1_March.pdf Link to the full "Open Source" article: http://isprs-studentconsortium.org/assets/files/Turn_the_World.pdf ( Apologies espec

[gdal-dev] Re: removing of transparency possible?

2009-04-01 Thread WolfgangZ
Frank Warmerdam schrieb: Are you referring to an alpha band? If so, you could select a subset of bands with gdal_translate using the -b flag. eg. gdal_translate -b 1 -b 2 -b 3 rgba.tif rgb.jpg Best regards, Hello Frank, thanks for your help, this worked! Sometimes the solution is too sim

[gdal-dev] xml file for accessing to a wcs server

2009-04-01 Thread belaqziz salwa
Hi Frank, this is my WCS service description file: -   http://localhost:81/cgi-bin/mapserv.exe?map=NDVI.map&SERVICE=WCS&CRS=EPSG:26191&;   NDVI   EPSG:26191   gtiff   &BBOX=279728,114867,296168,125307&time=2002-11-07   1.0.0   551   351   1   b