Code Monkey home page Code Monkey logo

warrendz / widthify-points Goto Github PK

View Code? Open in Web Editor NEW
4.0 0.0 0.0 21 KB

This tool generates polygon features from a dataset of ordered points such as GPS track logs. The create polygons span the distance between a point and the proceeding point. In addition, these polygons are scaled in varying width based on a selected attribute value of the input points. The resulting geometry of the polygons visualizes the changes in the selected attribute value over the course of the track dataset.

License: GNU General Public License v3.0

Python 100.00%

widthify-points's Introduction

Widthify-Points

This tool generates polygon features from a dataset of ordered points such as GPS track logs. The create polygons span the distance between a point and the proceeding point. In addition, these polygons are scaled in varying width based on a selected attribute value of the input points.The resulting geometry of the polygons visualizes the changes in the selected attribute value over the course of the track dataset.

Parameters:

Source_Points

The input dataset containing ordered data points. These could be GPS tracks or any other data provided it is order and has some attribute value that could be used to scale the polygon width. *At this point the input points must be sorted prior to the script consuming the dataset.

Attribute_Parameter

The selected attribute to be used for visualization. This attribute will be used to scale the width of the polygons.

Secondary_Parameter

The selected attribute to be used for visualization. This attribute will be used to scale the width of the polygons.

Number_of_Breaks

The number of breaks determines how the primary attribute will be classified in the output. The tool will assess the existing range of values within the input data and create and equal interval class breaks based on the number of selected breaks. *Further development could potentially yield a greater range of classification options.

Minimum_width

The minimum width sets the polygon width for the lowest data class. This will dictate the width of the most narrow polygon within the output. *I use the pointFromAngleAnDistance method on the Point Geometry to achieve the offset distance. I'm not sure what units the offset is performed in but from my experience it reverts to the unit of the spatial reference.

Maximum_width

The maximum width sets the polygon width for the highest data class. This will dictate the width of the widest polygon within the output. *I use the pointFromAngleAnDistance method on the Point Geometry to achieve the offset distance. I'm not sure what units the offset is performed in but from my experience it reverts to the unit of the spatial reference.

Output_polygons

The output polygon feature class.

widthify-points's People

Contributors

warrendz avatar

Stargazers

Yuri Martins avatar  avatar Jonny Dawe avatar Gavin Rehkemper avatar

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.