This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
howtos:workwithdata:geographic_data [2009/11/12 14:18] marcus.williams created |
howtos:workwithdata:geographic_data [2009/11/12 15:56] (current) marcus.williams |
||
---|---|---|---|
Line 4: | Line 4: | ||
<code> | <code> | ||
- | a[] = create (; object=polygon, space=2, names=N, \ | + | a[] = create (; object=poly, space=2, names=N, \ |
format=shape, dataFile=fileName, {invertX=on/off},{ invertY=on/off}) | format=shape, dataFile=fileName, {invertX=on/off},{ invertY=on/off}) | ||
</code> | </code> | ||
Line 10: | Line 10: | ||
The invert parameters are optional and default to off. | The invert parameters are optional and default to off. | ||
+ | Note that to import shapefiles both the .shp and .shx files are required in the import directory, even though only the .shp file is specified in the //datafile// parameter. |