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 file.

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 ___

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 likely an iterator

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-08 Thread legeochen
little, but to a person, maybe you're the world. -- Original -- *From: * legeochenlegeoc...@gmail.com; *Date: * Fri, Feb 27, 2009 09:47 PM *To: * Gdal-Devgdal-dev@lists.osgeo.org; *Subject: * [gdal-dev] create 25D MultiPolygon how to Hi All I try

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

2009-03-02 Thread legeochen
. -- Original -- *From: * legeochenlegeoc...@gmail.com; *Date: * Fri, Feb 27, 2009 09:47 PM *To: * Gdal-Devgdal-dev@lists.osgeo.org; *Subject: * [gdal-dev] create 25D MultiPolygon how to Hi All I try to create some multipolygons?with OGR.?After creating them

[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.