Giter Club home page Giter Club logo

coastalplain / mala-gpr Goto Github PK

View Code? Open in Web Editor NEW
2.0 1.0 0.0 36 KB

MALA GPR systems collect great data and integrate a GPS signal with the data if you desire. Often the GPS elevation is not to standard, and attaching a good Lidar elevation from a TIF or other dataset is desirable. The initial MALA-GPR project focuses on creating ArcGIS shapefiles (maybe file geodatabases in the future?) from the COR file created with the GPR, using that shapefile to extract lidar elevation data from the point, and push that back to the original COR file where the position and elevation data are kept. Future work may involve reading and processing the actual GPR radargram, but that is currently beyond my capabilities. Please add on!

mala-gpr's Introduction

MALA-GPR

MALA GPR Coordinate File to Shapefile (R script)

The files in the repository are not the responsiblity of MALA, but they are welcome to use them and make them better! MALA GPR systems collect great data and integrate a GPS signal with the data if you desire. Often the GPS elevation is not to standard (unless you are using an RTK), and attaching a good Lidar elevation from a TIF or other dataset is desirable.

The initial MALA-GPR project focuses on creating ArcGIS shapefiles (maybe file geodatabases in the future?) from the COR file created with the GPR, using that shapefile to extract lidar elevation data from the point, and push that back to the original COR file where the position and elevation data are kept. Future work may involve reading and processing the actual GPR radargram, but that is currently beyond my capabilities. Please add on!

Libraries and packages to install

abind gdalUtils maptools marmap (not really) raster rgdal rgeos shapefiles sp ....at least the ones I know of..there may be others

Complete

  1. DAT_nnnn.cor file to shapefile is complete. The script searches all directory structures below your set work directory setwd() and creates a shapefile for each .cor file found in the same location as the .cor file. At the end of the script, it produces a shapefile will all of the files processed in that run

Next Steps
2. Extract good elevation data from GeoTIFF a. pull the latitude,longitude pairs from the corData (if using R only) or the shapefile (if in ArcGIS py) b. convert the WGS-1984 projection to the projection of the dataset (set variable at top of file) c. extract the Z and convert to meters if necessary from the point intersect with the GeoTIFF c2. despike the profile to eliminate errors (smooth?) d. replace the Z value in the corData dataframe e. copy the original .cor file to .cor.old f. export the columns from the corData to the new-and-improved DAT_nnnn.cor (in the right directory) (may be possible/efficient/necessary to do this step prior to Shapefile creation)

  1. Create a GUI that allows for variables to be set a. browse to top directory structure (parent.folder) b. choose the projection of the original DAT_nnnn.cor file (I have only seen LL from gps here, but it may exist) c. choose the geoTIFF with the elevation data d. choose the projection of the geoTIFF (usually UTM-17 WGS-1984 for me) e. choose the output location for the final geodatabase (that has the new Z value, too)

  2. Make maps for each process a. select a specific map background from existing packages b. plot by unique fileID c. Choose output format (pdf, png, jpeg, tif) d. Choose output size

mala-gpr's People

Contributors

coastalplain avatar

Stargazers

Ian Moffat avatar  avatar

Watchers

 avatar

mala-gpr's Issues

Existing Shapefiles Kill Process

If you run this twice, you have to make sure to remove all shapefile files from the directory structure. If not, the script will fail.

I need to use a Delete command prior to creation of the shapefile.

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.