Re: [gdal-dev] Re: PHP bindings

2011-02-24 Thread Mike Leahy
Hello all, To keep this topic somewhat alive, I might note that I can identify that php_osr.so works partially in some ways, but not how I would expect compared with the same bindings in other languages. I also found that at least one typemap was needed in typemaps_php.i, which I determined by

Re: [gdal-dev] Windows builds and wildcard usage for gdaltindex & gdalbuildvrt

2011-02-24 Thread Tamas Szekeres
Hi Armin, I've just added wildcard support to the builds at http://vbkto.dyndns.org/sdk/ according to Frank's suggestion. The corresponding binaries should be available with the next daily builds. Best regards, Tamas 2011/2/24 Armin Burger > Hi all > > I wanted to use a more recent Windows

Re: [gdal-dev] image header UL,LL,UR,LR

2011-02-24 Thread Frank Warmerdam
On 11-02-24 04:16 PM, Shawn Gong wrote: Hi list, I have a flat binary image "HH.img" and a HH.aux header The header file looks like: AuxiliaryTarget: HH.img RawDefinition: 1492 1680 1 ChanDefinition-1: 32R 0 4 5968 Unswapped ChanDesc-1: HH intensity SegDesc-1-0: Contents Not Specified MapUnits:

[gdal-dev] Sponsorship for OSGeo Montreal Code Sprint 2011

2011-02-24 Thread Daniel Morissette
Dear GDAL/OGR users, OSGeo's Montreal Code Sprint 2011 is going to take place on March 14-18, 2011. A group of over 20 OSGeo project developers and contributors will meet in Montreal for 4 days of work on their respective projects... for the advancement of the software that you use everyday.

[gdal-dev] image header UL,LL,UR,LR

2011-02-24 Thread Shawn Gong
Hi list, I have a flat binary image "HH.img" and a HH.aux header The header file looks like: AuxiliaryTarget: HH.img RawDefinition: 1492 1680 1 ChanDefinition-1: 32R 0 4 5968 Unswapped ChanDesc-1: HH intensity SegDesc-1-0: Contents Not Specified MapUnits: LONG/LATD-04 UpLeftX: -5.601451 UpLef

[gdal-dev] image header UL,LL,UR,LR

2011-02-24 Thread Shawn Gong
Hi list, I have a flat binary image "HH.img" and a HH.aux header The header file looks like: AuxiliaryTarget: HH.img RawDefinition: 1492 1680 1 ChanDefinition-1: 32R 0 4 5968 Unswapped ChanDesc-1: HH intensity SegDesc-1-0: Contents Not Specified MapUnits: LONG/LATD-04 UpLeftX: -5.601451 UpLef

Re: [gdal-dev] Windows builds and wildcard usage for gdaltindex & gdalbuildvrt

2011-02-24 Thread Frank Warmerdam
On 11-02-24 03:22 PM, Armin Burger wrote: Hi all I wanted to use a more recent Windows build than the latest FW Tools which are a bit old now. I used the binaries from http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1310-gdal-1-8-0-mapserver-5-6-6.zip All works fine, just the usage

[gdal-dev] Windows builds and wildcard usage for gdaltindex & gdalbuildvrt

2011-02-24 Thread Armin Burger
Hi all I wanted to use a more recent Windows build than the latest FW Tools which are a bit old now. I used the binaries from http://vbkto.dyndns.org/sdk/PackageList.aspx?file=release-1310-gdal-1-8-0-mapserver-5-6-6.zip All works fine, just the usage of wildcards in tools like gdaltindex or

Re: [gdal-dev] Bug in SetField

2011-02-24 Thread Even Rouault
Le jeudi 24 février 2011 18:17:13, Mohammed Rashad a écrit : > rashadkm@rashad-laptop:~/wt/examples/vrgeo/shp$ ogrinfo -so -al layerff.shp > ERROR 4: Unable to open layerff.shp or layerff.SHP. > Had to open data source read-only. > INFO: Open of `layerff.shp' > using driver `ESRI Shapefile' s

Re: [gdal-dev] Building Java Bindings for use with "apt-get gdal-bin"

2011-02-24 Thread Even Rouault
Le jeudi 24 février 2011 16:51:12, Sam Ritchie a écrit : > Hey all, > > QUICK VERSION: > When I build the java bindings for gdal, what native dependencies do I need > to transfer over to another machine (with an identical install location) to > get them to run? > > LONG VERSION: > I'm working on

Re: [gdal-dev] Re: What is status of RFC23?

2011-02-24 Thread Frank Warmerdam
On 11-02-24 12:10 PM, Mateusz Loskot wrote: Frank, It answers my question. Thanks. The RFC 30 states "GDAL uses UTF-8 encoding internally when working with strings". Does it mean functions like GDALGetDataTypeName are considered to return UTF-8? I understand that in this particular case, there

Re: [gdal-dev] Bug in SetField

2011-02-24 Thread Mohammed Rashad
rashadkm@rashad-laptop:~/wt/examples/vrgeo/shp$ ogrinfo -so -al layerff.shp ERROR 4: Unable to open layerff.shp or layerff.SHP. Had to open data source read-only. INFO: Open of `layerff.shp' using driver `ESRI Shapefile' successful. Layer name: layerff Geometry: Polygon Feature Count: 5 Exte

[gdal-dev] Re: What is status of RFC23?

2011-02-24 Thread Mateusz Loskot
Frank, It answers my question. Thanks. The RFC 30 states "GDAL uses UTF-8 encoding internally when working with strings". Does it mean functions like GDALGetDataTypeName are considered to return UTF-8? I understand that in this particular case, there is no difference between ANSI and UTF8 regard

Re: [gdal-dev] Bug in SetField

2011-02-24 Thread Frank Warmerdam
On 11-02-24 11:56 AM, Mohammed Rashad wrote: my code field - fieldname is of string type and 0th field poFeature->SetField("fieldname","value"); poFeature->GetFieldAsString(0); returns v instead of value; I dont know is it bug or my problem but I opened the shapefile in OpenJUMP and QGIS bo

[gdal-dev] Bug in SetField

2011-02-24 Thread Mohammed Rashad
my code field - fieldname is of string type and 0th field poFeature->SetField("fieldname","value"); poFeature->GetFieldAsString(0); returns v instead of value; I dont know is it bug or my problem but I opened the shapefile in OpenJUMP and QGIS both shows field names as only v instead of value

[gdal-dev] Building Java Bindings for use with "apt-get gdal-bin"

2011-02-24 Thread Sam Ritchie
Hey all, QUICK VERSION: When I build the java bindings for gdal, what native dependencies do I need to transfer over to another machine (with an identical install location) to get them to run? LONG VERSION: I'm working on an application that requires the java bindings for gdal 1.8.0 to be package

Re: [gdal-dev] What is status of RFC23?

2011-02-24 Thread Frank Warmerdam
On 11-02-24 09:05 AM, Mateusz Loskot wrote: Folks, I'm trying to find what's the actual status of the RFC 23 [1] The only reference I got so far is from its header: "Status: Adopted (partially implemented)" and 1.6.0 release notes [2]: "RFC 23: Preliminary support for character set transcodin

Re: [gdal-dev] multipolygon to polygon

2011-02-24 Thread Paolo Corti
On Thu, Feb 24, 2011 at 2:43 PM, Mohammed Rashad wrote: > How to convert mutipolygon to polygon > > my code > string geometry = "MULTIPOLYGON (((76.742484035494002 > 9.949536084104899,76.783465713734998 9.8207365239198,76.818592866512006 > 9.8773302700617,76.842010968363994 9.931972507716001,76.7

Re: [gdal-dev] multipolygon to polygon

2011-02-24 Thread Chaitanya kumar CH
Rashad, If the Polygons in a MultiPolygon can be combined into a single connected polygon, you can use the OGRGeometry::UnionCascaded() function to do this. On Thu, Feb 24, 2011 at 7:13 PM, Mohammed Rashad wrote: > How to convert mutipolygon to polygon > > my code > string geometry = "MULTIPOLY

Re: [gdal-dev] multipolygon to polygon

2011-02-24 Thread Chaitanya kumar CH
Rashad, If the Polygons in a MultiPolygon can be combined into a single connected polygon, you can use the OGRGeometry::UnionCascaded() function to do this. On Thu, Feb 24, 2011 at 7:13 PM, Mohammed Rashad wrote: > How to convert mutipolygon to polygon > > my code > string geometry = "MULTIPOLY

[gdal-dev] What is status of RFC23?

2011-02-24 Thread Mateusz Loskot
Folks, I'm trying to find what's the actual status of the RFC 23 [1] The only reference I got so far is from its header: "Status: Adopted (partially implemented)" and 1.6.0 release notes [2]: "RFC 23: Preliminary support for character set transcoding (in OGR for now)." but what does it mean?

[gdal-dev] multipolygon to polygon

2011-02-24 Thread Mohammed Rashad
How to convert mutipolygon to polygon my code string geometry = "MULTIPOLYGON (((76.742484035494002 9.949536084104899,76.783465713734998 9.8207365239198,76.818592866512006 9.8773302700617,76.842010968363994 9.931972507716001,76.742484035494002 9.949536084104899)))"; char *geom = (char *) geom