User Tools

Site Tools


howtos:workwithdata:geographic_data

This is an old revision of the document!


[This should ultimately find its way to the TOOL reference manual but for now here's the signature for importing polygon shapefiles]

You may only use the import tool if your object already has shape. The current signature for the create tool follows (we have plans to go to the dataFormat= & fileFormat= parameters). If you really are importing, then ignore the object, space and names parameters.

a[] = create (; object=polygon, space=2, names=N, \
    format=shape, dataFile=fileName, {invertX=on/off},{ invertY=on/off})

The invert parameters are optional and default to off.

howtos/workwithdata/geographic_data.1258035480.txt.gz · Last modified: 2009/11/12 14:18 by marcus.williams