User Tools

Site Tools


Table of Contents

UDFLayerVector sample

Documentation | Samples | UDFLayerVector


How to add support to a new layer vector file format using User Defined Layer.


This sample illustrates use of:

Name Description
TGIS_LayerVectorUDF.GetShapeGeometryEventGetShapeGeometry event.
TGIS_LayerVectorUDF.GetLayerExtentEventGetLayerExtent event.
TGIS_LayerVectorUDF.GetShapeFieldEventGetShapeField event.
TGIS_LayerVectorUDF.GetLayerStructureEventEvent fired to get layer structure.
TGIS_LayerVectorUDF.LayerMoveFirstEventLayerMoveFirst event.
TGIS_LayerVectorUDF.LayerMoveNextEventLayerMoveNext event.
TGIS_LayerVectorUDF.LayerEofEventLayerEof event.
TGIS_LayerVectorUDF.InMemoryIf True, all shapes will be kept in memory, otherwise will disc-based.
TGIS_BufferedFileStreamBuffered file stream.
TGIS_Stream.ReadLineRead line from text file up to CR.
TGIS_TokenizerA simple tokenizer for parameters line splitting.


This sample is available on following platforms (click to see source code):

2020/05/26 09:38

Page Tools