-
Notifications
You must be signed in to change notification settings - Fork 1
Arc to grid
mtbeek32 edited this page Dec 5, 2023
·
19 revisions
Configuration examples Arc to grid
This example is used to make a grid representation of an arc, see the figure
unit<uint16> earthquake : StorageName = "%SourceDataDir%/physics/earthquakes.shp" , StorageType = "gdal.vect" , StorageReadOnly = "True" { attribute<LatLong> geometry (polygon); // LatLong must be the coordinate system unit attribute<int32> zone; // HeatOption must be an attribute in the dbf file accompanying the shp file } attribute<earthquake> earthquake_rel (gtopo) := poly2grid(earthquake/geometry, gtopo); // gtopo must be the grid domain unit referring to the LatLong coordinate system unit attribute<int32> zone (gtopo) := earthquake/zone[earthquake_rel];
GeoDMS ©Object Vision BV. Source code distributed under GNU GPL-3. Documentation distributed under CC BY-SA 4.0.