Re: [gdal-dev] map selection -reg

2012-11-26 Thread Paul Meems
Hi Nikhil, This mailing list is about GDAL/OGR. I think you have more luck in the DotSpatial forum asking these questions: http://dotspatial.codeplex.com/discussions -- Paul 2012/11/27 Nikhil Sai Parupalli > Hi All, > > I am working on an application where I have used Dotspatail dll > for

[gdal-dev] map selection -reg

2012-11-26 Thread Nikhil Sai Parupalli
Hi All, I am working on an application where I have used Dotspatail dll for display of map. How do we get selected layer information. I have tried implementing the same with following code but all is not well DotSpatial.Controls.IMapLayer laySelected = null; DotSpatial.Symbology.

Re: [gdal-dev] Absolutely no progress trying to compile GDAL with Oracle support on Windows

2012-11-26 Thread Jukka Rahkonen
cheesybiscuits gmail.com> writes: > > I've started a couple of threads on this forum recently trying to figure out > similar problems and currently compiling GDAL 1.9.2 from source on Windows > looks like my best option - but STILL I'm getting nowhere. I can't believe > how much time this is tak

[gdal-dev] Absolutely no progress trying to compile GDAL with Oracle support on Windows

2012-11-26 Thread cheesybiscuits
I've started a couple of threads on this forum recently trying to figure out similar problems and currently compiling GDAL 1.9.2 from source on Windows looks like my best option - but STILL I'm getting nowhere. I can't believe how much time this is taking! I've set up my nmake.opt file with everyt

Re: [gdal-dev] ogr2ogr & gdalinfo both crashing on 64-bit Windows 7, very little info available

2012-11-26 Thread cheesybiscuits
Well thanks for your input Peter, as there is no apparent reason for the crash I've settled for just trying to build gdal from source on Windows. This is presenting its own problems and I am currently headed for a new post in the list... -- View this message in context: http://osgeo-org.1560.n6

Re: [gdal-dev] Space in PDF option OGR_DISPLAY_LAYER_NAMES

2012-11-26 Thread Even Rouault
Le lundi 26 novembre 2012 10:20:08, Jukka Rahkonen a écrit : > Even Rouault mines-paris.org> writes: > > Selon Jukka Rahkonen mmmtike.fi>: > > > Hi, > > > > > > Having space characters in the following creation option makes trouble > > > -co OGR_DISPLAY_LAYER_NAMES="bussipysÀkit,kierrÀtys,The

Re: [gdal-dev] Warping quality with small geolocation arrays

2012-11-26 Thread Knut-Frode Dagestad
Frank, I created a ticket with the same description as below: http://trac.osgeo.org/gdal/ticket/4907 My test cases are from self-made Raw-VRTs, so I have no immediate reproducable test image/script to attach. However, if useful, I can construct an example to attach in a couple of days. Thank

Re: [gdal-dev] Warping quality with small geolocation arrays

2012-11-26 Thread Frank Warmerdam
On 12-11-26 12:11 PM, Knut-Frode Dagestad wrote: Dear list, Warping datasets with geolocation arrays works fine if the arrays have the same size as the other raster bands. However, if the geolocation arrays are much smaller, the quality is very bad. Say I have a 2000x2000 px dataset with 100x10

Re: [gdal-dev] PDF Creation floating point exception for DEFLATE option?

2012-11-26 Thread Even Rouault
Le lundi 26 novembre 2012 20:59:23, Robert Zermeno a écrit : > GDAL Community, > > My application generates a geospatial PDF file from a pre-loaded image > source. When generating an image, I keep receiving an exception of: > "exception class EInvalidOp with message 'Invalid floating point > ope

Re: [gdal-dev] Deleting GDALColorTable *

2012-11-26 Thread Even Rouault
Le lundi 26 novembre 2012 20:51:53, David Strip a écrit : > If I do something like this: > GDALColorTable * ct = raster_band->GetColorTable()->clone(); > ... bunch of stuff > delete ct; > > Will the destructor be called on the color table represented pointed to > by ct, or do I have

[gdal-dev] Warping quality with small geolocation arrays

2012-11-26 Thread Knut-Frode Dagestad
Dear list, Warping datasets with geolocation arrays works fine if the arrays have the same size as the other raster bands. However, if the geolocation arrays are much smaller, the quality is very bad. Say I have a 2000x2000 px dataset with 100x100 px sized geolocation arrays. Then a warped i

[gdal-dev] PDF Creation floating point exception for DEFLATE option?

2012-11-26 Thread Robert Zermeno
GDAL Community,   My application generates a geospatial PDF file from a pre-loaded image source.  When generating an image, I keep receiving an exception of: "exception class EInvalidOp with message 'Invalid floating point operation'".  I am using the respoitory from 11-20-2012.  I am using Borla

[gdal-dev] Deleting GDALColorTable *

2012-11-26 Thread David Strip
If I do something like this: GDALColorTable * ct = raster_band->GetColorTable()->clone(); ... bunch of stuff delete ct; Will the destructor be called on the color table represented pointed to by ct, or do I have to call GDALDestroyColorTable((GDALColorTableH) ct) ___

Re: [gdal-dev] Current cmake project status

2012-11-26 Thread Dmitry Baryshnikov
26.11.2012 12:05, ??? ?: Hi all! I've just wanted to know what is the current status of cmake project files for GDAL. Use of nmake script shows poor speed when I changing only one file in driver... I think with cmake we could avoid such issues. http://trac.osgeo.org/gdal/wiki/C

Re: [gdal-dev] OpenJPEG 2.0 released

2012-11-26 Thread Angelos Tzotsos
On 11/26/2012 05:44 PM, Even Rouault wrote: Selon Jeff McKenna : On 12-11-26 5:51 AM, Angelos Tzotsos wrote: Thanks Even, I have disabled openjpeg2 support until 1.10. Cheers, Angelos Thanks Angelos/Even, I will do the same. Just to be clear: if you have already packaged GDAL 1.9 with ope

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Joaquim Luis
GMT5 has a tool called gmtstitch that could perhaps help doing the job, but I never played enough with it to be more positive about its capacities. Joaquim I want a command line tool to do the same thing that "Feature to Polygon" of ArcGIS or Polygonizer plugin of Quantum GIS does. Is there a

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Alisson Barbosa
I want a command line tool to do the same thing that "Feature to Polygon" of ArcGIS or Polygonizer plugin of Quantum GIS does. Is there any tool for this? 2012/11/26 Peter Halls > Alisson, Hugo, > > I think a reason for the lack of response is that the operation > you need is a tad more inv

Re: [gdal-dev] OpenJPEG 2.0 released

2012-11-26 Thread Even Rouault
Selon Jeff McKenna : > On 12-11-26 5:51 AM, Angelos Tzotsos wrote: > > Thanks Even, > > > > I have disabled openjpeg2 support until 1.10. > > > > Cheers, > > Angelos > > > > Thanks Angelos/Even, I will do the same. Just to be clear: if you have already packaged GDAL 1.9 with openjpeg "old" v2 bra

Re: [gdal-dev] OpenJPEG 2.0 released

2012-11-26 Thread Jeff McKenna
On 12-11-26 5:51 AM, Angelos Tzotsos wrote: > Thanks Even, > > I have disabled openjpeg2 support until 1.10. > > Cheers, > Angelos > Thanks Angelos/Even, I will do the same. -jeff -- Jeff McKenna MapServer Consulting and Training Services http://www.gatewaygeomatics.com/

[gdal-dev] CRS not defined with BMP

2012-11-26 Thread Clay, Bruce
I am using GDAL to convert CADRG files to BMP chips for an application written to only use BMP. I have created the BMP chip, BMP world file and a 4326 prj file to indicate WGS 84. When I use gdalinfo to look at the settings it always indicates CRS is not defined. QGis also says the CRS is no

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Peter Halls
Alisson, Hugo, I think a reason for the lack of response is that the operation you need is a tad more involved than is supported by ogr2ogr - which performs simple geometrical operations but is really designed to perform format translations. To go from a spaghetti of lines to polygons re

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Jukka Rahkonen
Hugo Benicio gmail.com> writes: > > > I'm facing a similar problem when trying to convert a shapefile containing lines to a shapefile containing polygons. > No progress. > If you solve it, please, let me know! > > Thanks in advance. Hi, Converting polygons into lines and lines into polygons

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Hugo Benicio
I'm facing a similar problem when trying to convert a shapefile containing lines to a shapefile containing polygons. No progress. If you solve it, please, let me know! Thanks in advance. On Mon, Nov 26, 2012 at 8:47 AM, Alisson Barbosa wrote: > Can anybody help me? > > > 2012/11/23 Alisson Barb

Re: [gdal-dev] No Spatial Reference System from UTM Ozi .map file

2012-11-26 Thread Jean-Claude Repetto
Le 14/11/2012 00:44, Nik Sands a écrit : Thanks very much for looking into this. I've filed the bug at https://trac.osgeo.org/gdal/ticket/4894 I have submitted a patch (see ticket). I couldn't test it completely, because you didn't provide image files matching the .map files. So please tes

Re: [gdal-dev] MULTILINESTRING to MULTIPOLYGON using ogr2ogr

2012-11-26 Thread Alisson Barbosa
Can anybody help me? 2012/11/23 Alisson Barbosa > Hi friends, > > I would like to transform a shape with multilinestring in a shape with > polygons using ogr2ogr. > > Polygon to multilinestring, I use: > ogr2ogr -f "ESRI Shapefile" -overwrite "C:/Users/Alisson/Basins3.shp" > "C:/Users/Alisson/Ba

Re: [gdal-dev] OpenJPEG 2.0 released

2012-11-26 Thread Angelos Tzotsos
On 11/26/2012 10:29 AM, Even Rouault wrote: Selon Angelos Tzotsos : On 11/20/2012 09:23 PM, Even Rouault wrote: Hi, Just to inform you that the OpenJPEG project has just released OpenJPEG 2.0.0. GDAL users of GDAL 1.10dev that need support for JPEG2000 can (must) now rely on a released ve

Re: [gdal-dev] Space in PDF option OGR_DISPLAY_LAYER_NAMES

2012-11-26 Thread Jukka Rahkonen
Even Rouault mines-paris.org> writes: > > Selon Jukka Rahkonen mmmtike.fi>: > > > Hi, > > > > Having space characters in the following creation option makes trouble > > -co OGR_DISPLAY_LAYER_NAMES="bussipysÀkit,kierrÀtys,The zoo plan" > > > > Layer name "The zoo plan" works fine in the PDF l

[gdal-dev] Current cmake project status

2012-11-26 Thread Дмитрий Рязанцев
Hi all! I've just wanted to know what is the current status of cmake project files for GDAL. Use of nmake script shows poor speed when I changing only one file in driver... I think with cmake we could avoid such issues. http://trac.osgeo.org/gdal/wiki/CMake page says that "... is being developed

Re: [gdal-dev] Space in PDF option OGR_DISPLAY_LAYER_NAMES

2012-11-26 Thread Even Rouault
Selon Jukka Rahkonen : > Hi, > > Having space characters in the following creation option makes trouble > -co OGR_DISPLAY_LAYER_NAMES="bussipysÀkit,kierrÀtys,The zoo plan" > > Layer name "The zoo plan" works fine in the PDF layer tree but immediately > when > I click the model tree button with A

Re: [gdal-dev] OpenJPEG 2.0 released

2012-11-26 Thread Even Rouault
Selon Angelos Tzotsos : > On 11/20/2012 09:23 PM, Even Rouault wrote: > > Hi, > > > > Just to inform you that the OpenJPEG project has just released OpenJPEG > 2.0.0. > > > > GDAL users of GDAL 1.10dev that need support for JPEG2000 can (must) now > rely > > on a released version, and no longer on