Tutorials/Post - Remote Sensing, GIS, Earth System, Geo-AI/ML

Tag: python

Convert the GPS waypoints to Shapefile

In this document, I will convert the GPS way-points (with photo-link, name, latitude, longitude) into shapefile using arcpy and python modules. Find the example gpx file from this link. Use the following example code and modify according to your need. The photos are in the same folder as the gpx file.… CONTINUE READING

Removing the whitespace from the GeoJSON file

GeoJSON is great! It can be used in the web maps, can be used as a data exchange format especially with Web Feature Service (WFS) and much more. However, sometimes the white space in the GeoJSON file can add up to the size of the file, as a result of which it becomes slower in … CONTINUE READING

Adding and Updating attribute to a shapefile using ArcPy

In this tutorial, we will be adding the attribute to the shapefile and updating its value using ArcPy. You need to have ArcGIS installed in order to use ArcPy. This script has been tested with ArcGIS Version 10.6 but should work with most versions.

Go ahead and download the data from here. This data … CONTINUE READING

Batch zipping your shapefiles with Python

In this tutorial, we are going to write a simple script to zip your shapefiles so you can upload them to Google Earth Engine (GEE). If you are following along, refer to this post, you can see that GEE takes in certain kind of files in for it to be valid shapefile. Alternatively, you … CONTINUE READING

Hosting Django for Production in the Ubuntu server

 

Update system

Install Admin Tools

Git

Install Python and environment

Postgres Installation and settings

Creating the database and user

    • Switch to superuser postgres by
    • Create user for the tool by
    • Now create database as
    • Logout from the postgres user

Now create a virtual env for the jrcfloodtool

Workon the virtual env we just created

CONTINUE READING

Powered by WordPress & Theme by Anders Norén