Quantcast
Viewing all articles
Browse latest Browse all 2341

Closed Unassigned: SHP_MULTIPOINT shape files are not drawn [24902]

Multipoint shape files are not drawn at all in MapWinGIS (at least in branch 4.8.8). The reason for this is a missing conditional in `ShapefileDrawing.cpp` in line 589:

``` C++
// ------------------------------------------------
// perform drawing
// ------------------------------------------------
if ( _shptype == SHP_POINT )
{
DrawPointCategory(options, indices, drawSelection);
}
```
should be changed to:
``` C++
// ------------------------------------------------
// perform drawing
// ------------------------------------------------
if ( _shptype == SHP_POINT || _shptype == SHP_MULTIPOINT )
{
DrawPointCategory(options, indices, drawSelection);
}
```
Comments: Reviewing it before 4.9.3 beta release: the suggested clause it present in trunk and multipoints are being drawn ok. (In 4.8.8. branch the changes weren't made).

Viewing all articles
Browse latest Browse all 2341

Trending Articles