Code Monkey home page Code Monkey logo

geoplot-qt's Introduction

GeoPlot

A simple plotting tool with a worldmap, rulers and title using QGraphicsView and QGraphicsSene from Qt.
You could even export the viewport as SVG(testing) and PNG.

Motivation

I was tired of using big bloated vizualizer tools, they are really nice but I just need something simple to plot wind trajectories.

Installation

Just clone and open the project file with QtCreator, have fun!

Usage

The fastest way is just copy these files into your project:

  • GeoGraphicsView.h
  • GeoGraphicsView.cpp
  • GeoScene.h
  • GeoScene.cpp
  • ItemGroup.h
  • ItemGroup.cpp
  • countries.kml
  • states_low.kml

and make sure that you point to the right directory
when loading the kmz files.

// start geo view
GeoGraphicsView *geoview = new GeoGraphicsView(this);

// load kmz files
geoview->loadKmz(":Resources/countries.kml",true);
geoview->loadKmz(":Resources/states_low.kml",false,3.5,1000000,false);

this->setCentralWidget(geoview);

and check the example project to see the details.

Note

Feel free to use it, this is a relative new project and I am still learning Qt and C++.
Any questions email me: jeison.santiago at gmail.com

Screenshots

GeoView example

GeoView example with the border on, so you could export nice figures ;)

License

The MIT License (MIT)

geoplot-qt's People

Contributors

jeisonsantiago avatar

Watchers

James Cloos avatar  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.