FortranGIS Version 3.0
shpobject Type Reference

Object describing the geometrical properties of a shape. More...

Public Attributes

type(c_ptr) shpobject_orig =c_null_ptr
 pointer to C information, it should not be used
 
integer nshptype =0
 shape type, one of the shpt_* constants defined
 
integer nshapeid =-1
 shape number (-1 is unknown/unassigned)
 
integer nparts =0
 number of parts (0 implies single part with no info)
 
integer, dimension(:), pointer panpartstart =>NULL()
 starting vertex of each part
 
integer, dimension(:), pointer panparttype =>NULL()
 part type (SHPP_RING if not SHPT_MULTIPATCH)
 
integer nvertices
 number of vertices
 
real(kind=c_double), dimension(:), pointer padfx =>NULL()
 x coordinates of vertices
 
real(kind=c_double), dimension(:), pointer padfy =>NULL()
 y coordinates of vertices
 
real(kind=c_double), dimension(:), pointer padfz =>NULL()
 z coordinates of vertices
 
real(kind=c_double), dimension(:), pointer padfm =>NULL()
 measure of vertices
 
real(kind=c_double) dfxmin =0.0_c_double
 lower bound in x dimension
 
real(kind=c_double) dfymin =0.0_c_double
 lower bound in y dimension
 
real(kind=c_double) dfzmin =0.0_c_double
 lower bound in z dimension
 
real(kind=c_double) dfmmin =0.0_c_double
 lower bound in measure dimension
 
real(kind=c_double) dfxmax =0.0_c_double
 upper bound in x dimension
 
real(kind=c_double) dfymax =0.0_c_double
 upper bound in y dimension
 
real(kind=c_double) dfzmax =0.0_c_double
 upper bound in z dimension
 
real(kind=c_double) dfmmax =0.0_c_double
 upper bound in measure dimension
 

Detailed Description

Object describing the geometrical properties of a shape.

It is used for reading a shape, or for manipulating a newly created shape; in the latter case the single values can be changed, but not the size of the arrays.

Definition at line 95 of file shapelib.F90.