*
**********************************************************************
* $Log$
+ * Revision 1.65 2004/09/20 17:13:31 strk
+ * changed comments to better show shape type handling
+ *
* Revision 1.64 2004/08/20 08:14:37 strk
* Whole output wrapped in transaction blocks.
* Drops are out of transaction, and multiple transactions are used
else printf(", NULL);\n");
}
- // ---------POLYGONS (2D or 3d) -----------
+ // --------- POLYGON / POLYGONM / POLYGONZ ------
else if(( obj->nSHPType == 5 ) || ( obj->nSHPType == 25 )
|| ( obj->nSHPType == 15) )
{
}
- //--------POINTS--------------
+ //-------- POINT / POINTM --------------
else if( obj->nSHPType == 1 || obj->nSHPType == 21 )
{
else printf(")',%s) );\n",sr_id);
}
- //--------ARCs / LINES-----------------
+ //-------- POLYLINE / POLYLINEM ------------------
else if( obj->nSHPType == 3 || obj->nSHPType == 23 )
{
/*
else printf(")',%s) );\n",sr_id);
}
- //--------MULTIPOINTS------------
+ //-------- MULTIPOINT / MULTIPOINTM ------------
else if( obj->nSHPType == 8 || obj->nSHPType == 28 )
{
if (dump_format) printf("\tSRID=%s;MULTIPOINT(",sr_id);
else printf(")',%s) );\n",sr_id);
}
- //----------POINTZ----------
+ //---------- POINTZ ----------
else if( obj->nSHPType == 11 )
{
if (dump_format) printf("\tSRID=%s;POINT(",sr_id);
}
- //------Linez(3D lines)------
+ //------ POLYLINEZ -----------
else if( obj->nSHPType == 13 )
{
/* Invalid (MULTI)Linestring */
else printf(")',%s));\n",sr_id);
}
- //------MULTIPOINTZ (3D MULTIPOINTS)---
+ //------ MULTIPOINTZ -----------------------
else if( obj->nSHPType == 18 )
{