0% found this document useful (0 votes)
4 views

qt tasks

The document outlines ten GIS-related tasks, divided into two categories: tasks without a user interface (UI) and tasks with a UI. The tasks include reading and parsing shapefiles, coordinate conversion, CSV to GeoJSON conversion, distance calculation, and batch processing for non-UI tasks; while UI tasks involve creating a map viewer, coordinate plotter, shapefile attribute viewer, layer manager, and a geospatial feature query tool. Each task includes a description and key concepts relevant to its implementation.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views

qt tasks

The document outlines ten GIS-related tasks, divided into two categories: tasks without a user interface (UI) and tasks with a UI. The tasks include reading and parsing shapefiles, coordinate conversion, CSV to GeoJSON conversion, distance calculation, and batch processing for non-UI tasks; while UI tasks involve creating a map viewer, coordinate plotter, shapefile attribute viewer, layer manager, and a geospatial feature query tool. Each task includes a description and key concepts relevant to its implementation.
Copyright
© © All Rights Reserved
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

5 Tasks Without a UI (GIS Related):

1. Read and Parse Shapefile

 Description: Write a program to read a Shapefile (.shp) using the QFile class. Parse the
header to extract metadata like the bounding box, file type, and version. Print the parsed
data to the console.

 Key Concepts: QFile, Shapefile structure, data parsing.

2. Coordinate Conversion (Lat/Lon to UTM)

 Description: Implement a function to convert geographic coordinates from


latitude/longitude to UTM (Universal Transverse Mercator) format. Use the console to input
and output coordinates.

 Key Concepts: Geographic coordinate systems, conversion algorithms, and console I/O.

3. CSV to GeoJSON Converter

 Description: Write a console application that reads geographic coordinates


(latitude/longitude) from a CSV file and converts them into GeoJSON format.

 Key Concepts: File I/O, CSV parsing, GeoJSON format, coordinate handling.

4. Distance Calculation between Points

 Description: Create a program that calculates the geodesic distance between two geographic
coordinates (latitude/longitude) using the Haversine formula. Input the coordinates via the
console.

 Key Concepts: Haversine formula, spherical trigonometry, geographic distance calculation.

5. Batch Processing of Geospatial Data

 Description: Implement a program that reads multiple GIS data files from a directory,
processes each file (e.g., by extracting specific layers or features), and outputs summary
statistics (such as total features or area covered) to the console.

 Key Concepts: File handling, batch processing, data extraction.

5 Tasks With a UI (GIS Related):

1. Map Viewer with Zoom and Pan

 Description: Create a simple map viewer that loads a raster or vector map (e.g., GeoTIFF or
Shapefile) and allows the user to zoom and pan around the map. Implement basic mouse
interaction for navigation.

 Key Concepts: QGraphicsView, QGraphicsScene, raster/vector data rendering, mouse events.

2. Coordinate Plotter

 Description: Develop a UI where users can input geographic coordinates (latitude/longitude)


and plot them as points on a map. Include the option to clear the map or add multiple
points.
 Key Concepts: QGraphicsView, user input forms, coordinate plotting.

3. Shapefile Attribute Viewer

 Description: Implement a UI application that allows users to open a Shapefile and view its
attribute table in a QTableView. Include basic functionality to sort or filter attributes.

 Key Concepts: QFileDialog, QTableView, Shapefile parsing, model-view architecture.

4. Layer Manager

 Description: Create a UI application with a "Layer Manager" where users can add multiple
layers (e.g., Shapefiles, raster layers). Each layer can be toggled on or off, reordered, or
deleted. The map should update based on the active layers.

 Key Concepts: QListWidget, layer management, toggling visibility.

5. Geospatial Feature Query

 Description: Build a UI that allows users to select a region on the map (e.g., by drawing a
rectangle) and query the geospatial features (points, lines, polygons) within that region.
Display the queried results (e.g., feature name, type) in a table.

 Key Concepts: QGraphicsView, drawing tools, spatial querying, QTableView.

You might also like