Permalink
Browse files

Fix NULL type shp creation in tile4ms (#4259)

closes #4259
  • Loading branch information...
1 parent 04a51b4 commit d3ec34402591526f2828bc93b1d484ec06ffa472 @tbonfort tbonfort committed Aug 13, 2013
Showing with 1 addition and 0 deletions.
  1. +1 −0 tile4ms.c
View
@@ -213,6 +213,7 @@ int process_shapefiles(char *metaFileNameP, char *tileFileNameP,
/* create and add shape object. Returns link to entry in DBF file */
/* --------------------------------------------------------------- */
+ shapeRect.type = MS_SHAPE_POLYGON;
msAddLine(&shapeRect, &line);
entityNum = msSHPWriteShape( tileSHP, &shapeRect );

0 comments on commit d3ec344

Please sign in to comment.