Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread legeochen
Mateusz Loskot Thanks!! I'll keep this in mind. It's really important to good performance. 2009/3/29 Joaquim Luis > Thankx > > I'll keep this in mind if I ever one day start practicing C++ > For the time being, only good old C. > > Joaquim > > Joaquim Luis wrote: >> >>> Mateusz Loskot wrote: >>

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread Mateusz Loskot
Joaquim Luis wrote: > Thankx > > I'll keep this in mind if I ever one day start practicing C++ For the > time being, only good old C. You are welcome. Simply, best thing is to always use pre-increment, regardless if working with pointers, integers or iterators. Then there is no need to remember

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread Joaquim Luis
Thankx I'll keep this in mind if I ever one day start practicing C++ For the time being, only good old C. Joaquim Joaquim Luis wrote: Mateusz Loskot wrote: for(Roadway::RoadWayArray::iterator itrw = _roadwayArr.begin(); itrw != _roadwayArr.end();itrw++) ++itrw; if you care about performa

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread Mateusz Loskot
Joaquim Luis wrote: > Mateusz Loskot wrote: > >>> for(Roadway::RoadWayArray::iterator itrw = _roadwayArr.begin(); itrw != >>> _roadwayArr.end();itrw++) >> >> ++itrw; >> >> if you care about performance. > > Mateusz, > > Just curious. Why should that impact on performance? The itrw here is most

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread Joaquim Luis
Mateusz Loskot wrote: for(Roadway::RoadWayArray::iterator itrw = _roadwayArr.begin(); itrw != _roadwayArr.end();itrw++) ++itrw; if you care about performance. Mateusz, Just curious. Why should that impact on performance? Joaquim Luis ___ gdal-d

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-28 Thread Mateusz Loskot
legeochen wrote: > Hi All > I try to create some multipolygons with OGR. After creating them, but > when I want view them in arcscene, it just make arcscene crash! Then I > tried osgviewer with ESRI Shapefile, I was warned: > ESRIShape loader: .dbf file containe different record number that .shp >

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-08 Thread legeochen
;> printf( "Creating Name field failed.\n" ); >> exit( 1 ); >> } >> >> Xuexia Chen >> -- >> To the world you're little, but to a person, maybe you're the world. >> >> >> >> >> --

Re: [gdal-dev] create 25D MultiPolygon how to

2009-03-02 Thread legeochen
en > -- > To the world you're little, but to a person, maybe you're the world. > > > > > -- Original ------ > *From: * "legeochen"; > *Date: * Fri, Feb 27, 2009 09:47 PM > *To: * "Gdal-Dev"; >

[gdal-dev] create 25D MultiPolygon how to

2009-02-27 Thread legeochen
Hi All I try to create some multipolygons with OGR. After creating them, but when I want view them in arcscene, it just make arcscene crash! Then I tried osgviewer with ESRI Shapefile, I was warned: ESRIShape loader: .dbf file containe different record number that .shp file.