Geoprocessing tools

<< Click to display Table of content >>

Navigation:  Standard functions > Overlays >

Geoprocessing tools

Previous pageBack to chapterNext page

Geoprocessing tools

These tools that allow MithraSIG to offer you the best geospatial tools are numerous and process vector and raster data. Here we will chain a series of specific operations in order to show you how to use these tools. We will not go into an exhaustive description of all the tools here.

Our goal is to create a 5 m buffer of the centroid of roads for example.

In the road table view, create a new attribute "POINT_CENTRE" and fill it with the following formula:

 

ST_AsText(ST_GeomFromText(" POINT (" + str(_midpointx#) +" "+ str(_midpointy#) +" " +  str(_midpointz#) + "), EPSG:2154" ))

 

This formula has the effect of creating the centroid of an entity in WKT ("well known text") format

 

Standard_point_centre

 

Let's transform this attribute information into geometry:

 

By opening the geoprocessing utility to the "Construction" tab:

 

Standard_create_from_wkt

 

Then by indicating the column containing the WKT:

 

Standard_WKT_Op

 

Let's continue with the construction of the 5 m buffer:

 

Standard_geotraitement_buffer

 

We can see that the operations are cumulative. Here is the result:

 

Standard_Geotraitement_resultat

 

Please note that the buffer retrieves the attributes of the road of which it is the center. This attribute transfer did not exist in previous versions of the buffer tool.