Download Manifold Script / .NET / XML Examples

Transcript
Import / Export
Import Surfaces, Set Surface Projections, then Merge to One Surface
IMPORTANT NOTE FROM KlausDE on GeoReference May 18, 2006:
6.5->7.0: new CoordinateParameterSet
KlausDE at 5/18/2006 5:33 AM (#21328)
With Manifold 7.0 the structure of the CoordinateSystemParameterSet has changed.
The Index of Parameters is shifted and that results in mdsumner's nice script to "Set Current
Projection" to fail. We have to adjust the script to:
localScaleX = params(9)
localScaleY = params(11)
localOffsetX = params(13)
localOffsetY = params(15)
(reading and writing a few lines later)
or explicitly change to
localScaleX = params(params.ItemByName("localScaleX")) ...
FOLLOWUP NOTE FROM ADAM
adamw at 5/18/2006 9:02 PM (#21357)
I suggest using the second variation, possibly simplified to:
'VBScript
localScaleX = params("localScaleX")
Names are much more robust than indices. There is still no guarantee that the names will not
change between versions, but they are much less likely to change than indices.
Surfaces - Import, Projection, Merging, scripting
12/09/2003 10:13 PM
http://www.georeference.org/Forums/tabid/71/forumid/7/postid/477/view/topic/Default.aspx
Hello, there's been various discussions regarding automation and performance with surfaces in
Manifold lately, so I just thought I'd relate a happy story regarding something just done on a
Dell P4, 2.60GHz with 1.0 Gb RAM
Windows XP Pro 2002, SP1
Manifold 5.50 Pro SP2
The scripts used are provided and discussed below
146