GithubHelp home page GithubHelp logo

nowosad / geopat2 Goto Github PK

View Code? Open in Web Editor NEW
41.0 41.0 6.0 260 KB

GeoPAT 2 - a suite of modules dedicated to analysis of large datasets in their entirety using spatial and/or temporal patterns

Home Page: http://sil.uc.edu/index.php?id=geopat2

License: GNU Lesser General Public License v3.0

Makefile 1.61% C 98.39%
geopat

geopat2's Introduction

Hi, I'm Jakub Nowosad ๐Ÿ‘‹

I'm a computational geographer based in Poznan, Poland. My work focuses on analyzing and understanding spatial patterns, and I enjoy sharing my insights with others.

What I'm up to ๐Ÿ’ป

  • Researching and writing about spatial patterns in my papers and books (check them out here)
  • Creating R packages that make geocomputation easier and more accessible to others (see my projects here)
  • Sharing my thoughts and expertise on my personal blog and the geocompx blog (read them here and here)
  • Providing workshops and consulting services to help others learn about geocomputation and spatial analysis (details here)

Let's connect! ๐Ÿค

I'm always interested in connecting with others who share my passion for geocomputation and spatial analysis. Feel free to reach out to me on Mastodon. You can also learn more about me and my work at jakubnowosad.com.

ko-fi Mastodon Google Scholar YouTube

geopat2's People

Contributors

nowosad avatar robinlovelace avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

geopat2's Issues

Post biogis ideas

  1. Allowing for processing of the data without spatial reference (xy coordinates)
  2. Increasing of the analysed area (aka boundary issue)

[JS]

The number of segments and the dimensions of the distance matrix are different

I have a case where the number of rows of the distance matrix and the number of segments is different:

$ wc -l forms_ni_seg20_matrix_seg.csv
4139 forms_ni_seg20_matrix_seg.csv

vs.

$ ogrinfo -so -al forms_ni_seg20.shp
INFO: Open of `forms_ni_seg20.shp'
      using driver `ESRI Shapefile' successful.

Layer name: forms_ni_seg20
Metadata:
  DBF_DATE_LAST_UPDATE=2018-02-28
Geometry: Polygon
Feature Count: 4821
Extent: (1567218.101930, 5390724.144650) - (2089218.101930, 6194224.144650)
Layer SRS WKT:
PROJCS["Transverse_Mercator",
    GEOGCS["GCS_grs80",
        DATUM["New_Zealand_Geodetic_Datum_2000",
            SPHEROID["GRS_1980",6378137,298.257222101]],
        PRIMEM["Greenwich",0],
        UNIT["Degree",0.017453292519943295]],
    PROJECTION["Transverse_Mercator"],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",173],
    PARAMETER["scale_factor",0.9996],
    PARAMETER["false_easting",1600000],
    PARAMETER["false_northing",10000000],
    UNIT["Meter",1]]
segment_id: Integer64 (11.0)

Of course, once in R, this causes all sort of issues:

> segm$class <- hclust_cut
Error in `[[<-.data.frame`(`*tmp*`, i, value = c(1L, 1L, 2L, 3L, 3L, 3L,  : 
  replacement has 4138 rows, data has 4821

After a bit of work and adding the segments ID from the cut using a proper full join, I do get a map where the segments corresponding to the bottom of the map are missing.

Can't get `gpat_gridhis` to work with more than one layer of categorical data

Using the latest version of geopat2, I can't seem to get the multi-layers mode to work with gpat_gridhis. I've tried to use the command that is briefly mentioned in the manual, and get the following errors:

$ gpat_gridhis -i landcover.tif -i forms.tif -o /tmp/test_gpat_gridhis -s prod -z 25 -f 25 -t 2
gpat_gridhis: excess option -i|--input=forms.tif

$ gpat_gridhis --input=landcover.tif -input=forms.tif -o /tmp/test_gpat_gridhis -s prod  -z 25 -f 25 -t 2
gpat_gridhis: excess option -i|--input=nput=forms.tif

Full decomposition gpat_pointshis

system("gpat_pointshis -i data/geomorph.tif -o data/query_signature.txt -s fdec -z 64 -x 751960.498319564 -y 2096539.09643261")

For full decomposition, size has to be a power of two.

How to avoid "not enough RAM" error on gpat_polygon

I'm getting the following error using gpat_polygon on quite a large dataset:

Calculating statistics... OK
Signature length: 55
Calculating extents of polygons...     Not enough RAM to proceed!

Apart from getting more RAM (already running 32 Go RAM on my machine), is there any way to get around this (tiling ?)

No RAM to proceed

I am running gpat_pointshis on a small raster tif file with this command:

gpat_pointshis -i s5p_no2_20180701T161259_20180707T175356.tif -o query_signature.txt -s cooc -x 17010906 -y -10113438 -z 20

I am getting No RAM to proceed, is this about computer memory ? if yes, am I using bad parameters as this tif file is very small (~3MB).

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.