New answers tagged

0

In QGIS, right-click on a layer with geometry and go in Properties. There, click on the Joins tab on the left (it looks like an arrow with a dot). Then click on + and chose the layers and fields on which you want to do the Join.


1

There is a workaround that can solve your problem. You can create a new dataset (in CartoDB, Excel or another spreedsheet software) with the same number of rows (19), add the extra columns with the values you need. And then merge the region_polygons dataset with this new dataset. Here you have a tutorial about how to merge two datasets.


2

A simple function can do that for you. Here's how: allKmlLayers <- function(kmlfile){ lyr <- ogrListLayers(kmlfile) mykml <- list() for (i in 1:length(lyr)) { mykml[i] <- readOGR(kmlfile,lyr[i]) } names(mykml) <- lyr return(mykml) } use it with: kmlfile <- "se\\file.KML" mykml <- allKmlLayers(kmlfile)


0

How have you installed rasterstats ? The function is defined in the main.py file of the module def raster_stats(*args, **kwargs): """Deprecated. Use zonal_stats instead.""" warnings.warn("'raster_stats' is an alias to 'zonal_stats'"" and will disappear in 1.0", DeprecationWarning) return zonal_stats(*args, **kwargs) Therefore, if you can ...


2

Point Distance - arcpy.PointDistance_analysis (in_features, near_features, out_table, {search_radius})


0

If you you need to import a LAZ/LAS point cloud into AutoCAD you should check out the LAStoDXFPointCloud tool found at http://lidarwidgets.com It can work on a single file or batch convert an entire folder of LIDAR files (binary compressed or uncompressed) to DXF point clouds. If you need a true 3D vector model of the terrain surface, there's another tool ...


-1

I had the same problem but moved data over to Open Office and converted to CSV from OO. Then no problem


1

Using AutoCAD Map 3D 2015 You need to create an index file for the .las file with coordinate system set. You might need to switch from 2D to 3D mode to have the .las rendered This styled using the elevation style


2

Have you tried using Notepad as an in-between-step? After creating your excel file, copy everything in a notepad file, then choose "save as". Make sure that you change the type of file as "All files", then the name of your file must be prompted like "name.csv". (you must use " " for the filename) EDIT: yes, if you copy directly from Excel the data ...


1

I would take OGR (ogr2ogr) and set the layer creation option COLUMN_TYPES: -lco COLUMN_TYPES field1=INTEGER,field1=FLOAT8. That's another layer creation option as Mike T suggested above. In general, I would consider switching to GeoPackage since Shapefiles are deprecated and have deficiencies like field names limited to 10 chars.


4

The number width/precision is specified in the DBF file, as support by GDAL/OGR with get/set width/precision (i.e. see API). Looking at the documentation for the PostgreSQL / PostGIS driver, there is a PRECISION layer creation option: This may be "YES" to force new fields created on this layer to try and represent the width and precision information, if ...



Top 50 recent answers are included