Code Monkey home page Code Monkey logo

Ahmad Omar Aburizaiza - Tips For GIS's Projects

arcmap-select-by-attribute icon arcmap-select-by-attribute

# selectByAttribute This Python code creates a Tkinter window that acts as a simplified 'select by attribute' window of ArcMap.

arcpy-backup-shapefiles icon arcpy-backup-shapefiles

This code is for my Youtube video (https://www.youtube.com/watch?v=4hjjPuJR684) where I explain how to backup shapefiles using arcpy and Python.

create-random-1000-coords icon create-random-1000-coords

# create_random_1000_coords A python script which creates 1000 random coords within a certain bounding box using numpy and storing the results into csv using pandas

data-capture icon data-capture

This is a Python module having a class for comuting some basic statistics on a collection of small positive integers.

geojson-to-shpfile icon geojson-to-shpfile

# geoJSONToShpFile This code converts GeoJSON to shape files. Please keep in mind that the current code expects the common geoJSON format with features list. The code will not work if you do not have the features list. The following example is OK since it has a features list with three points. One more important comment, shapefiles can hold only one feature type e.g. points, lines, and polygons. For that, I decided that the code will grab only features similar to the first feature in the list. In geoJSON, you can have different feature types in one feature list, and that does not work with shape files. { "type": "FeatureCollection", "features": [ { "type": "Feature", "properties": {"id": 1, "name": "Indian Ocean" }, "geometry": { "type": "Point", "coordinates": [ 80.15625, -22.91792293614602 ] } }, { "type": "Feature", "properties": {"id": 2, "name": "Atlantic Ocean" }, "geometry": { "type": "Point", "coordinates": [ -37.96875, 17.644022027872726 ] } }, { "type": "Feature", "properties": {"id": 3, "name": "Pacific Ocean" }, "geometry": { "type": "Point", "coordinates": [ -164.1796875, 1.4061088354351594 ] } } ] }

geospatial-footprints icon geospatial-footprints

# geospatial_footprints This code is for my dissertation's focus. The purpose is to geoparse text and creating geospatial footprints based on place names found in text and their spatial orientation. There are 15 different types of geospatial footprints for instance: 1. A footprint for an incedent between two buildings 2. A footprint for an incednet along a road and close to a building 3. A footprint for an incedent on a road segment between two segments There is a sample GeoJSON file for some of the place names in George Mason University, Fairfax campus. You can try the code by using the following Some test messages: 1. curb crack between the fenwick library and the JC building. 2. Steep stairs on the northern side of innovation hall. 3. A maintenance site on sager ave between university dr and east st Technologies used in this code are: Bootstrap, MapBox, and TurfJS

get-random-lines-from-file icon get-random-lines-from-file

# get_random_lines_from_file This Python code snippet prints random lines from a given file, csv or txt for instance.

modify-leaflet-logo icon modify-leaflet-logo

# modifyLeafletLogo This is a simple example I am using to teach a video in my Youtube channel (https://www.youtube.com/watch?v=UqL795_LILk). I am showing how I can modify the logo on a Leaflet map.

psycopg2-gdal-raster-val-to-pnts icon psycopg2-gdal-raster-val-to-pnts

The code assumes you have a proper raster file and a point table in Postgres, and both are in the same projection. The code uploads the raster file into Postgres using the raster2pgsql command. Then it will create a copy table of the point table with an additional column called rast_val. This new column is then updated with pixel values intersecting with the points.

qgis-geocode icon qgis-geocode

In this repository, you can find sample data for my Youtube video about geocoding in QGIS. The video's link is : https://youtu.be/pkKsqRx8MvA

sketch-polygons-tkinter icon sketch-polygons-tkinter

A Python class for sketching polygons on a canvas. The sketched polygons resize when the canvas is resizing.

sql_vs_pandas icon sql_vs_pandas

This repo contains material for my YouTube video comparing SQL and Pandas.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.