New answers tagged python
0
votes
Accepted
PDAL: open stream for ' ' with error 'No error'
Try either:
pdal pipeline ground_filter.json --readers.las.filename=e407n5799_moe_2020nov01_mpts-c3_v10cm_ahd-mga55.las --writers.las.filename=output.las
Or:
pdal translate --json ground_filter.json ...
0
votes
Python imshow will not overlay -- only display last line's map
You can create a masked array of the array you want to plot on top of the other. Values that are masked will be transparent.
import rasterio
import matplotlib.pyplot as plt
import numpy as np
...
2
votes
Getting Geodesic Area of GDAL polygon in C
Use OGR_G_AssignSpatialReference(OGRGeometryH, OGRSpatialReferenceH) per comments by @user30184 and @Andrea_Giudiceandrea.
1
vote
Accepted
Unable to download any product from Copernicus using EODAG and its cop_dataspace provider
Answer from the discussion section on GitHub (see here):
Apparently I had multiple errors in my code. In regards to the credentials the quotation marks lead to incorrect parsing (albeit the error ...
2
votes
Finding out coordinate system in shapefile for PyProj
I figured it out.
I needed to specify the projection correctly which in my case it should have been cylindrical.
So, this part
mapargs={
"llcrnrlon" :-180 ,
"urcrnrlon" : 180 ,
&...
2
votes
Finding out coordinate system in shapefile for PyProj
You can read the text from the .prj file and create a CRS object to make a transformer with. Here's reading it and making a transformer to EPSG:27700:
crstext = open("./...
2
votes
Accepted
Getting projection name from CRS object with PyProj
I'm not sure what you mean by "When I use pyproj to make an ERMapper raster in EPSG 7853". You can't use pyproj to create an ER Mapper raster. As well as Hexagon Geospatial products (makers ...
Top 50 recent answers are included
Related Tags
python × 12256qgis × 2348
gdal × 1901
geopandas × 1207
pyqgis × 1107
arcpy × 1065
raster × 842
arcgis-desktop × 787
shapely × 697
rasterio × 622
shapefile × 618
coordinate-system × 615
ogr × 445
geotiff-tiff × 348
postgis × 335
qgis-plugins × 322
polygon × 312
numpy × 269
arcgis-10.0 × 250
geojson × 232
fiona × 219
arcmap × 213
arcgis-10.1 × 207
google-earth-engine × 204
geometry × 204