NumPy, R stats, and QGIS
48 views | +0 today
Follow
Your new post is loading...
Your new post is loading...
Rescooped by Lillian Pierson, EI (LION) from ArcPY - Python
Scoop.it!

Building feature classes from NumPy arrays

Building feature classes from NumPy arrays | NumPy, R stats, and QGIS | Scoop.it
With ArcGIS 10.1, a NumPy array can be easily converted into a point feature class using the arcpy.da.NumPyArrayToFeatureClass function.

 

Notable is that other geometry types such as Polygon, Polyline or Multipoint are not supported by NumPyArrayToFeatureClass. However, all the tools needed to create other geometry types from NumPy are there. The numpy_array_to_features function below combines the new arcpy.da.InsertCursor and NumPy methods to turn a NumPy array into features.......


Via Elpidio I F Filho
more...
No comment yet.
Scooped by Lillian Pierson, EI (LION)
Scoop.it!

Creating a QGIS-Style (qml-file) with an R-Script | (R news & tutorials)

Creating a QGIS-Style (qml-file) with an R-Script | (R news & tutorials) | NumPy, R stats, and QGIS | Scoop.it
How to get from a txt-file with short names and labels to a QGIS-Style (qml-file)? I used the below R-script to create a style for this legend table where I copy-pasted the parts I needed to a txt-file, like for the WRB-FULL ...
more...
No comment yet.