GithubHelp home page GithubHelp logo

alexgoussev / pointtopolygon Goto Github PK

View Code? Open in Web Editor NEW

This project forked from brunocombal/pointtopolygon

0.0 0.0 0.0 178 KB

Draw polygons (rectangle or hexagons) around points

License: MIT License

Makefile 21.37% Python 66.88% Batchfile 7.38% Shell 4.38%

pointtopolygon's Introduction

Point To Polygon

A QGis plugin to transform a vector file of points into polygons (squares, rectangles or polygons) centered on those points. Optionally, the centroid of an input layer can also be created (the centroids of the features found in the input layer are generated and saved in a shapefile).

The polygons dimension is defined by the padding parameters (for a square, the width is two times the padding value). If the input file is a vector file of lines or polygons, the centroid of the features will be used to center the polygons. The output polygons can be rotated, by changing the rotation angle, 0 means no rotation is applied.

A test data set (a shapefile of points, in EPSG:4326) is provided under sample_data in the plugin directory. Open this file in input, choose a filename for the ouput, then select an output shape (such as square or rectangle or hexagon), then a size (for example, 0.1, as the dimension is in degree for EPSG:4326), then click "OK". If you let the option "Open in QGis" checked, the result will open in QGis.

More details: https://github.com/BrunoCombal/PointToPolygon/wiki/Manual

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.