Log in

Export all components of given type from manifold map file

by mika 14. July 2011 08:28
You may sometime need to export all the components of given type so they can be used in another GIS environment. Here goes a script that does exactly this. The example exports all the drawings and tables to either shp or xls: using Manifold.Interop.Scripts; using M = Manifold.Interop; class Scr... [More]

Tags: , , ,

c# | GIS | manifold | scripting manifold

Creating a cost surface in Manifold

by mika 22. March 2011 16:43
Recently I have played a bit with manifold to find out how to prepare a cost surface. There are no out of the box tools in manifold to magically create such a surface but a bit of sql does the job. Lets assume we have two components - a surface and a drawing. Surface will be a container for our out... [More]

Tags: ,

manifold | scripting manifold

Cutting image from a bigger raster source

by mika 24. June 2010 21:24
This script has already been posted on the georeference.org (http://forum.manifold.net/forum/t99935.7) so nothing new will be presented... There was one interesting thing though - how to get from a bbox of a geom used by the input drawing to the actual size of the output image in pixels. The script... [More]

Tags: ,

manifold | scripting manifold

Preparing the data description for the metadata docu

by mika 22. June 2010 23:41
Today I had to prepare a description of all the vector drawings I had in a project in a semi tabular form listing a folder, contained drawings and their column, column types and the length of the data in each column. In other words I needed to create a dataset description for the metadata document n... [More]

Tags: , ,

manifold | scripting manifold

Decimal degrees do dd°mm'ss"

by mika 22. June 2010 12:55
A quick task - convert decimal degrees back to dd°mm'ss''. Not sure if there are other ways of doing this in manifold at this stage so an active column did the trick. A script is in c#, so just copy and paste it to the script attached to a table when creating an active column. Then simply put t... [More]

Tags: , ,

GIS | manifold | scripting manifold

footer cartoninjas.net cartomatic.net blogengine.net pgdstudio.pl