alei817927 / Shapefile

Simple java library to process shapes from shapefile in multithreading

Home Page:http://www.u396.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Shapefile

Introduction

Simple java library to process shapes from shapefile in multithreading, and it will be create a new shapefile.

Features

Clip

Extracts input features that overlay the clip features.

Use this feature to cut out a piece of one feature class using one or more of the features in another feature class as a "cookie cutter". This is particularly useful for creating a new feature class—also referred to as study area or area of interest (AOI)—that contains a geographic subset of the features in another, larger feature class.

Buffer

Creates buffer polygons around input features to a specified distance. An optional dissolve can be performed to combine overlapping buffers.

Polygon To Line

Creates a feature class containing lines that are converted from polygon boundaries with or without considering neighboring polygons.

Intersect

Computes a geometric intersection of the input features. Features or portions of features which overlap in all layers and/or feature classes will be written to the output feature class.

Usage

Clip

  GeometryManager _manager = new ClipManager(polygonFile, templateFile, resultFile);
  _manager.process();

Buffer

	GeometryManager _manager = new BufferManager(lineFile, resultFile, 10);
	manager.process();

Polygon To Line

	GeometryManager _manager = new AreaToLineManager(polygonFile, resultFile);
	_manager.process();

Intersect

  GeometryManager _manager = new IntersectManager(sourceFile1, sourceFile2, resultFile);
	_manager.process();

About

Simple java library to process shapes from shapefile in multithreading

http://www.u396.com


Languages

Language:Java 100.0%