Skip to content

python

Tips and Tricks #3 improve Machine Learning with multiple inputs from a single image

  • blog

I’m writing a series of irregular short posts on some tips and tricks on using Geospatial Python. They may not be best practice, but I hope they are of help. I’ll try and give some context to when I’ve used the ‘tip’. Using many image processing techniques for input When you are building your machine… Read More »Tips and Tricks #3 improve Machine Learning with multiple inputs from a single image

round life buoy

Tips and Tricks #2 Consider tqdm

  • blog

I’m writing a series of irregular short posts on some tips and tricks on using Geospatial Python. They may not be best practice, but I hope they are of help. I’ll try and give some context to when I’ve used the ‘tip’. Use tqdm as a diagnostic tool to understand your iterables You are going… Read More »Tips and Tricks #2 Consider tqdm

Reducing Shapefile size

  • blog

Quite often I get sent / send shapefiles (zipped up mostly). I wondered if there was any way of reducing the filesize, sometimes these files can get quite big! In this notebook I wanted to run some checks / experiments on whether I could reduce the size of a shapefile. I tried various options, simplifiying… Read More »Reducing Shapefile size

STAC, COG, Python and QGIS

  • blog

I’ve spent a lot of time in the past trying to find satellite data. What the SpatioTemporal Asset Catalog (STAC) does is to build a common specification for how Satellite images (read Assets, they can include other things like drone imagery) are queried and found online. Why should we care about this? Well, for a… Read More »STAC, COG, Python and QGIS

Training data and Satellite data

  • blog

I don’t think I have come across a GitHub repo any code while looking for more resources to add for awesome-eo-code that is related to evaluating training data for Satellite imagery. I have often wondered how someone new to the industry could make their mark. In a sector that has focused a great deal of… Read More »Training data and Satellite data

GeoPandas and PostGIS

  • blog

In late June GeoPandas 0.8 was released. This release has made massive steps in Input/Output (IO). A compelling thing about GeoPandas is its simple way to read a GIS vector dataset (Shapefile, GeoJson etc). It’s one line of code, or two if you include the import statement. import geopandas as gpd gpd.read_file(‘your_shapefile.shp’) Now, with the… Read More »GeoPandas and PostGIS

Python for Geospatial work flows part 4: Updating from Python 3.6 to 3.7 with Anaconda

  • blog

18 months ago I wrote about setting up Anaconda for Python. The post is here I highly recommend using Anaconda. I have now come to a natural break in projects and I want to upgrade my version to Python 3.7 – which is the default version that Anaconda uses (3.7.7 as of the start of… Read More »Python for Geospatial work flows part 4: Updating from Python 3.6 to 3.7 with Anaconda