Skip to content

Commit

Permalink
Merge pull request #6788 from akrherz/ms_shp_point
Browse files Browse the repository at this point in the history
doc: correct MS_SHP to MS_SHAPEFILE
  • Loading branch information
rouault committed Jan 5, 2023
2 parents 27d02c5 + d4a6744 commit 93cb198
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions mapscript/swiginc/shapefile.i
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,8 @@
* Create a new instance. Omit the type argument or use a value of -1 to open
* an existing shapefile.
*
* Type should be one of :data:`MS_SHP_POINT`, :data:`MS_SHP_ARC`,
* :data:`MS_SHP_POLYGON` or :data:`MS_SHP_MULTIPOINT`
* Type should be one of :data:`MS_SHAPEFILE_POINT`, :data:`MS_SHAPEFILE_ARC`,
* :data:`MS_SHAPEFILE_POLYGON` or :data:`MS_SHAPEFILE_MULTIPOINT`
*/
shapefileObj(char *filename, int type=-1)
{
Expand Down
8 changes: 4 additions & 4 deletions mapscript/tcl/mapscript_wrap.html
Original file line number Diff line number Diff line change
Expand Up @@ -1898,19 +1898,19 @@ <H1>mapscript_wrap.c</H1>
<BLOCKQUOTE>[ Member : returns int ]
<BR></BLOCKQUOTE>

<P><TT><B>mapscript::MS_SHP_POINT = 1</B></TT>
<P><TT><B>mapscript::MS_SHAPEFILE_POINT = 1</B></TT>
<BLOCKQUOTE>[ Constant : int ]
<BR></BLOCKQUOTE>

<P><TT><B>mapscript::MS_SHP_ARC = 3</B></TT>
<P><TT><B>mapscript::MS_SHAPEFILE_ARC = 3</B></TT>
<BLOCKQUOTE>[ Constant : int ]
<BR></BLOCKQUOTE>

<P><TT><B>mapscript::MS_SHP_POLYGON = 5</B></TT>
<P><TT><B>mapscript::MS_SHAPEFILE_POLYGON = 5</B></TT>
<BLOCKQUOTE>[ Constant : int ]
<BR></BLOCKQUOTE>

<P><TT><B>mapscript::MS_SHP_MULTIPOINT = 8</B></TT>
<P><TT><B>mapscript::MS_SHAPEFILE_MULTIPOINT = 8</B></TT>
<BLOCKQUOTE>[ Constant : int ]
<BR></BLOCKQUOTE>

Expand Down

0 comments on commit 93cb198

Please sign in to comment.